git ssb

1+

Daan Patchwork / patchwork



Commit 6e9feb62948435c28ee9e5dc1ed90cadd59f76c8

Add i18n to last activity as proposed by @powersource.

Daan Wynen committed on 5/12/2020, 8:30:41 AM
Parent: 72548314c18625b71f0f5aebec2d623f2a8d3899

Files changed

lib/depject/page/html/render/profile.jschanged
lib/depject/page/html/render/profile.jsView
@@ -155,10 +155,11 @@
155155
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]),
164165 h('div.meta', [

Built with git-ssb-web