From 893164c5359a4b211e7556e8bb6145fee03e8c3c Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sun, 18 May 2014 20:19:50 +0200 Subject: [PATCH] fix(i18n): another possible hotfix for wrong language, @lefnire this one works on my local computer but maybe it will not work on prod like the other one --- script/content.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/content.coffee b/script/content.coffee index 10c5118547..e05c8a5678 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -4,7 +4,7 @@ moment = require 'moment' i18n = require './i18n.coffee' t = (string, vars) -> func = (lang) -> - vars ?= lang + vars ?= {a: 'a'} i18n.t(string, vars, lang) func.i18nLangFunc = true #Trick to recognize this type of function func