Standardize usage of period in UI sentences

This commit is contained in:
miruka 2019-12-04 09:32:07 -04:00
parent 915c96f174
commit 470b031a6f
7 changed files with 8 additions and 8 deletions

View File

@ -59,7 +59,7 @@
- UI - UI
- Make theme error/etc text colors more like name colors - Make theme error/etc text colors more like name colors
- Standardize usage of punctuation - In account settings, display name field text should be colored
- Way to open context menus without a right mouse button - Way to open context menus without a right mouse button
- `smartVerticalFlick()` gradual acceleration - `smartVerticalFlick()` gradual acceleration

View File

@ -13,7 +13,7 @@ Banner {
avatar.displayName: inviterName avatar.displayName: inviterName
avatar.mxc: inviterAvatar avatar.mxc: inviterAvatar
labelText: qsTr("%1 invited you to this room.").arg( labelText: qsTr("%1 invited you to this room").arg(
Utils.coloredNameHtml(inviterName, inviterId) Utils.coloredNameHtml(inviterName, inviterId)
) )

View File

@ -9,7 +9,7 @@ Banner {
avatar.userId: chatPage.userId avatar.userId: chatPage.userId
avatar.displayName: chatPage.userInfo.display_name avatar.displayName: chatPage.userInfo.display_name
avatar.mxc: chatPage.userInfo.avatar_url avatar.mxc: chatPage.userInfo.avatar_url
labelText: qsTr("You are not part of this room anymore.") labelText: qsTr("You are not part of this room anymore")
buttonModel: [ buttonModel: [
{ {

View File

@ -7,7 +7,7 @@ Banner {
avatar.visible: false avatar.visible: false
icon.svgName: "unknown-devices-warning" icon.svgName: "unknown-devices-warning"
labelText: "Unknown devices are present in this encrypted room." labelText: qsTr("Unknown devices are present in this encrypted room")
buttonModel: [ buttonModel: [
{ {

View File

@ -177,7 +177,7 @@ Rectangle {
} }
HNoticePage { HNoticePage {
text: qsTr("No messages to show yet.") text: qsTr("No messages to show yet")
visible: eventList.model.count < 1 visible: eventList.model.count < 1
anchors.fill: parent anchors.fill: parent

View File

@ -33,10 +33,10 @@ HBox {
let txt = qsTr("Unknown error - %1: %2").arg(type).arg(args) let txt = qsTr("Unknown error - %1: %2").arg(type).arg(args)
if (type === "InvalidUserInContext") if (type === "InvalidUserInContext")
txt = qsTr("You cannot invite yourself!") txt = qsTr("You can't invite yourself!")
if (type === "UserNotFound") if (type === "UserNotFound")
txt = qsTr("This user does not exist.") txt = qsTr("This user does not exist")
errorMessage.text = txt errorMessage.text = txt
}) })

View File

@ -1,5 +1,5 @@
import "../Base" import "../Base"
HNoticePage { HNoticePage {
text: qsTr("Add or select a room to start.") text: qsTr("No chat selected")
} }