keys.go 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. package config
  2. type (
  3. NavigationKeys struct {
  4. SelectPrevious string `toml:"select_previous"`
  5. SelectNext string `toml:"select_next"`
  6. SelectFirst string `toml:"select_first"`
  7. SelectLast string `toml:"select_last"`
  8. }
  9. Keys struct {
  10. FocusGuildsTree string `toml:"focus_guilds_tree"`
  11. FocusMessagesList string `toml:"focus_messages_list"`
  12. FocusMessageInput string `toml:"focus_message_input"`
  13. FocusPrevious string `toml:"focus_previous"`
  14. FocusNext string `toml:"focus_next"`
  15. ToggleGuildsTree string `toml:"toggle_guilds_tree"`
  16. GuildsTree GuildsTreeKeys `toml:"guilds_tree"`
  17. MessagesList MessagesListKeys `toml:"messages_list"`
  18. MessageInput MessageInputKeys `toml:"message_input"`
  19. MentionsList MentionsListKeys `toml:"mentions_list"`
  20. Logout string `toml:"logout"`
  21. Quit string `toml:"quit"`
  22. }
  23. GuildsTreeKeys struct {
  24. NavigationKeys
  25. SelectCurrent string `toml:"select_current"`
  26. YankID string `toml:"yank_id"`
  27. CollapseParentNode string `toml:"collapse_parent_node"`
  28. MoveToParentNode string `toml:"move_to_parent_node"`
  29. }
  30. MessagesListKeys struct {
  31. NavigationKeys
  32. SelectReply string `toml:"select_reply"`
  33. Reply string `toml:"reply"`
  34. ReplyMention string `toml:"reply_mention"`
  35. Cancel string `toml:"cancel"`
  36. Edit string `toml:"edit"`
  37. Delete string `toml:"delete"`
  38. DeleteConfirm string `toml:"delete_confirm"`
  39. Open string `toml:"open"`
  40. YankContent string `toml:"yank_content"`
  41. YankURL string `toml:"yank_url"`
  42. YankID string `toml:"yank_id"`
  43. }
  44. MessageInputKeys struct {
  45. Paste string `toml:"paste"`
  46. Send string `toml:"send"`
  47. Cancel string `toml:"cancel"`
  48. TabComplete string `toml:"tab_complete"`
  49. OpenEditor string `toml:"open_editor"`
  50. OpenFilePicker string `toml:"open_file_picker"`
  51. }
  52. MentionsListKeys struct {
  53. Up string `toml:"up"`
  54. Down string `toml:"down"`
  55. }
  56. )