Skip to content
Snippets Groups Projects
Commit 459b761b authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix lint errors

parent 586b66fb
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
[session :refer [Session]]
[user :as user :refer [User]]]
[metabase.util.schema :as su]
[puppetlabs.i18n.core :as i18n :refer [trs trsn tru trun]]
[puppetlabs.i18n.core :as i18n :refer [tru]]
[schema.core :as s]
[toucan.db :as db]))
......
......@@ -38,7 +38,7 @@
org.eclipse.jetty.server.Server))
;; HACK: replace this with setting event listener
(defn sync-locale []
(defn- sync-locale []
(let [new-locale (or (not-empty (setting/get :site-locale)) "en")
current-locale (.toLanguageTag (Locale/getDefault))]
(when-not (= current-locale new-locale)
......
......@@ -16,7 +16,7 @@
[clojure.tools.namespace.find :as ns-find]
colorize.core ; this needs to be loaded for `format-color`
[metabase.config :as config]
[puppetlabs.i18n.core :as i18n :refer [trs trsn tru trun]]
[puppetlabs.i18n.core :as i18n :refer [trs]]
[ring.util.codec :as codec])
(:import clojure.lang.Keyword
[java.net InetAddress InetSocketAddress Socket]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment