Skip to content

Commit

Permalink
Extracted search sidebar text to translation file
Browse files Browse the repository at this point in the history
Closes #864
  • Loading branch information
ssddanbrown committed Sep 22, 2018
1 parent 88ac636 commit 0d84a0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions resources/lang/en/entities.php
Expand Up @@ -52,11 +52,13 @@
'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',
Expand Down
4 changes: 2 additions & 2 deletions resources/views/search/all.blade.php
Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 0d84a0b

Please sign in to comment.