diff options
author | phyto <phyto@disroot.org> | 2023-02-10 19:56:05 +0000 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-02-11 10:48:11 +0100 |
commit | 4481b2518b462126707349e8804794f2defadbde (patch) | |
tree | 006dff8da9df457c637ef4aa92d1331c55e6edc1 /src | |
parent | Translated using Weblate (Estonian) (diff) | |
download | nheko-4481b2518b462126707349e8804794f2defadbde.tar.xz |
Standardise command format messages
Diffstat (limited to 'src')
-rw-r--r-- | src/CommandCompleter.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/CommandCompleter.cpp b/src/CommandCompleter.cpp index 51eef4f5..5efcbd25 100644 --- a/src/CommandCompleter.cpp +++ b/src/CommandCompleter.cpp @@ -107,23 +107,23 @@ CommandCompleter::data(const QModelIndex &index, int role) const case React: return tr("/react <text>"); case Join: - return tr("/join (!roomid|#alias) [reason]"); + return tr("/join <!roomid|#alias> [reason]"); case Knock: - return tr("/knock (!roomid|#alias) [reason]"); + return tr("/knock <!roomid|#alias> [reason]"); case Part: return tr("/part [reason]"); case Leave: return tr("/leave [reason]"); case Invite: - return tr("/invite @userid [reason]"); + return tr("/invite <@userid> [reason]"); case Kick: - return tr("/kick @userid [reason]"); + return tr("/kick <@userid> [reason]"); case Ban: - return tr("/ban @userid [reason]"); + return tr("/ban <@userid> [reason]"); case Unban: - return tr("/unban @userid [reason]"); + return tr("/unban <@userid> [reason]"); case Redact: - return tr("/redact ($eventid|@userid)"); + return tr("/redact <$eventid|@userid>"); case Roomnick: return tr("/roomnick <displayname>"); case Shrug: @@ -141,25 +141,25 @@ CommandCompleter::data(const QModelIndex &index, int role) const case RotateMegolmSession: return tr("/rotate-megolm-session"); case Md: - return tr("/md [message]"); + return tr("/md <message>"); case Cmark: - return tr("/cmark [message]"); + return tr("/cmark <message>"); case Plain: - return tr("/plain [message]"); + return tr("/plain <message>"); case Rainbow: - return tr("/rainbow [message]"); + return tr("/rainbow <message>"); case RainbowMe: - return tr("/rainbowme [message]"); + return tr("/rainbowme <message>"); case Notice: - return tr("/notice [message]"); + return tr("/notice <message>"); case RainbowNotice: - return tr("/rainbownotice [message]"); + return tr("/rainbownotice <message>"); case Confetti: return tr("/confetti [message]"); case RainbowConfetti: return tr("/rainbowconfetti [message]"); case Goto: - return tr("/goto ($eventid|message index|matrix:r/room/e/event)"); + return tr("/goto <message reference>"); case ConvertToDm: return tr("/converttodm"); case ConvertToRoom: @@ -228,7 +228,7 @@ CommandCompleter::data(const QModelIndex &index, int role) const case RainbowConfetti: return tr("Send a message in rainbow colors with confetti."); case Goto: - return tr("Go to this event or link."); + return tr("Go to a specific message using an event id, index or matrix: link"); case ConvertToDm: return tr("Convert this room to a direct chat."); case ConvertToRoom: |