mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
fix(i18n): misc
This commit is contained in:
parent
9b43502669
commit
57e93d6623
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue