Commit 6e9feb62948435c28ee9e5dc1ed90cadd59f76c8
Add i18n to last activity as proposed by @powersource.
Daan Wynen committed on 5/12/2020, 8:30:41 AMParent: 72548314c18625b71f0f5aebec2d623f2a8d3899
Files changed
lib/depject/page/html/render/profile.js | changed |
lib/depject/page/html/render/profile.js | ||
---|---|---|
@@ -155,10 +155,11 @@ | ||
155 | 155 … | |
156 | 156 … | const prepend = h('header', { className: 'ProfileHeader' }, [ |
157 | 157 … | h('div.image', [ |
158 | 158 … | 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)}`))]), | |
161 | 162 … | h('div.main', [ |
162 | 163 … | h('div.title', [ |
163 | 164 … | h('h1', [name]), |
164 | 165 … | h('div.meta', [ |
Built with git-ssb-web