]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/form-toolbox.blade.php
Updated JS translations to be inserted from back-end
[bookstack] / resources / views / pages / form-toolbox.blade.php
index e515c0b2d0fc82df06bcaab3b172b98895f39d2b..d69be20c154702c2a64fd9083643cc806c8f8c6d 100644 (file)
 
     @if(userCan('attachment-create-all'))
         <div toolbox-tab-content="files" id="attachment-manager" page-id="{{ $page->id ?? 0 }}">
+
+            @exposeTranslations([
+                'entities.attachments_file_uploaded',
+                'entities.attachments_file_updated',
+                'entities.attachments_link_attached',
+                'entities.attachments_updated_success',
+                'errors.server_upload_limit',
+                'components.image_upload_remove',
+                'components.file_upload_timeout',
+            ])
+
             <h4>{{ trans('entities.attachments') }}</h4>
             <div class="px-l files">