[network/ruqola] src/rocketchatrestapi-qt/rooms: Add more i18n

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 0b83c4ef391931ead1e0e3d8cae592afb2a4846f by Laurent Montel.
Committed on 07/08/2026 at 05:52.
Pushed by mlaurent into branch 'master'.

Add more i18n

M  +2    -0    src/rocketchatrestapi-qt/rooms/saveroomsettingsjob.cpp

https://invent.kde.org/network/ruqola/-/commit/0b83c4ef391931ead1e0e3d8cae592afb2a4846f

diff --git a/src/rocketchatrestapi-qt/rooms/saveroomsettingsjob.cpp b/src/rocketchatrestapi-qt/rooms/saveroomsettingsjob.cpp
index f38f9afd0e..9143d85b10 100644
--- a/src/rocketchatrestapi-qt/rooms/saveroomsettingsjob.cpp
+++ b/src/rocketchatrestapi-qt/rooms/saveroomsettingsjob.cpp
@@ -71,6 +71,8 @@ QString SaveRoomSettingsJob::errorMessage(const QString &str, const QJsonObject
             return i18n("Only groups or direct channels can enable encryption");
         } else if (detailActionStr == "Editing_room"_L1) {
             return i18n("Editing room is not allowed");
+        } else if (detailActionStr == "Change_Room_Type"_L1) {
+            return i18n("Changing room type is not allowed");
         }
     }
     return RestApiAbstractJob::errorMessage(str, detail);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.