keys.go 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. package config
  2. type (
  3. SelectionKeys 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. SelectionKeys
  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. SelectionKeys
  32. ScrollUp string `toml:"scroll_up"`
  33. ScrollDown string `toml:"scroll_down"`
  34. ScrollTop string `toml:"scroll_top"`
  35. ScrollBottom string `toml:"scroll_bottom"`
  36. SelectReply string `toml:"select_reply"`
  37. Reply string `toml:"reply"`
  38. ReplyMention string `toml:"reply_mention"`
  39. Cancel string `toml:"cancel"`
  40. Edit string `toml:"edit"`
  41. Delete string `toml:"delete"`
  42. DeleteConfirm string `toml:"delete_confirm"`
  43. Open string `toml:"open"`
  44. YankContent string `toml:"yank_content"`
  45. YankURL string `toml:"yank_url"`
  46. YankID string `toml:"yank_id"`
  47. }
  48. MessageInputKeys struct {
  49. Paste string `toml:"paste"`
  50. Send string `toml:"send"`
  51. Cancel string `toml:"cancel"`
  52. TabComplete string `toml:"tab_complete"`
  53. OpenEditor string `toml:"open_editor"`
  54. OpenFilePicker string `toml:"open_file_picker"`
  55. }
  56. MentionsListKeys struct {
  57. Up string `toml:"up"`
  58. Down string `toml:"down"`
  59. }
  60. )