]> BookStack Code Mirror - bookstack/blobdiff - resources/views/comments/comments.blade.php
Updated JS translations to be inserted from back-end
[bookstack] / resources / views / comments / comments.blade.php
index cfc89340daf6aa738212b0034985dfaecb86a0d9..99b21b9b263a8e51c1c0c042a7f30c6008003d14 100644 (file)
@@ -1,4 +1,12 @@
 <div page-comments page-id="{{ $page->id }}" class="comments-list">
+
+    @exposeTranslations([
+        'entities.comment_updated_success',
+        'entities.comment_deleted_success',
+        'entities.comment_created_success',
+        'entities.comment_count',
+    ])
+
     <div comment-count-bar class="grid half left-focus v-center no-row-gap">
         <h5 comments-title>{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h5>
         @if (count($page->comments) === 0)