浏览代码

Fix wording

- Single letter commands and their commands should start with same letter
  to make it intuitive for the user. g and t do this with 'Go' and 'Toggle'
- Fix extension and adverb typos
Gabriel Horner 3 年之前
父节点
当前提交
3cf0f46de6

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

@@ -210,7 +210,7 @@
     class :class
     title :title
     icon :icon
-    icon-extention? :icon-extention?
+    icon-extension? :icon-extension?
     active :active
     href :href}]
   [:div
@@ -219,7 +219,7 @@
     {:on-click on-click-handler
      :class (when active "active")
      :href href}
-    (ui/icon (str icon) {:extension? icon-extention?})
+    (ui/icon (str icon) {:extension? icon-extension?})
     [:span.flex-1 title]]])
 
 (defn close-sidebar-on-mobile!
@@ -332,7 +332,7 @@
             :href  (rfe/href :whiteboards)
             :active (and (not srs-open?) (#{:whiteboard :whiteboards} route-name))
             :icon  "whiteboard"
-            :icon-extention? true}))]]
+            :icon-extension? true}))]]
 
       [:div.nav-contents-container.flex.flex-col.gap-1.pt-1
        {:on-scroll on-contents-scroll}

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

@@ -213,7 +213,7 @@
                                                                                (disj checked-page-names whiteboard-name))))})])
          (for [n (range empty-cards)]
            [:div.dashboard-card.dashboard-bg-card {:key n}])]]])
-    [:div "This feature is not public available yet."]))
+    [:div "This feature is not publicly available yet."]))
 
 (rum/defc whiteboard-page
   [name block-id]

+ 1 - 1
src/main/frontend/modules/shortcut/dicts.cljc

@@ -30,7 +30,7 @@
    :editor/delete                "Delete / Delete forwards"
    :editor/new-block             "Create new block"
    :editor/new-line              "New line in current block"
-   :editor/new-whiteboard        "Create new whiteboard"
+   :editor/new-whiteboard        "New whiteboard"
    :editor/follow-link           "Follow link under cursor"
    :editor/open-link-in-sidebar  "Open link in sidebar"
    :editor/bold                  "Bold"