From 24681cb019cace5217c2a096081dccd466be86cf Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 9 Aug 2017 11:59:34 +0100 Subject: [PATCH 1/2] Fixed bug in fetching the default language messages --- src/scot/weft/i18n/core.clj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scot/weft/i18n/core.clj b/src/scot/weft/i18n/core.clj index b0df4e8..99fcc9b 100644 --- a/src/scot/weft/i18n/core.clj +++ b/src/scot/weft/i18n/core.clj @@ -148,7 +148,10 @@ (slurp (or file-path - (str resource-path default-locale ".edn")))))) + (.getAbsolutePath + (io/file + resource-path + (str default-locale ".edn")))))))) (def get-messages From 4b66b24f78272022973039c5d5596f4ecee64d8e Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 9 Aug 2017 12:00:41 +0100 Subject: [PATCH 2/2] Upversion to 1.0.1 --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.clj b/project.clj index d031f5e..bee86d2 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.clojars.simon_brooke/internationalisation "1.0.0-SNAPSHOT" +(defproject org.clojars.simon_brooke/internationalisation "1.0.1" :description "Internationalisation library for Clojure" :url "https://github.com/simon-brooke/internationalisation" :license {:name "Eclipse Public License"