 
 (defn load-translations-from-file [file-name]
   (-> file-name
-      resource
+      io/resource
       slurp
       load-translations-from-string))
 

      translation)))

(defn context-translate [enlive-m context]
  (t/translate (:translator context) enlive-m))
(ns stonecutter.translation
  (:require [clj-yaml.core :as yaml]
            [clojure.java.io :as io]
            [clojure.tools.logging :as log]
            [traduki.core :as t]))

