diff --git a/GUIDE.md b/GUIDE.md index 203c325..2a9e062 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -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' }) ``` @@ -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. diff --git a/lib/components/commentsSingleComment/commentsSingleComment.html b/lib/components/commentsSingleComment/commentsSingleComment.html index f2c13f6..d499a38 100644 --- a/lib/components/commentsSingleComment/commentsSingleComment.html +++ b/lib/components/commentsSingleComment/commentsSingleComment.html @@ -8,7 +8,7 @@ Avatar of {{user.displayName}} -
+
{{user.displayName}}

{{user.displayName}} {{createdAgo}}

-
+

{{#if isPendingStatus}}

diff --git a/lib/services/time-tick.js b/lib/services/time-tick.js index a0eb66f..2605623 100644 --- a/lib/services/time-tick.js +++ b/lib/services/time-tick.js @@ -4,7 +4,7 @@ const timeTickService = (() => { // Reactive moment changes Meteor.setInterval(() => timeTick.changed(), 1000) - moment.locale('en') + return { fromNowReactive(mmt) {