mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Various grammar fixes (mostly removing commas)
This commit is contained in:
parent
e78d107558
commit
df834ffc48
13 changed files with 18 additions and 18 deletions
|
@ -431,7 +431,7 @@ Pane {
|
||||||
id: uiaTokenPrompt
|
id: uiaTokenPrompt
|
||||||
|
|
||||||
title: UIA.title
|
title: UIA.title
|
||||||
prompt: qsTr("Please enter the token, which has been sent to you:")
|
prompt: qsTr("Please enter the token which has been sent to you:")
|
||||||
onAccepted: (t) => {
|
onAccepted: (t) => {
|
||||||
return UIA.submit3pidToken(t);
|
return UIA.submit3pidToken(t);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,9 +23,9 @@ ColumnLayout {
|
||||||
if (flow.sender) {
|
if (flow.sender) {
|
||||||
if (flow.isSelfVerification)
|
if (flow.isSelfVerification)
|
||||||
if (flow.isMultiDeviceVerification)
|
if (flow.isMultiDeviceVerification)
|
||||||
return qsTr("To allow other users to see, which of your devices actually belong to you, you can verify them. This also allows key backup to work automatically. Verify an unverified device now? (Please make sure you have one of those devices available.)");
|
return qsTr("To allow other users to see which of your devices actually belong to you, you can verify them. This also allows key backup to work automatically. Verify an unverified device now? (Please make sure you have one of those devices available.)");
|
||||||
else
|
else
|
||||||
return qsTr("To allow other users to see, which of your devices actually belong to you, you can verify them. This also allows key backup to work automatically. Verify %1 now?").arg(flow.deviceId);
|
return qsTr("To allow other users to see which of your devices actually belong to you, you can verify them. This also allows key backup to work automatically. Verify %1 now?").arg(flow.deviceId);
|
||||||
else
|
else
|
||||||
return qsTr("To ensure that no malicious user can eavesdrop on your encrypted communications you can verify the other party.");
|
return qsTr("To ensure that no malicious user can eavesdrop on your encrypted communications you can verify the other party.");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -109,7 +109,7 @@ ApplicationWindow {
|
||||||
Label {
|
Label {
|
||||||
id: promptLabel
|
id: promptLabel
|
||||||
|
|
||||||
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:")
|
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: Nheko.colors.text
|
color: Nheko.colors.text
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
|
@ -88,7 +88,7 @@ ApplicationWindow {
|
||||||
id: privateHover
|
id: privateHover
|
||||||
}
|
}
|
||||||
ToolTip.visible: privateHover.hovered
|
ToolTip.visible: privateHover.hovered
|
||||||
ToolTip.text: qsTr("Public rooms can be joined by anyone, private rooms need explicit invites.")
|
ToolTip.text: qsTr("Public rooms can be joined by anyone; private rooms need explicit invites.")
|
||||||
ToolTip.delay: Nheko.tooltipDelay
|
ToolTip.delay: Nheko.tooltipDelay
|
||||||
}
|
}
|
||||||
ToggleButton {
|
ToggleButton {
|
||||||
|
|
|
@ -451,7 +451,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
text: qsTr("Change")
|
text: qsTr("Change")
|
||||||
ToolTip.text: qsTr("Change what packs are enabled, remove packs or create new ones")
|
ToolTip.text: qsTr("Change what packs are enabled, remove packs, or create new ones")
|
||||||
onClicked: TimelineManager.openImagePackSettings(roomSettings.roomId)
|
onClicked: TimelineManager.openImagePackSettings(roomSettings.roomId)
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ Item {
|
||||||
placeholderText: qsTr("e.g @joe:matrix.org")
|
placeholderText: qsTr("e.g @joe:matrix.org")
|
||||||
onEditingFinished: login.mxid = text
|
onEditingFinished: login.mxid = text
|
||||||
|
|
||||||
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:server.my\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:server.my\nIf Nheko fails to discover your homeserver, it will show you a field to enter the server manually.")
|
||||||
Keys.forwardTo: [pwBtn, ssoRepeater]
|
Keys.forwardTo: [pwBtn, ssoRepeater]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
label: qsTr("Device name")
|
label: qsTr("Device name")
|
||||||
placeholderText: login.initialDeviceName()
|
placeholderText: login.initialDeviceName()
|
||||||
ToolTip.text: qsTr("A name for this device, which will be shown to others, when verifying your devices. If none is provided a default is used.")
|
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]
|
Keys.forwardTo: [pwBtn, ssoRepeater]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ Item {
|
||||||
placeholderText: qsTr("server.my:8787")
|
placeholderText: qsTr("server.my:8787")
|
||||||
text: login.homeserver
|
text: login.homeserver
|
||||||
onEditingFinished: login.homeserver = text
|
onEditingFinished: login.homeserver = text
|
||||||
ToolTip.text: qsTr("The address that can be used to contact you homeservers client API.\nExample: https://server.my:8787")
|
ToolTip.text: qsTr("The address that can be used to contact you homeserver's client API.\nExample: https://server.my:8787")
|
||||||
Keys.forwardTo: [pwBtn, ssoRepeater]
|
Keys.forwardTo: [pwBtn, ssoRepeater]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@ Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
label: qsTr("Device name")
|
label: qsTr("Device name")
|
||||||
placeholderText: regis.initialDeviceName()
|
placeholderText: regis.initialDeviceName()
|
||||||
ToolTip.text: qsTr("A name for this device, which will be shown to others, when verifying your devices. If none is provided a default is used.")
|
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.")
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
|
@ -709,7 +709,7 @@ ChatPage::knockRoom(const QString &room,
|
||||||
tr("Knock on room"),
|
tr("Knock on room"),
|
||||||
// clang-format off
|
// clang-format off
|
||||||
failedJoin
|
failedJoin
|
||||||
? tr("You failed to join %1. You can try to knock, so that others can invite you in. Do you want to do so?\nYou may optionally provide a reason for others to accept your knock:").arg(room)
|
? tr("You failed to join %1. You can try to knock so that others can invite you in. Do you want to do so?\nYou may optionally provide a reason for others to accept your knock:").arg(room)
|
||||||
: tr("Do you really want to knock on %1? You may optionally provide a reason for others to accept your knock:").arg(room),
|
: tr("Do you really want to knock on %1? You may optionally provide a reason for others to accept your knock:").arg(room),
|
||||||
// clang-format on
|
// clang-format on
|
||||||
QLineEdit::Normal,
|
QLineEdit::Normal,
|
||||||
|
|
|
@ -136,7 +136,7 @@ RegisterPage::versionsCheck()
|
||||||
return supported.count(v) != 0;
|
return supported.count(v) != 0;
|
||||||
}) == versions.versions.cend()) {
|
}) == versions.versions.cend()) {
|
||||||
emit setHsError(
|
emit setHsError(
|
||||||
tr("The selected server does not support a version of the Matrix protocol, that "
|
tr("The selected server does not support a version of the Matrix protocol that "
|
||||||
"this client understands (v1.1, v1.2 or v1.3). You can't register."));
|
"this client understands (v1.1, v1.2 or v1.3). You can't register."));
|
||||||
emit hsErrorChanged();
|
emit hsErrorChanged();
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1161,7 +1161,7 @@ UserSettingsModel::data(const QModelIndex &index, int role) const
|
||||||
return {};
|
return {};
|
||||||
case TimelineMaxWidth:
|
case TimelineMaxWidth:
|
||||||
return tr("Set the max width of messages in the timeline (in pixels). This can help "
|
return tr("Set the max width of messages in the timeline (in pixels). This can help "
|
||||||
"readability on wide screen, when Nheko is maximised");
|
"readability on wide screen when Nheko is maximized");
|
||||||
case PrivacyScreenTimeout:
|
case PrivacyScreenTimeout:
|
||||||
return tr(
|
return tr(
|
||||||
"Set timeout (in seconds) for how long after window loses\nfocus before the screen"
|
"Set timeout (in seconds) for how long after window loses\nfocus before the screen"
|
||||||
|
@ -1201,7 +1201,7 @@ UserSettingsModel::data(const QModelIndex &index, int role) const
|
||||||
"be sorted by the timestamp of the last message in a room.\nIf this is on, rooms "
|
"be sorted by the timestamp of the last message in a room.\nIf this is on, rooms "
|
||||||
"which "
|
"which "
|
||||||
"have active notifications (the small circle with a number in it) will be sorted on "
|
"have active notifications (the small circle with a number in it) will be sorted on "
|
||||||
"top. Rooms, that you have muted, will still be sorted by timestamp, since you don't "
|
"top. Rooms that you have muted will still be sorted by timestamp, since you don't "
|
||||||
"seem to consider them as important as the other rooms.");
|
"seem to consider them as important as the other rooms.");
|
||||||
case ButtonsInTimeline:
|
case ButtonsInTimeline:
|
||||||
return tr(
|
return tr(
|
||||||
|
@ -1251,7 +1251,7 @@ UserSettingsModel::data(const QModelIndex &index, int role) const
|
||||||
"improves safety but makes E2EE more tedious.");
|
"improves safety but makes E2EE more tedious.");
|
||||||
case ShareKeysWithTrustedUsers:
|
case ShareKeysWithTrustedUsers:
|
||||||
return tr(
|
return tr(
|
||||||
"Automatically replies to key requests from other users, if they are verified, "
|
"Automatically replies to key requests from other users if they are verified, "
|
||||||
"even if that device shouldn't have access to those keys otherwise.");
|
"even if that device shouldn't have access to those keys otherwise.");
|
||||||
case UseOnlineKeyBackup:
|
case UseOnlineKeyBackup:
|
||||||
return tr(
|
return tr(
|
||||||
|
|
|
@ -49,7 +49,7 @@ FallbackAuth::FallbackAuth(const QString &authType, const QString &session, QWid
|
||||||
font.setPointSizeF(font.pointSizeF() * conf::modals::LABEL_MEDIUM_SIZE_RATIO);
|
font.setPointSizeF(font.pointSizeF() * conf::modals::LABEL_MEDIUM_SIZE_RATIO);
|
||||||
|
|
||||||
auto label = new QLabel(
|
auto label = new QLabel(
|
||||||
tr("Open the fallback, follow the steps and confirm after completing them."), this);
|
tr("Open the fallback, follow the steps, and confirm after completing them."), this);
|
||||||
label->setFont(font);
|
label->setFont(font);
|
||||||
|
|
||||||
layout->addWidget(label);
|
layout->addWidget(label);
|
||||||
|
|
|
@ -227,7 +227,7 @@ main(int argc, char *argv[])
|
||||||
// option and thereby crashing the app.
|
// option and thereby crashing the app.
|
||||||
QCommandLineOption configName(
|
QCommandLineOption configName(
|
||||||
QStringList() << QStringLiteral("p") << QStringLiteral("profile"),
|
QStringList() << QStringLiteral("p") << QStringLiteral("profile"),
|
||||||
QCoreApplication::tr("Create a unique profile, which allows you to log into several "
|
QCoreApplication::tr("Create a unique profile which allows you to log into several "
|
||||||
"accounts at the same time and start multiple instances of nheko."),
|
"accounts at the same time and start multiple instances of nheko."),
|
||||||
QCoreApplication::tr("profile"),
|
QCoreApplication::tr("profile"),
|
||||||
QCoreApplication::tr("profile name"));
|
QCoreApplication::tr("profile name"));
|
||||||
|
|
|
@ -1971,7 +1971,7 @@ TimelineModel::formatJoinRuleEvent(const QString &id)
|
||||||
case mtx::events::state::JoinRule::Public:
|
case mtx::events::state::JoinRule::Public:
|
||||||
return tr("%1 opened the room to the public.").arg(name);
|
return tr("%1 opened the room to the public.").arg(name);
|
||||||
case mtx::events::state::JoinRule::Invite:
|
case mtx::events::state::JoinRule::Invite:
|
||||||
return tr("%1 made this room require and invitation to join.").arg(name);
|
return tr("%1 made this room require an invitation to join.").arg(name);
|
||||||
case mtx::events::state::JoinRule::Knock:
|
case mtx::events::state::JoinRule::Knock:
|
||||||
return tr("%1 allowed to join this room by knocking.").arg(name);
|
return tr("%1 allowed to join this room by knocking.").arg(name);
|
||||||
case mtx::events::state::JoinRule::Restricted: {
|
case mtx::events::state::JoinRule::Restricted: {
|
||||||
|
|
Loading…
Reference in a new issue