Split out command and category descs

Move them to a more appropriate ns that is just dictionary focused.
This _majorly_ slims down dependencies for the main translation ns
Also:
- add tests
- make medley requires consistent
- alter spec to reflect how command data is actually being used in
  command palette component
- add basic translation tests
This commit is contained in:
Gabriel Horner
2022-03-25 16:42:43 -04:00
parent 21e172feb6
commit 5635469d7a
11 changed files with 812 additions and 773 deletions

View File

@@ -15,7 +15,7 @@
(when config/dev?
(if (s/explain-data spec value)
(let [error-message (expound/expound-str spec value)
ex (ex-info "Error in validate" {})]
ex (ex-info "Error in validate" {:value value})]
(log/error :exception ex :spec/validate-failed error-message)
false)
true)))