1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 12:10:51 +02:00

Make front-end localizable

This commit is contained in:
Toby Zerner
2015-07-17 17:43:28 +09:30
parent 7e75eb16ff
commit f93ff7cb3f
49 changed files with 438 additions and 148 deletions

View File

@@ -205,7 +205,7 @@ class PostStream extends mixin(Component, evented) {
if (dt > 1000 * 60 * 60 * 24 * 4) {
content = [
<div className="PostStream-timeGap">
<span>{moment.duration(dt).humanize()} later</span>
<span>{app.trans('core.period_later', {period: moment.duration(dt).humanize()})}</span>
</div>,
content
];