diff --git a/src/neochatroom.cpp b/src/neochatroom.cpp index aceec0348..fe898b40d 100644 --- a/src/neochatroom.cpp +++ b/src/neochatroom.cpp @@ -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); diff --git a/src/qml/CreateRoomDialog.qml b/src/qml/CreateRoomDialog.qml index a26155091..99e90f75c 100644 --- a/src/qml/CreateRoomDialog.qml +++ b/src/qml/CreateRoomDialog.qml @@ -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(); } }