fix(i18n): misc

This commit is contained in:
Matteo Pagliazzi 2014-04-15 18:35:54 +02:00
parent 9b43502669
commit 57e93d6623
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ api.score = function(req, res, next) {
if (task.type === 'daily' || task.type === 'todo')
task.completed = direction === 'up';
}
var delta = user.ops.score({params:{id:task.id, direction:direction}});
var delta = user.ops.score({params:{id:task.id, direction:direction}, language: req.language});
user.save(function(err,saved){
if (err) return next(err);

View file

@ -6,7 +6,7 @@ script(id='modals/login.html', type='text/ng-template')
a(href='/auth/facebook')
img(src='/bower_components/habitrpg-shared/img/facebook-login-register.jpeg', alt=env.t('loginFacebookAlt'))
//can we add in google auth? I like google auth
h3 Or
h3=env.t('or')
ul.nav.nav-tabs
li.active
a(data-toggle='tab',data-target='#login-tab')=env.t('login')