]> BookStack Code Mirror - bookstack/commitdiff
Extracted search sidebar text to translation file
authorDan Brown <redacted>
Sat, 22 Sep 2018 22:40:04 +0000 (23:40 +0100)
committerDan Brown <redacted>
Sat, 22 Sep 2018 22:40:04 +0000 (23:40 +0100)
Closes #864

resources/lang/en/entities.php
resources/views/search/all.blade.php

index 4f110b72411a3b716ca28ed9e8c671c3a9f1a150..55fac5d8fc0ada0757520a416a7a07a7ac4b9b30 100644 (file)
@@ -52,11 +52,13 @@ return [
     'search_content_type' => 'Content Type',
     'search_exact_matches' => 'Exact Matches',
     'search_tags' => 'Tag Searches',
+    'search_options' => 'Options',
     'search_viewed_by_me' => 'Viewed by me',
     'search_not_viewed_by_me' => 'Not viewed by me',
     'search_permissions_set' => 'Permissions set',
     'search_created_by_me' => 'Created by me',
     'search_updated_by_me' => 'Updated by me',
+    'search_date_options' => 'Date Options',
     'search_updated_before' => 'Updated before',
     'search_updated_after' => 'Updated after',
     'search_created_before' => 'Created before',
index 5a124705bee86b255c77aa04298985adcaa20eb2..8274187e11c97f03701b3b0c891347095ab3ff7d 100644 (file)
@@ -66,7 +66,7 @@
                 </table>
 
                @if(signedInUser())
-                    <h6 class="text-muted">Options</h6>
+                    <h6 class="text-muted">{{ trans('entities.search_options') }}</h6>
                     <label class="checkbox">
                         <input type="checkbox" v-on:change="optionChange('viewed_by_me')"
                                v-model="search.option.viewed_by_me" value="page">
@@ -94,7 +94,7 @@
                     </label>
                 @endif
 
-                <h6 class="text-muted">Date Options</h6>
+                <h6 class="text-muted">{{ trans('entities.search_date_options') }}</h6>
                 <table cellpadding="0" cellspacing="0" border="0" class="no-style form-table">
                     <tr>
                         <td width="200">{{ trans('entities.search_updated_after') }}</td>