Translate object counter
This commit is contained in:
@@ -376,7 +376,7 @@ function initSpotMessages(aoMessages, aoTracks) {
|
||||
$Tooltip = $('<div>', {'class':'info-window'})
|
||||
.append($('<h1>')
|
||||
.addIcon('fa-message fa-fw fa-lg')
|
||||
.append('Message '+oMsg.type+' '+oMsg.displayed_id))
|
||||
.append('Message '+oMsg.type+' '+oSpot.lang('counter', oMsg.displayed_id)))
|
||||
.append($('<p>', {'class':'time'})
|
||||
.addIcon('fa-time fa-fw fa-lg')
|
||||
.append(oMsg.formatted_time+(self.vars(['project', 'mode'])==self.consts.modes.blog?' ('+oMsg.relative_time+')':'')+self.tmp('site_tz_notice')))
|
||||
@@ -541,7 +541,7 @@ function getPost(asPost) {
|
||||
.append($('<span>', {'class':'time'}).hoverSwap(sRelTime, sAbsTime+self.tmp('site_tz_notice'))))
|
||||
.append($('<div>', {'class':'body'}).append($Body));
|
||||
|
||||
if(asPost.displayed_id) $Post.find('.index').append(' '+asPost.displayed_id);
|
||||
if(asPost.displayed_id) $Post.find('.index').append(' '+oSpot.lang('counter', asPost.displayed_id));
|
||||
|
||||
return $Post;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user