Skip to content

Commit

Permalink
fix search translation
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed Feb 4, 2024
1 parent 8e57665 commit 451a2e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/cmdk/views.cljs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(ns renderer.cmdk.views
(:require
[i18n :refer [t]]
[re-frame.core :as rf]
[renderer.components :as comp]
[renderer.menubar.views :as menubar]
[i18n :refer [t]]
["cmdk" :as Command]))

(defn item
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/menubar/views.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(ns renderer.menubar.views
(:require
["@radix-ui/react-menubar" :as Menubar]
[i18n :refer [t]]
[re-frame.core :as rf]
[renderer.components :as comp]))

Expand Down Expand Up @@ -355,4 +356,4 @@
(map (fn [item] ^{:key item} [menu-item item]) menu)
[:button.button.px-3.flex.items-center
{:on-click #(rf/dispatch [:cmdk/toggle])}
"Search…"]])
(t [:cmdk/search "Search…"])]])

0 comments on commit 451a2e3

Please sign in to comment.