Ver código fonte

fix: wording in messages

"Are you sure to" isn't standard grammar. Em dash isn't common
punctuation
Gabriel Horner 4 meses atrás
pai
commit
33464da59a

+ 1 - 1
src/main/frontend/components/property.cljs

@@ -681,7 +681,7 @@
                  [:div.property-key.text-sm
                   (property-key-cp block (db/entity :logseq.property.class/properties) {})]]
                 [:div.text-muted-foreground {:style {:margin-left 26}}
-                 "Tag properties are inherited by all nodes using the tag — for example, each #Task node inherits 'Status' and 'Priority'."]]
+                 "Tag properties are inherited by all nodes using the tag. For example, each #Task node inherits 'Status' and 'Priority'."]]
                [:div.ml-4
                 (properties-section block properties opts')
                 (rum/with-key (new-property block opts') (str id "-class-add-property"))]]))]]))))

+ 3 - 3
src/main/frontend/components/repo.cljs

@@ -112,8 +112,8 @@
              :class "delete-local-graph-menu-item"
              :on-click (fn []
                          (let [prompt-str (if db-based?
-                                            (str "Are you sure to permanently delete the graph \"" graph-name "\" from Logseq?")
-                                            (str "Are you sure to unlink the graph \"" url "\" from local folder?"))]
+                                            (str "Are you sure you want to permanently delete the graph \"" graph-name "\" from Logseq?")
+                                            (str "Are you sure you want to unlink the graph \"" url "\" from local folder?"))]
                            (-> (shui/dialog-confirm!
                                 [:p.font-medium.-my-4 prompt-str
                                  [:span.my-2.flex.font-normal.opacity-75
@@ -129,7 +129,7 @@
               {:key "delete-remotely"
                :class "delete-remote-graph-menu-item"
                :on-click (fn []
-                           (let [prompt-str (str "Are you sure to permanently delete the graph \"" graph-name "\" from our server?")]
+                           (let [prompt-str (str "Are you sure you want to permanently delete the graph \"" graph-name "\" from our server?")]
                              (-> (shui/dialog-confirm!
                                   [:p.font-medium.-my-4 prompt-str
                                    [:span.my-2.flex.font-normal.opacity-75