From 4481b2518b462126707349e8804794f2defadbde Mon Sep 17 00:00:00 2001 From: phyto Date: Fri, 10 Feb 2023 19:56:05 +0000 Subject: [PATCH] Standardise command format messages --- resources/langs/nheko_ca.ts | 28 ++++++++--------- resources/langs/nheko_cs.ts | 2 +- resources/langs/nheko_de.ts | 56 +++++++++++++++++----------------- resources/langs/nheko_en.ts | 56 +++++++++++++++++----------------- resources/langs/nheko_eo.ts | 52 +++++++++++++++---------------- resources/langs/nheko_et.ts | 52 +++++++++++++++---------------- resources/langs/nheko_fi.ts | 28 ++++++++--------- resources/langs/nheko_id.ts | 52 +++++++++++++++---------------- resources/langs/nheko_nl.ts | 52 +++++++++++++++---------------- resources/langs/nheko_pl.ts | 52 +++++++++++++++---------------- resources/langs/nheko_uk.ts | 52 +++++++++++++++---------------- resources/langs/nheko_zh_CN.ts | 52 +++++++++++++++---------------- src/CommandCompleter.cpp | 32 +++++++++---------- 13 files changed, 283 insertions(+), 283 deletions(-) diff --git a/resources/langs/nheko_ca.ts b/resources/langs/nheko_ca.ts index 978425ac..c789bdd8 100644 --- a/resources/langs/nheko_ca.ts +++ b/resources/langs/nheko_ca.ts @@ -438,12 +438,12 @@ You may optionally provide a reason for others to accept your knock: - /join (!roomid|#alias) [reason] + /join <!roomid|#alias> [reason] - /knock (!roomid|#alias) [reason] + /knock <!roomid|#alias> [reason] @@ -458,27 +458,27 @@ You may optionally provide a reason for others to accept your knock: - /invite @userid [reason] + /invite <@userid> [reason] - /kick @userid [reason] + /kick <@userid> [reason] - /ban @userid [reason] + /ban <@userid> [reason] - /unban @userid [reason] + /unban <@userid> [reason] - /redact ($eventid|@userid) + /redact <$eventid|@userid> @@ -523,37 +523,37 @@ You may optionally provide a reason for others to accept your knock: - /md [message] + /md <message> - /cmark [message] + /cmark <message> - /plain [message] + /plain <message> - /rainbow [message] + /rainbow <message> - /rainbowme [message] + /rainbowme <message> - /notice [message] + /notice <message> - /rainbownotice [message] + /rainbownotice <message> diff --git a/resources/langs/nheko_cs.ts b/resources/langs/nheko_cs.ts index 96455669..da916c6c 100644 --- a/resources/langs/nheko_cs.ts +++ b/resources/langs/nheko_cs.ts @@ -439,7 +439,7 @@ You may optionally provide a reason for others to accept your knock: - /join (!roomid|#alias) [reason] + /join <!roomid|#alias> [reason] diff --git a/resources/langs/nheko_de.ts b/resources/langs/nheko_de.ts index 117d012d..8ef9641d 100644 --- a/resources/langs/nheko_de.ts +++ b/resources/langs/nheko_de.ts @@ -441,13 +441,13 @@ Du kannst zusätzlich einen Grund angeben, warum die anderen dein Anklopfen anne - /join (!roomid|#alias) [reason] - /join (!raumid|#alias) [Grund] + /join <!roomid|#alias> [reason] + /join <!raumid|#alias> [Grund] - /knock (!roomid|#alias) [reason] - /knock (!raumid|#alias) [Grund] + /knock <!roomid|#alias> [reason] + /knock <!raumid|#alias> [Grund] @@ -461,28 +461,28 @@ Du kannst zusätzlich einen Grund angeben, warum die anderen dein Anklopfen anne - /invite @userid [reason] - /invite @nutzerid [Grund] + /invite <@userid>[reason] + /invite <@nutzerid>[Grund] - /kick @userid [reason] - /kick @nutzerid [Grund] + /kick <@userid>[reason] + /kick <@nutzerid>[Grund] - /ban @userid [reason] - /ban @nutzerid [Grund] + /ban <@userid> [reason] + /ban <@nutzerid> [Grund] - /unban @userid [reason] - /unban @nutzerid [Grund] + /unban <@userid> [reason] + /unban <@nutzerid> [Grund] - /redact ($eventid|@userid) - /redact ($eventid|@nutzerid) + /redact <$eventid|@userid> + /redact <$eventid|@nutzerid> @@ -526,38 +526,38 @@ Du kannst zusätzlich einen Grund angeben, warum die anderen dein Anklopfen anne - /md [message] - /md [Nachricht] + /md <message> + /md <Nachricht> - /cmark [message] - /cmark [Nachricht] + /cmark <message> + /cmark <Nachricht> - /plain [message] - /plain [Nachricht] + /plain <message> + /plain <Nachricht> - /rainbow [message] - /rainbow [Nachricht] + /rainbow <message> + /rainbow <Nachricht> - /rainbowme [message] - /rainbowme [Nachricht] + /rainbowme <message> + /rainbowme <Nachricht> - /notice [message] - /notice [Nachricht] + /notice <message> + /notice <Nachricht> - /rainbownotice [message] - /rainbownotice [Nachricht] + /rainbownotice <message> + /rainbownotice <Nachricht> diff --git a/resources/langs/nheko_en.ts b/resources/langs/nheko_en.ts index 1552ad8e..7384c287 100644 --- a/resources/langs/nheko_en.ts +++ b/resources/langs/nheko_en.ts @@ -441,13 +441,13 @@ You may optionally provide a reason for others to accept your knock: - /join (!roomid|#alias) [reason] - /join (!roomid|#alias) [reason] + /join <!roomid|#alias> [reason] + /join <!roomid|#alias> [reason] - /knock (!roomid|#alias) [reason] - /knock (!roomid|#alias) [reason] + /knock <!roomid|#alias> [reason] + /knock <!roomid|#alias> [reason] @@ -461,28 +461,28 @@ You may optionally provide a reason for others to accept your knock: - /invite @userid [reason] - /invite @userid [reason] + /invite <userid> [reason] + /invite <userid> [reason] - /kick @userid [reason] - /kick @userid [reason] + /kick <userid> [reason] + /kick <userid> [reason] - /ban @userid [reason] - /ban @userid [reason] + /ban <userid> [reason] + /ban <userid> [reason] - /unban @userid [reason] - /unban @userid [reason] + /unban <userid> [reason] + /unban <userid> [reason] - /redact ($eventid|@userid) - /redact ($eventid|@userid) + /redact <$eventid|@userid> + /redact <$eventid|@userid> @@ -526,38 +526,38 @@ You may optionally provide a reason for others to accept your knock: - /md [message] - /md [message] + /md <message> + /md <message> - /cmark [message] - /cmark [message] + /cmark <message> + /cmark <message> - /plain [message] - /plain [message] + /plain <message> + /plain <message> - /rainbow [message] - /rainbow [message] + /rainbow <message> + /rainbow <message> - /rainbowme [message] - /rainbowme [message] + /rainbowme <message> + /rainbowme <message> - /notice [message] - /notice [message] + /notice <message> + /notice <message> - /rainbownotice [message] - /rainbownotice [message] + /rainbownotice <message> + /rainbownotice <message> diff --git a/resources/langs/nheko_eo.ts b/resources/langs/nheko_eo.ts index 0acc047f..00deab2d 100644 --- a/resources/langs/nheko_eo.ts +++ b/resources/langs/nheko_eo.ts @@ -442,13 +442,13 @@ Vi povas aldoni noton, pri kial oni akceptu vian frapadon: - /join (!roomid|#alias) [reason] - /join (!identigilo|#kromnomo) [kialo] + /join <!roomid|#alias> [reason] + /join <!identigilo|#kromnomo> [kialo] - /knock (!roomid|#alias) [reason] - /knock (!identigilo!#kromnomo) [kialo] + /knock <!roomid|#alias> [reason] + /knock <!identigilo!#kromnomo> [kialo] @@ -462,28 +462,28 @@ Vi povas aldoni noton, pri kial oni akceptu vian frapadon: - /invite @userid [reason] - /invite @identigilo [kialo] + /invite <@userid> [reason] + /invite <@identigilo> [kialo] - /kick @userid [reason] - /kick @identigilo [kialo] + /kick <@userid> [reason] + /kick <@identigilo> [kialo] - /ban @userid [reason] - /ban @identigilo [kialo] + /ban <@userid> [reason] + /ban <@identigilo> [kialo] - /unban @userid [reason] - /unban @identigilo [kialo] + /unban <@userid> [reason] + /unban <@identigilo> [kialo] - /redact ($eventid|@userid) - /redact ($identigilo-de-okazo|@identigilo-de-uzanto) + /redact <$eventid|@userid> + /redact <$identigilo-de-okazo|@identigilo-de-uzanto> @@ -527,8 +527,8 @@ Vi povas aldoni noton, pri kial oni akceptu vian frapadon: - /md [message] - /md [mesaĝo] + /md <message> + /md <mesaĝo> @@ -537,28 +537,28 @@ Vi povas aldoni noton, pri kial oni akceptu vian frapadon: - /plain [message] - /plain [mesaĝo] + /plain <message> + /plain <mesaĝo> - /rainbow [message] - /rainbow [mesaĝo] + /rainbow <message> + /rainbow <mesaĝo> - /rainbowme [message] - /rainbowme [mesaĝo] + /rainbowme <message> + /rainbowme <mesaĝo> - /notice [message] - /notice [mesaĝo] + /notice <message> + /notice <mesaĝo> - /rainbownotice [message] - /rainbownotice [mesaĝo] + /rainbownotice <message> + /rainbownotice <mesaĝo> diff --git a/resources/langs/nheko_et.ts b/resources/langs/nheko_et.ts index 5347f37f..e87cd58b 100644 --- a/resources/langs/nheko_et.ts +++ b/resources/langs/nheko_et.ts @@ -441,13 +441,13 @@ Kui soovid, siis võid lisada ka selgituse, miks peaks sinu koputusele reageerim - /join (!roomid|#alias) [reason] - /join (!roomid|#alias) [põhjus] + /join <!roomid|#alias> [reason] + /join <!roomid|#alias> [põhjus] - /knock (!roomid|#alias) [reason] - /knock (!roomid|#alias) [põhjus] + /knock <!roomid|#alias> [reason] + /knock <!roomid|#alias> [põhjus] @@ -461,28 +461,28 @@ Kui soovid, siis võid lisada ka selgituse, miks peaks sinu koputusele reageerim - /invite @userid [reason] - /invite @userid [põhjus] + /invite <@userid> [reason] + /invite <@userid> [põhjus] - /kick @userid [reason] - /kick @userid [põhjus] + /kick <@userid> [reason] + /kick <@userid> [põhjus] - /ban @userid [reason] - /ban @userid [põhjus] + /ban <@userid> [reason] + /ban <@userid> [põhjus] - /unban @userid [reason] - /unban @userid [põhjus] + /unban <@userid> [reason] + /unban <@userid> [põhjus] - /redact ($eventid|@userid) - /redact ($eventid|@userid) + /redact <$eventid|@userid> + /redact <$eventid|@userid> @@ -526,8 +526,8 @@ Kui soovid, siis võid lisada ka selgituse, miks peaks sinu koputusele reageerim - /md [message] - /md [sõnum] + /md <message> + /md <sõnum> @@ -536,28 +536,28 @@ Kui soovid, siis võid lisada ka selgituse, miks peaks sinu koputusele reageerim - /plain [message] - /plain [sõnum] + /plain <message> + /plain <sõnum> - /rainbow [message] - /rainbow [sõnum] + /rainbow <message> + /rainbow <sõnum> - /rainbowme [message] - /rainbowme [sõnum] + /rainbowme <message> + /rainbowme <sõnum> - /notice [message] - /notice [sõnum] + /notice <message> + /notice <sõnum> - /rainbownotice [message] - /rainbownotice [sõnum] + /rainbownotice <message> + /rainbownotice <sõnum> diff --git a/resources/langs/nheko_fi.ts b/resources/langs/nheko_fi.ts index 89b19b6c..ba73c47b 100644 --- a/resources/langs/nheko_fi.ts +++ b/resources/langs/nheko_fi.ts @@ -441,13 +441,13 @@ Voit antaa valinnaisen syyn muiden hyväksyäkseen koputuksesi: - /join (!roomid|#alias) [reason] - /join (!huonetunnus|#alias) [syy] + /join <!roomid|#alias> [reason] + /join <!huonetunnus|#alias> [syy] - /knock (!roomid|#alias) [reason] - /knock (!huonetunnus|#alias) [syy] + /knock <!roomid|#alias> [reason] + /knock <!huonetunnus|#alias> [syy] @@ -461,28 +461,28 @@ Voit antaa valinnaisen syyn muiden hyväksyäkseen koputuksesi: - /invite @userid [reason] - /invite @käyttäjätunnus [syy] + /invite <@userid> [reason] + /invite <@käyttäjätunnus> [syy] - /kick @userid [reason] - /kick @käyttäjätunnus [syy] + /kick <@userid> [reason] + /kick <@käyttäjätunnus> [syy] - /ban @userid [reason] - /ban @käyttäjätunnus [syy] + /ban <@userid> [reason] + /ban <@käyttäjätunnus> [syy] - /unban @userid [reason] - /unban @käyttäjätunnus [syy] + /unban <@userid> [reason] + /unban <@käyttäjätunnus> [syy] - /redact ($eventid|@userid) - /redact ($tapahtumatunnus|@käyttäjätunnus) + /redact <$eventid|@userid> + /redact <$tapahtumatunnus|@käyttäjätunnus> diff --git a/resources/langs/nheko_id.ts b/resources/langs/nheko_id.ts index e452d063..44f13634 100644 --- a/resources/langs/nheko_id.ts +++ b/resources/langs/nheko_id.ts @@ -440,13 +440,13 @@ Kamu dapat memberikan alasan untuk orang lain untuk menerima ketukanmu: - /join (!roomid|#alias) [reason] - /join (!idruangan|#alias) [alasan] + /join <!roomid|#alias> [reason] + /join <!idruangan|#alias> [alasan] - /knock (!roomid|#alias) [reason] - /knock (!idruangan|#alias) [alasan] + /knock <!roomid|#alias> [reason] + /knock <!idruangan|#alias> [alasan] @@ -460,28 +460,28 @@ Kamu dapat memberikan alasan untuk orang lain untuk menerima ketukanmu: - /invite @userid [reason] - /invite @idpengguna [alasan] + /invite <@userid> [reason] + /invite <@idpengguna> [alasan] - /kick @userid [reason] - /kick @idpengguna [alasan] + /kick <@userid> [reason] + /kick <@idpengguna> [alasan] - /ban @userid [reason] - /ban @idpengguna [alasan] + /ban <@userid> [reason] + /ban <@idpengguna> [alasan] - /unban @userid [reason] - /unban @idpengguna [alasan] + /unban <@userid> [reason] + /unban <@idpengguna> [alasan] - /redact ($eventid|@userid) - /redact ($idperistiwa|@idpengguna) + /redact <$eventid|@userid> + /redact <$idperistiwa|@idpengguna> @@ -525,8 +525,8 @@ Kamu dapat memberikan alasan untuk orang lain untuk menerima ketukanmu: - /md [message] - /md [pesan] + /md <message> + /md <pesan> @@ -535,28 +535,28 @@ Kamu dapat memberikan alasan untuk orang lain untuk menerima ketukanmu: - /plain [message] - /plain [pesan] + /plain <message> + /plain <pesan> - /rainbow [message] - /rainbow [pesan] + /rainbow <message> + /rainbow <pesan> - /rainbowme [message] - /rainbowme [pesan] + /rainbowme <message> + /rainbowme <pesan> - /notice [message] - /notice [pesan] + /notice <message> + /notice <pesan> - /rainbownotice [message] - /rainbownotice [pesan] + /rainbownotice <message> + /rainbownotice <pesan> diff --git a/resources/langs/nheko_nl.ts b/resources/langs/nheko_nl.ts index f60e75cc..13e1b360 100644 --- a/resources/langs/nheko_nl.ts +++ b/resources/langs/nheko_nl.ts @@ -441,13 +441,13 @@ Je kan optioneel hier een reden invoeren dat je aanklopt: - /join (!roomid|#alias) [reason] - /join (!kamerid|#alias) [reden] + /join <!roomid|#alias> [reason] + /join <!kamerid|#alias> [reden] - /knock (!roomid|#alias) [reason] - /knock (!kamerid|#alias) [reden] + /knock <!roomid|#alias> [reason] + /knock <!kamerid|#alias> [reden] @@ -461,28 +461,28 @@ Je kan optioneel hier een reden invoeren dat je aanklopt: - /invite @userid [reason] - /invite @gebruikerid [reden] + /invite <@userid> [reason] + /invite <@gebruikerid> [reden] - /kick @userid [reason] - /kick @gebruikerid [reden] + /kick <@userid> [reason] + /kick <@gebruikerid> [reden] - /ban @userid [reason] - /ban @gebruikerid [reden] + /ban <@userid> [reason] + /ban <@gebruikerid> [reden] - /unban @userid [reason] - /unban @gebruikerid [reden] + /unban <@userid> [reason] + /unban <@gebruikerid> [reden] - /redact ($eventid|@userid) - /redact ($gebeurtenisid|@gebruikerid) + /redact <$eventid|@userid> + /redact <$gebeurtenisid|@gebruikerid> @@ -526,8 +526,8 @@ Je kan optioneel hier een reden invoeren dat je aanklopt: - /md [message] - /md [bericht] + /md <message> + /md <bericht> @@ -536,28 +536,28 @@ Je kan optioneel hier een reden invoeren dat je aanklopt: - /plain [message] - /plain [bericht] + /plain <message> + /plain <bericht> - /rainbow [message] - /rainbow [bericht] + /rainbow <message> + /rainbow <bericht> - /rainbowme [message] - /rainbowme [bericht] + /rainbowme <message> + /rainbowme <bericht> - /notice [message] - /notice [bericht] + /notice <message> + /notice <bericht> - /rainbownotice [message] - /rainbownotice [bericht] + /rainbownotice <message> + /rainbownotice <bericht> diff --git a/resources/langs/nheko_pl.ts b/resources/langs/nheko_pl.ts index 0d414b98..e4d6b9f1 100644 --- a/resources/langs/nheko_pl.ts +++ b/resources/langs/nheko_pl.ts @@ -439,13 +439,13 @@ You may optionally provide a reason for others to accept your knock: - /join (!roomid|#alias) [reason] - /join (!roomid|#alias) [przyczyna] + /join <!roomid|#alias> [reason] + /join <!roomid|#alias> [przyczyna] - /knock (!roomid|#alias) [reason] - /knock (!roomid|#alias) [przyczyna] + /knock <!roomid|#alias> [reason] + /knock <!roomid|#alias> [przyczyna] @@ -459,28 +459,28 @@ You may optionally provide a reason for others to accept your knock: - /invite @userid [reason] - /invite @userid [przyczyna] + /invite <@userid> [reason] + /invite <@userid> [przyczyna] - /kick @userid [reason] - /kick @userid [przyczyna] + /kick <@userid> [reason] + /kick <@userid> [przyczyna] - /ban @userid [reason] - /ban @userid [przyczyna] + /ban <@userid> [reason] + /ban <@userid> [przyczyna] - /unban @userid [reason] - /unban @userid [przyczyna] + /unban <@userid> [reason] + /unban <@userid> [przyczyna] - /redact ($eventid|@userid) - /redact ($eventid|@userid) + /redact <$eventid|@userid> + /redact <$eventid|@userid> @@ -524,8 +524,8 @@ You may optionally provide a reason for others to accept your knock: - /md [message] - /md [wiadomość] + /md <message> + /md <wiadomość> @@ -534,28 +534,28 @@ You may optionally provide a reason for others to accept your knock: - /plain [message] - /plain [wiadomość] + /plain <message> + /plain <wiadomość> - /rainbow [message] - /rainbow [wiadomość] + /rainbow <message> + /rainbow <wiadomość> - /rainbowme [message] - /rainbowme [wiadomość] + /rainbowme <message> + /rainbowme <wiadomość> - /notice [message] - /notice [wiadomość] + /notice <message> + /notice <wiadomość> - /rainbownotice [message] - /rainbownotice [wiadomość] + /rainbownotice <message> + /rainbownotice <wiadomość> diff --git a/resources/langs/nheko_uk.ts b/resources/langs/nheko_uk.ts index 7010207c..c83f7ac7 100644 --- a/resources/langs/nheko_uk.ts +++ b/resources/langs/nheko_uk.ts @@ -442,13 +442,13 @@ You may optionally provide a reason for others to accept your knock: - /join (!roomid|#alias) [reason] - /join (!ідентифікатор-кімнати|#псевдонім) [причина] + /join <!roomid|#alias> [reason] + /join <!ідентифікатор-кімнати|#псевдонім> [причина] - /knock (!roomid|#alias) [reason] - /knock (!ідентифікатор-кімнати|#псевдонім) [причина] + /knock <!roomid|#alias> [reason] + /knock <!ідентифікатор-кімнати|#псевдонім> [причина] @@ -462,28 +462,28 @@ You may optionally provide a reason for others to accept your knock: - /invite @userid [reason] - /invite @ідентифікатор-користувача [причина] + /invite <@userid> [reason] + /invite <@ідентифікатор-користувача [причина] - /kick @userid [reason] - /kick @ідентифікатор-користувача [причина] + /kick <@userid> [reason] + /kick <@ідентифікатор-користувача> [причина] - /ban @userid [reason] - /ban @ідентифікатор-користувача [причина] + /ban <@userid> [reason] + /ban <@ідентифікатор-користувача< [причина] - /unban @userid [reason] - /unban @ідентифікатор-користувача [причина] + /unban <@userid> [reason] + /unban <@ідентифікатор-користувача> [причина] - /redact ($eventid|@userid) - /redact ($ідентифікатор-події|@ідентифікатор-користувача) + /redact <$eventid|@userid> + /redact <$ідентифікатор-події|@ідентифікатор-користувача> @@ -527,8 +527,8 @@ You may optionally provide a reason for others to accept your knock: - /md [message] - /md [повідомлення] + /md <message> + /md <повідомлення> @@ -537,28 +537,28 @@ You may optionally provide a reason for others to accept your knock: - /plain [message] - /plain [повідомлення] + /plain <message> + /plain <повідомлення> - /rainbow [message] - /rainbow [повідомлення] + /rainbow <message> + /rainbow <повідомлення> - /rainbowme [message] - /rainbowme [повідомлення] + /rainbowme <message> + /rainbowme <повідомлення> - /notice [message] - /notice [повідомлення] + /notice <message> + /notice <повідомлення> - /rainbownotice [message] - /rainbownotice [повідомлення] + /rainbownotice <message> + /rainbownotice <повідомлення> diff --git a/resources/langs/nheko_zh_CN.ts b/resources/langs/nheko_zh_CN.ts index e4c45b1e..543cfc03 100644 --- a/resources/langs/nheko_zh_CN.ts +++ b/resources/langs/nheko_zh_CN.ts @@ -440,13 +440,13 @@ You may optionally provide a reason for others to accept your knock: - /join (!roomid|#alias) [reason] - /join (!聊天室id|#别名) [理由] + /join <!roomid|#alias> [reason] + /join <!聊天室id|#别名> [理由] - /knock (!roomid|#alias) [reason] - /knock (!聊天室id|#别名) [原因] + /knock <!roomid|#alias> [reason] + /knock <!聊天室id|#别名> [原因] @@ -460,28 +460,28 @@ You may optionally provide a reason for others to accept your knock: - /invite @userid [reason] - /invite @用户id [理由] + /invite <@userid> [reason] + /invite <@用户id> [理由] - /kick @userid [reason] - /kick @用户id [原因] + /kick <@userid> [reason] + /kick <@用户id> [原因] - /ban @userid [reason] - /ban @用户id [原因] + /ban <@userid> [reason] + /ban <@用户id> [原因] - /unban @userid [reason] - /unban @用户id [原因] + /unban <@userid> [reason] + /unban <@用户id> [原因] - /redact ($eventid|@userid) - /redact ($事件id|@用户id) + /redact <$eventid|@userid> + /redact <$事件id|@用户id> @@ -525,8 +525,8 @@ You may optionally provide a reason for others to accept your knock: - /md [message] - /md [消息] + /md <message> + /md <消息> @@ -535,28 +535,28 @@ You may optionally provide a reason for others to accept your knock: - /plain [message] - /plain [消息] + /plain <message> + /plain <消息> - /rainbow [message] - /rainbow [消息] + /rainbow <message> + /rainbow <消息> - /rainbowme [message] - /rainbowme [消息] + /rainbowme <message> + /rainbowme <消息> - /notice [message] - /notice [消息] + /notice <message> + /notice <消息> - /rainbownotice [message] - /rainbownotice [消息] + /rainbownotice <message> + /rainbownotice <消息> 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 "); case Join: - return tr("/join (!roomid|#alias) [reason]"); + return tr("/join [reason]"); case Knock: - return tr("/knock (!roomid|#alias) [reason]"); + return tr("/knock [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 "); 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 "); case Cmark: - return tr("/cmark [message]"); + return tr("/cmark "); case Plain: - return tr("/plain [message]"); + return tr("/plain "); case Rainbow: - return tr("/rainbow [message]"); + return tr("/rainbow "); case RainbowMe: - return tr("/rainbowme [message]"); + return tr("/rainbowme "); case Notice: - return tr("/notice [message]"); + return tr("/notice "); case RainbowNotice: - return tr("/rainbownotice [message]"); + return tr("/rainbownotice "); 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 "); 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: