Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 6e9feb6

Browse files
Add i18n to last activity as proposed by @Powersource.
1 parent 7254831 commit 6e9feb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/depject/page/html/render/profile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,9 @@ exports.create = function (api) {
156156
const prepend = h('header', { className: 'ProfileHeader' }, [
157157
h('div.image', [
158158
api.about.html.image(id),
159-
h('div.lastActivity', computed(lastActivity, msg => `Last activity: ${api.message.html.timestamp(msg, false)}`))
160-
]),
159+
h('div.lastActivity',
160+
computed(lastActivity,
161+
msg => `${i18n('Last activity')}: ${api.message.html.timestamp(msg, false)}`))]),
161162
h('div.main', [
162163
h('div.title', [
163164
h('h1', [name]),

0 commit comments

Comments
 (0)