refactor(i18n): use strings for content

This commit is contained in:
Matteo Pagliazzi
2014-03-10 15:26:05 +01:00
parent 626352e04b
commit d242ee3291
12 changed files with 72 additions and 52 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ api.cast = function(req, res, next) {
if (group) {
series.push(function(cb2){
var message = '`'+user.profile.name+' casts '+spell.text + (targetType=='user' ? ' on '+found.profile.name : ' for the party')+'.`';
var message = '`'+user.profile.name+' casts '+spell.text() + (targetType=='user' ? ' on '+found.profile.name : ' for the party')+'.`';
group.sendChat(message);
group.save(cb2);
})