From f64d48897323b687f5c1cf75fc68f918e7daefe2 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Tue, 23 Oct 2012 03:33:39 +0200 Subject: [PATCH] Set locale to 'en' by default --- assets/scripts/travis.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts/travis.coffee b/assets/scripts/travis.coffee index 851fd04a..1d19a77d 100644 --- a/assets/scripts/travis.coffee +++ b/assets/scripts/travis.coffee @@ -46,7 +46,7 @@ require 'ext/ember/namespace' run: (attrs) -> location.href = location.href.replace('#!/', '') if location.hash.slice(0, 2) == '#!' - @setLocale localStorage.getItem('travis.locale') + @setLocale localStorage.getItem('travis.locale') || 'en' Ember.run.next this, -> app = Travis.App.create(attrs || {})