Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Sep 22, 2023
1 parent 659f75f commit ca7424d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Binary file modified i18n/qlog_cs.qm
Binary file not shown.
4 changes: 2 additions & 2 deletions i18n/qlog_cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2227,12 +2227,12 @@
</message>
<message>
<location filename="../ui/KSTChatWidget.ui" line="237"/>
<source>Supress User To User</source>
<source>Suppress User To User</source>
<translation>Potlačit Uživatel-Uživatel</translation>
</message>
<message>
<location filename="../ui/KSTChatWidget.ui" line="240"/>
<source>Supress private messages between two callsigns</source>
<source>Suppress private messages between two callsigns</source>
<translation>Potlačí soukromé zprávy mezi dvěma uživateli</translation>
</message>
<message>
Expand Down
Binary file modified i18n/qlog_de.qm
Binary file not shown.
4 changes: 2 additions & 2 deletions i18n/qlog_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2224,12 +2224,12 @@
</message>
<message>
<location filename="../ui/KSTChatWidget.ui" line="237"/>
<source>Supress User To User</source>
<source>Suppress User To User</source>
<translation>Unterdrückung von Benutzer zu Benutzer</translation>
</message>
<message>
<location filename="../ui/KSTChatWidget.ui" line="240"/>
<source>Supress private messages between two callsigns</source>
<source>Suppress private messages between two callsigns</source>
<translation>Private Nachrichten zwischen zwei Rufzeichen unterdrücken</translation>
</message>
<message>
Expand Down
6 changes: 3 additions & 3 deletions ui/KSTChatWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ KSTChatWidget::KSTChatWidget(int chatRoomIndex,
ui->messageListView->setItemDelegate(new MessageDelegate(this));
ui->messageListView->setModel(messageModel);
ui->messageListView->addAction(ui->actionShowAboutMeOnly);
ui->messageListView->addAction(ui->actionSupressUser2User);
ui->messageListView->addAction(ui->actionSuppressUser2User);
ui->messageListView->addAction(ui->actionHighlight);
ui->messageListView->addAction(separator);
ui->messageListView->addAction(ui->actionHighlightRules);
Expand Down Expand Up @@ -134,15 +134,15 @@ void KSTChatWidget::addChatMessage(KSTChatMsg msg)
qCDebug(runtime) << "isSenderSelectedCallsign" << isSenderSelectedCallsign;

// Filter incoming messages
// Empty callsign means server response, do not supress it
// Empty callsign means server response, do not suppress it
if ( !msg.sender.isEmpty() )
{
if ( ! shouldHighlight && ! isSenderSelectedCallsign )
{
if ( ui->actionShowAboutMeOnly->isChecked() && !isMyCallsignPresent )
return;

if ( ui->actionSupressUser2User->isChecked() && isUser2User)
if ( ui->actionSuppressUser2User->isChecked() && isUser2User)
return;
}
}
Expand Down
6 changes: 3 additions & 3 deletions ui/KSTChatWidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,15 @@
<string>Show only messages where my callsign is present</string>
</property>
</action>
<action name="actionSupressUser2User">
<action name="actionSuppressUser2User">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Supress User To User</string>
<string>Suppress User To User</string>
</property>
<property name="toolTip">
<string>Supress private messages between two callsigns</string>
<string>Suppress private messages between two callsigns</string>
</property>
</action>
<action name="actionHighlight">
Expand Down

0 comments on commit ca7424d

Please sign in to comment.