Make dictionary namespaces bb compatible

Now that translations are just data no excuse for them not being bb
compatible. Also gets rid of needless sexp parsing
This commit is contained in:
Gabriel Horner
2022-03-28 12:33:28 -04:00
parent 5635469d7a
commit f4839da1e1
9 changed files with 71 additions and 128 deletions

View File

@@ -339,6 +339,9 @@
(search-result-item "Page" original-name))
nil))}))])
(def default-placeholder
(if config/publishing? (t :search/publishing) (t :search)))
(rum/defcs search-modal < rum/reactive
(shortcut/disable-all-shortcuts)
(mixins/event-mixin
@@ -366,7 +369,7 @@
(t :graph-search)
:page
(t :page-search)
(t :search))
default-placeholder)
:auto-complete (if (util/chrome?) "chrome-off" "off") ; off not working here
:value search-q
:on-change (fn [e]