text:qsTr("Encryption keeps your messages safe by only allowing the people you sent the message to to read it. For extra security, if you want to make sure you are talking to the right people, you can verify them in real life.")
text:qsTr("Please verify the following digits. You should see the same numbers on both sides. If they differ, please press 'They do not match!' to abort verification!")
Layout.preferredWidth:400
color:palette.text
text:qsTr("Please verify the following digits. You should see the same numbers on both sides. If they differ, please press 'They do not match!' to abort verification!")
text:qsTr("Please verify the following emoji. You should see the same emoji on both sides. If they differ, please press 'They do not match!' to abort verification!")
Layout.preferredWidth:400
color:palette.text
text:qsTr("Please verify the following emoji. You should see the same emoji on both sides. If they differ, please press 'They do not match!' to abort verification!")
verticalAlignment:Text.AlignVCenter
wrapMode:Text.Wrap
}
Item{
Layout.fillHeight:true
}
Item{Layout.fillHeight:true;}
RowLayout{
id: emojis
@ -370,58 +371,52 @@ ColumnLayout {
Label{
//height:font.pixelSize*2
Layout.alignment:Qt.AlignHCenter
text:col.emoji.emoji
font.pixelSize:Qt.application.font.pixelSize*2
font.family:Settings.emojiFont
color:palette.text
font.family:Settings.emojiFont
font.pixelSize:Qt.application.font.pixelSize*2
text:col.emoji.emoji
}
Label{
Layout.alignment:Qt.AlignHCenter|Qt.AlignBottom
text:col.emoji.description
color:palette.text
text:col.emoji.description
}
}
}
}
}
Item{Layout.fillHeight:true;}
Item{
Layout.fillHeight:true
}
Label{
Layout.preferredWidth:400
Layout.fillWidth:true
wrapMode:Text.Wrap
text:qsTr("The displayed emoji might look different in different clients if a different font is used. Similarly they might be translated into different languages. Nonetheless they should depict one of 64 different objects or animals. For example a lion and a cat are different, but a cat is the same even if one client just shows a cat face, while another client shows a full cat body.")
Layout.preferredWidth:400
color:palette.text
text:qsTr("The displayed emoji might look different in different clients if a different font is used. Similarly they might be translated into different languages. Nonetheless they should depict one of 64 different objects or animals. For example a lion and a cat are different, but a cat is the same even if one client just shows a cat face, while another client shows a full cat body.")
text:qsTr("List of aliases to this room. Usually you can only add aliases on your server. You can have one canonical alias and many alternate aliases.")
text:qsTr("List of aliases to this room. Usually you can only add aliases on your server. You can have one canonical alias and many alternate aliases.")
text:summary.isKnockOnly?qsTr("This room can't be joined directly. You can, however, knock on the room and room members can accept or decline this join request. You can additionally provide a reason for them to let you in below:"):qsTr("Do you want to join this room? You can optionally add a reason below:")
color:palette.text
Layout.fillWidth:true
color:palette.text
font.bold:true
horizontalAlignment:Text.AlignHCenter
text:summary.isKnockOnly?qsTr("This room can't be joined directly. You can, however, knock on the room and room members can accept or decline this join request. You can additionally provide a reason for them to let you in below:"):qsTr("Do you want to join this room? You can optionally add a reason below:")
returnqsTr("You can configure when your messages will be deleted in %1. This only happens when Nheko is open and has permissions to delete messages until Matrix servers support this feature natively. In general 0 means disable.").arg(roomName);
}
else{
}else{
returnqsTr("You can configure when your messages will be deleted in all rooms unless configured otherwise. This only happens when Nheko is open and has permissions to delete messages until Matrix servers support this feature natively. In general 0 means disable.");
ToolTip.text:qsTr("If this is turned on, old state events also get redacted. The latest state event of any type+key combination is excluded from redaction to not remove the room name and similar state by accident.")
text:qsTr("Be careful when editing permissions. You can't lower the permissions of people with a same or higher level than you. Be careful when promoting others.")
text:qsTr("Be careful when editing permissions. You can't lower the permissions of people with a same or higher level than you. Be careful when promoting others.")
}
TabBar{
id: bar
Layout.preferredWidth:parent.width
NhekoTabButton{
@ -57,95 +73,95 @@ ApplicationWindow {
}
}
Rectangle{
Layout.fillWidth:true
Layout.fillHeight:true
color:palette.alternateBase
border.width:1
Layout.fillWidth:true
border.color:Nheko.theme.separator
border.width:1
color:palette.alternateBase
StackLayout{
anchors.fill:parent
anchors.margins:Nheko.paddingMedium
currentIndex:bar.currentIndex
ColumnLayout{
spacing:Nheko.paddingMedium
MatrixText{
text:qsTr("Move permissions between roles to change them")
text:qsTr("This message you are reporting will be sent to your server administrator for review. Please note that not all server administrators review reported content. You should also ask a room moderator to remove the content if necessary.")
ToolTip.text:qsTr("How much of the history is visible to joined members. Changing this won't affect the visibility of already sent messages. It only applies to new messages.")
ToolTip.text:qsTr("Your login name. A mxid should start with @ followed by the user ID. After the user ID you need to include your server name after a :.\nYou can also put your homeserver address there if your server doesn't support .well-known lookup.\nExample: @user:yourserver.example.com\nIf Nheko fails to discover your homeserver, it will show you a field to enter the server manually.")
ToolTip.text:qsTr("Your login name. A mxid should start with @ followed by the user ID. After the user ID you need to include your server name after a :.\nYou can also put your homeserver address there if your server doesn't support .well-known lookup.\nExample: @user:yourserver.example.com\nIf Nheko fails to discover your homeserver, it will show you a field to enter the server manually.")
Keys.forwardTo:[pwBtn,ssoRepeater]
onEditingFinished:login.mxid=text
}
Spinner{
Layout.preferredHeight:matrixIdLabel.height/2
Layout.alignment:Qt.AlignBottom
visible:running
running:login.lookingUpHs
Layout.preferredHeight:matrixIdLabel.height/2
foreground:palette.mid
running:login.lookingUpHs
visible:running
}
}
MatrixText{
Layout.fillWidth:true
textFormat:Text.PlainText
color:Nheko.theme.error
text:login.mxidError
textFormat:Text.PlainText
visible:text
wrapMode:TextEdit.Wrap
}
MatrixTextField{
id: passwordLabel
Keys.forwardTo:[pwBtn,ssoRepeater]
Layout.fillWidth:true
label:qsTr("Password")
echoMode:TextInput.Password
ToolTip.text:qsTr("Your password.")
echoMode:TextInput.Password
label:qsTr("Password")
visible:login.passwordSupported
Keys.forwardTo:[pwBtn,ssoRepeater]
}
MatrixTextField{
id: deviceNameLabel
Keys.forwardTo:[pwBtn,ssoRepeater]
Layout.fillWidth:true
ToolTip.text:qsTr("A name for this device which will be shown to others when verifying your devices. If nothing is provided, a default is used.")
label:qsTr("Device name")
placeholderText:login.initialDeviceName()
ToolTip.text:qsTr("A name for this device which will be shown to others when verifying your devices. If nothing is provided, a default is used.")
Keys.forwardTo:[pwBtn,ssoRepeater]
}
MatrixTextField{
id: hsLabel
enabled:visible
visible:login.homeserverNeeded
Keys.forwardTo:[pwBtn,ssoRepeater]
Layout.fillWidth:true
ToolTip.text:qsTr("The address that can be used to contact your homeserver's client API.\nExample: https://yourserver.example.com:8787")
ToolTip.text:qsTr("A server that allows registration. Since matrix is decentralized, you need to first find a server you can register on or host your own.")
label:qsTr("Homeserver")
placeholderText:qsTr("your.server")
onEditingFinished:regis.setServer(text)
ToolTip.text:qsTr("A server that allows registration. Since matrix is decentralized, you need to first find a server you can register on or host your own.")
onEditingFinished:regis.setServer(text)
}
Spinner{
Layout.preferredHeight:hsLabel.height/2
Layout.alignment:Qt.AlignBottom
visible:running
running:regis.lookingUpHs
Layout.preferredHeight:hsLabel.height/2
foreground:palette.mid
running:regis.lookingUpHs
visible:running
}
}
MatrixText{
Layout.fillWidth:true
textFormat:Text.PlainText
color:Nheko.theme.error
text:regis.hsError
textFormat:Text.PlainText
visible:text
wrapMode:TextEdit.Wrap
}
RowLayout{
Layout.fillWidth:true
spacing:Nheko.paddingLarge
visible:regis.supported
Layout.fillWidth:true
MatrixTextField{
id: usernameLabel
Layout.fillWidth:true
label:qsTr("Username")
ToolTip.text:qsTr("The username must not be empty, and must contain only the characters a-z, 0-9, ., _, =, -, and /.")