Fix minor typo

This commit is contained in:
Yuri Chornoivan
2023-09-29 09:08:37 +03:00
parent 9715440854
commit 237a3c9dfb
2 changed files with 5 additions and 5 deletions

View File

@@ -1151,9 +1151,9 @@ void NeoChatRoom::setPushNotificationState(PushNotificationState::State state)
m_pushNotificationStateUpdating = true;
/**
* First remove any exisiting room rules of the wrong type.
* First remove any existing room rules of the wrong type.
* Note to prevent race conditions any rule that is going ot be overridden later is not removed.
* If the default push notification state is chosen any exisiting rule needs to be removed.
* If the default push notification state is chosen any existing rule needs to be removed.
*/
QJsonObject accountData = connection()->accountDataJson("m.push_rules"_ls);

View File

@@ -95,7 +95,7 @@ FormCard.FormCardPage {
}
FormCard.FormHeader {
visible: root.showChildType
title: i18n("Select Exisiting Room")
title: i18n("Select Existing Room")
}
FormCard.FormCard {
visible: root.showChildType
@@ -196,7 +196,7 @@ FormCard.FormCardPage {
}
}
FormCard.FormCheckDelegate {
id: exisitingOfficialCheck
id: existingOfficialCheck
visible: root.parentId.length > 0
text: i18n("Make this parent official")
description: enabled ? i18n("You have the required privilege level in the child to set this state") : i18n("You do not have a high enough privilege level in the child to set this state")
@@ -218,7 +218,7 @@ FormCard.FormCardPage {
text: i18nc("@action:button", "Ok")
enabled: chosenRoomDelegate.visible
onClicked: {
root.addChild(chosenRoomDelegate.roomId, exisitingOfficialCheck.checked);
root.addChild(chosenRoomDelegate.roomId, existingOfficialCheck.checked);
root.closeDialog();
}
}