Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,19 @@ Comments.ui.setContent({
save: 'Speichern',
reply: 'Antworten',
edit: 'Editieren',
remove:'Elimiar',
'placeholder-textarea': 'Teile uns deine Meinung mit',
'add-button-reply': 'Antwort hinzufügen',
'add-button': 'Kommentar hinzufügen',
'load-more': 'Mehr Kommentare laden'
'load-more': 'Mehr Kommentare laden',
'comment-is-pending':'Pendiente de aprovacion',
'you-need-to-login':'Necesitas iniciar sesion para ',
'add comments':'agregar comentarios',
'add replies':'agregar respuestas',
'like comments':'darle me gusta a comentarios',
'dislike comments':'darle no me gusta a comentarios',
'rate comments':'calificar',
'remove comments':'eliminar comentarios'
})
```

Expand All @@ -240,6 +249,9 @@ The configurable values are:
* __load-more__ Load more button text
* __comment-is-pending__ Comment is pending for approval text

Also you can change the language of the legend ('x minutes ago') to your own languaje with the packaje [rzymek:moment-locales](https://atmospherejs.com/rzymek/moment-locales)


### Comment actions

You can define custom actions that can be used on a comment / reply. An example could be sharing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<a class="avatar">
<img alt="Avatar of {{user.displayName}}" src="{{avatarUrl}}" />
</a>
<div class="content">
<div class="the-content"><!-- some issues with a class in my project -->
<a class="author">{{user.displayName}}</a>
<div class="metadata">
<span class="date">{{createdAgo}}</span>
Expand Down Expand Up @@ -93,7 +93,7 @@
</div>
<div class="media-body comment {{#if isOwnComment}}own-comment{{/if}}">
<h4 class="media-heading">{{user.displayName}} <small>{{createdAgo}}</small></h4>
<div class="content">
<div class="the-content"><!-- some issues with a class in my project -->
<p class="comment-content" data-id="{{commentId}}">
{{#if isPendingStatus}}
<div class="alert alert-info">
Expand Down
2 changes: 1 addition & 1 deletion lib/services/time-tick.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const timeTickService = (() => {
// Reactive moment changes
Meteor.setInterval(() => timeTick.changed(), 1000)

moment.locale('en')


return {
fromNowReactive(mmt) {
Expand Down