mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-18 10:52:34 +01:00
47 lines
1.2 KiB
Dart
47 lines
1.2 KiB
Dart
|
// This file is auto-generated using scripts/generate_command_hints_glue.sh.
|
||
|
|
||
|
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
||
|
|
||
|
String commandHint(L10n l10n, String command) {
|
||
|
switch (command) {
|
||
|
case "ban":
|
||
|
return l10n.commandHint_ban;
|
||
|
case "clearcache":
|
||
|
return l10n.commandHint_clearcache;
|
||
|
case "create":
|
||
|
return l10n.commandHint_create;
|
||
|
case "discardsession":
|
||
|
return l10n.commandHint_discardsession;
|
||
|
case "dm":
|
||
|
return l10n.commandHint_dm;
|
||
|
case "html":
|
||
|
return l10n.commandHint_html;
|
||
|
case "invite":
|
||
|
return l10n.commandHint_invite;
|
||
|
case "join":
|
||
|
return l10n.commandHint_join;
|
||
|
case "kick":
|
||
|
return l10n.commandHint_kick;
|
||
|
case "leave":
|
||
|
return l10n.commandHint_leave;
|
||
|
case "me":
|
||
|
return l10n.commandHint_me;
|
||
|
case "myroomavatar":
|
||
|
return l10n.commandHint_myroomavatar;
|
||
|
case "myroomnick":
|
||
|
return l10n.commandHint_myroomnick;
|
||
|
case "op":
|
||
|
return l10n.commandHint_op;
|
||
|
case "plain":
|
||
|
return l10n.commandHint_plain;
|
||
|
case "react":
|
||
|
return l10n.commandHint_react;
|
||
|
case "send":
|
||
|
return l10n.commandHint_send;
|
||
|
case "unban":
|
||
|
return l10n.commandHint_unban;
|
||
|
default:
|
||
|
return "";
|
||
|
}
|
||
|
}
|