diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-10-01 15:20:38 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-10-01 15:20:38 +0200 |
commit | 7ec842ba511702e9636d2420b8833b99c792f4df (patch) | |
tree | e99cda1024e90d8eb404ba2db53af567a2f8e9f5 /src | |
parent | Fix wrong file urls (diff) | |
download | nheko-7ec842ba511702e9636d2420b8833b99c792f4df.tar.xz |
Replace some user visible mentions of spaces
Diffstat (limited to 'src')
-rw-r--r-- | src/PowerlevelsEditModels.cpp | 4 | ||||
-rw-r--r-- | src/UserSettingsPage.cpp | 6 | ||||
-rw-r--r-- | src/timeline/CommunitiesModel.cpp | 10 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/PowerlevelsEditModels.cpp b/src/PowerlevelsEditModels.cpp index c7ca24f5..8cc2dcc0 100644 --- a/src/PowerlevelsEditModels.cpp +++ b/src/PowerlevelsEditModels.cpp @@ -210,9 +210,9 @@ PowerlevelsTypeListModel::data(const QModelIndex &index, int role) const return tr("Ban servers using policy rules"); else if (type.type == "m.space.child") - return tr("Edit child rooms"); + return tr("Edit child communities and rooms"); else if (type.type == "m.space.parent") - return tr("Change parent spaces"); + return tr("Change parent communities"); else if (type.type == "m.call.invite") return tr("Start a call"); diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp index 1ba39627..86c02351 100644 --- a/src/UserSettingsPage.cpp +++ b/src/UserSettingsPage.cpp @@ -945,7 +945,7 @@ UserSettingsModel::data(const QModelIndex &index, int role) const case DecryptSidebar: return tr("Decrypt messages in sidebar"); case SpaceNotifications: - return tr("Show message counts for spaces"); + return tr("Show message counts for communities and tags"); case PrivacyScreen: return tr("Privacy Screen"); case PrivacyScreenTimeout: @@ -1234,8 +1234,8 @@ UserSettingsModel::data(const QModelIndex &index, int role) const return tr("Decrypt the messages shown in the sidebar.\nOnly affects messages in " "encrypted chats."); case SpaceNotifications: - return tr( - "Choose where to show the total number of notifications contained within a space."); + return tr("Choose where to show the total number of notifications contained within a " + "community or tag."); case PrivacyScreen: return tr("When the window loses focus, the timeline will\nbe blurred."); case MobileMode: diff --git a/src/timeline/CommunitiesModel.cpp b/src/timeline/CommunitiesModel.cpp index 1b96d2d6..083f9668 100644 --- a/src/timeline/CommunitiesModel.cpp +++ b/src/timeline/CommunitiesModel.cpp @@ -808,7 +808,7 @@ CommunitiesModel::spaceChildrenListFromIndex(QString room, int idx) const } } - nhlog::ui()->critical("Returning {} spaces", ret.size()); + // nhlog::ui()->critical("Returning {} spaces", ret.size()); return ret; } @@ -848,7 +848,7 @@ CommunitiesModel::updateSpaceStatus(QString space, [space, room](mtx::responses::EventId, mtx::http::RequestErr err) { if (err) { ChatPage::instance()->showNotification( - tr("Failed to update space child: %1") + tr("Failed to update community: %1") .arg(QString::fromStdString(err->matrix_error.error))); nhlog::net()->error("Failed to update child {} of {}: {}", room.toStdString(), @@ -866,7 +866,7 @@ CommunitiesModel::updateSpaceStatus(QString space, [space, room](mtx::responses::EventId, mtx::http::RequestErr err) { if (err) { ChatPage::instance()->showNotification( - tr("Failed to delete space child: %1") + tr("Failed to delete room from community: %1") .arg(QString::fromStdString(err->matrix_error.error))); nhlog::net()->error("Failed to delete child {} of {}: {}", room.toStdString(), @@ -889,7 +889,7 @@ CommunitiesModel::updateSpaceStatus(QString space, [space, room](mtx::responses::EventId, mtx::http::RequestErr err) { if (err) { ChatPage::instance()->showNotification( - tr("Failed to update space parent: %1") + tr("Failed to update community for room: %1") .arg(QString::fromStdString(err->matrix_error.error))); nhlog::net()->error("Failed to update parent {} of {}: {}", space.toStdString(), @@ -907,7 +907,7 @@ CommunitiesModel::updateSpaceStatus(QString space, [space, room](mtx::responses::EventId, mtx::http::RequestErr err) { if (err) { ChatPage::instance()->showNotification( - tr("Failed to delete space parent: %1") + tr("Failed to remove community from room: %1") .arg(QString::fromStdString(err->matrix_error.error))); nhlog::net()->error("Failed to delete parent {} of {}: {}", space.toStdString(), |