diff --git a/scripts/src/logseq/tasks/lang.clj b/scripts/src/logseq/tasks/lang.clj index 1dedfae045..9021f38018 100644 --- a/scripts/src/logseq/tasks/lang.clj +++ b/scripts/src/logseq/tasks/lang.clj @@ -133,9 +133,7 @@ "(t prompt-key" [:select/default-prompt :select/default-select-multiple :select.graph/prompt] ;; All args to ui/make-confirm-modal are not keywords "(t title" [] - "(t (or title-key" [:views.table/live-query-title - :views.table/default-title :all-pages/table-title :views.table/tagged-nodes - :views.table/property-nodes] + "(t (or title-key" [:views.table/live-query-title :views.table/default-title] "(t subtitle" [:asset/physical-delete]}) (defn- whiteboard-dicts diff --git a/src/main/frontend/components/objects.cljs b/src/main/frontend/components/objects.cljs index 6faa7f608e..f83a44b216 100644 --- a/src/main/frontend/components/objects.cljs +++ b/src/main/frontend/components/objects.cljs @@ -98,6 +98,7 @@ (shui/dialog-close!)))})])) (add-new-class-object! class set-data! properties))) :show-add-property? true + :show-items-count? true :add-property! (fn [] (state/pub-event! [:editor/new-property {:block class :class-schema? true}])) diff --git a/src/resources/dicts/en.edn b/src/resources/dicts/en.edn index 22a70e8108..4ac3db95bd 100644 --- a/src/resources/dicts/en.edn +++ b/src/resources/dicts/en.edn @@ -472,8 +472,6 @@ :export-save-to-file "Save to file" :all-graphs "All graphs" :all-pages "All pages" - ;; E.g. 1 Page or 2 Pages - :all-pages/table-title (fn [total] (str total (if (= total 1) " Page" " Pages"))) :all-pages/failed-to-delete-pages "These pages had their content deleted but were unable to be deleted: {1}. See javascript console for more details." :all-whiteboards "All whiteboards" :all-files "All files" @@ -625,8 +623,6 @@ ;; E.g. 1 node or 2 nodes :views.table/live-query-title (fn [total] (str "Live query (" total ")")) :views.table/default-title (fn [total] (str total (if (<= total 1) " Node" " Nodes"))) - :views.table/tagged-nodes (fn [total] (str total (if (<= total 1) " tagged node" " tagged Nodes"))) - :views.table/property-nodes (fn [total] (str total (if (<= total 1) " node with this property" " nodes with this property"))) ;; Commands are nested for now to stay in sync with the shortcuts system. ;; Other languages should not nest keys under :commands