Browse Source

fix: typo

Tienson Qin 4 years ago
parent
commit
43a4a3a06c
2 changed files with 4 additions and 4 deletions
  1. 1 1
      src/main/frontend/components/settings.cljs
  2. 3 3
      src/main/frontend/context/i18n.cljs

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

@@ -287,7 +287,7 @@
                  "NOW/LATER"
                  "TODO/DOING")])]]]]
 
-        (toggle "preffered_outdenting"
+        (toggle "prefered_outdenting"
                 (ui/tippy {:html (outdenting-hint)
                            :interactive true
                            :theme "customized"}

+ 3 - 3
src/main/frontend/context/i18n.cljs

@@ -6,9 +6,9 @@
             [frontend.state :as state]))
 
 ;; TODO
-;; - [x] Get the preffered language from state
-;; - [x] Update the preffered language
-;; - [x] Create t functiona which takes a keyword and returns text with the current preffered language
+;; - [x] Get the prefered language from state
+;; - [x] Update the prefered language
+;; - [x] Create t functiona which takes a keyword and returns text with the current prefered language
 ;; - [x] Add fetch for local browser prefered language if user has set it already
 ;; - [ ] Fetch prefered language from backend if user is logged in