fix: add missing command localizations
This commit is contained in:
parent
d45a1c23b2
commit
67e8dedd5d
2 changed files with 6 additions and 0 deletions
|
|
@ -487,6 +487,8 @@
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
|
"commandHint_markasdm": "Mark as direct message room",
|
||||||
|
"commandHint_markasgroup": "Mark as group",
|
||||||
"commandHint_ban": "Ban the given user from this room",
|
"commandHint_ban": "Ban the given user from this room",
|
||||||
"@commandHint_ban": {
|
"@commandHint_ban": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,10 @@ String commandHint(L10n l10n, String command) {
|
||||||
return l10n.commandHint_send;
|
return l10n.commandHint_send;
|
||||||
case "unban":
|
case "unban":
|
||||||
return l10n.commandHint_unban;
|
return l10n.commandHint_unban;
|
||||||
|
case 'markasdm':
|
||||||
|
return l10n.commandHint_markasdm;
|
||||||
|
case 'markasgroup':
|
||||||
|
return l10n.commandHint_markasgroup;
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue