Fixes for translations.

This commit is contained in:
Jani Kiviranta 2019-08-26 13:15:57 +03:00
parent 8de398ae75
commit f35fe8ea24
2 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,8 @@
FI: fi:
SilverStripe\FullTextSearch\Solr\Forms\SearchForm: SilverStripe\FullTextSearch\Solr\Forms\SearchForm:
GO: Suorita GO: Hae
SEARCH: Haku SEARCH: Haku
Results:
SearchQuery: 'Hakusanasi oli' SearchQuery: 'Hakusanasi oli'
DidYouMean: 'Tarkoititko' DidYouMean: 'Tarkoititko'
ReadMore: 'Lue lisää' ReadMore: 'Lue lisää'

View File

@ -1,12 +1,12 @@
<div id="Content" class="searchResults"> <div id="Content" class="searchResults">
<h1>$Title</h1> <h1>$Title rer</h1>
<% if $Query %> <% if $Query %>
<p class="searchQuery"><%t SearchQuery 'You searched for' %> &quot;{$Query}&quot;</p> <p class="searchQuery"><%t Results.SearchQuery 'You searched for' %> &quot;{$Query}&quot;</p>
<% end_if %> <% end_if %>
<% if $Results.Suggestion %> <% if $Results.Suggestion %>
<p class="spellCheck"><%t DidYouMean 'Did you mean' %> <a href="{$Link}SearchForm?Search=$Results.SuggestionQueryString">$Results.SuggestionNice</a>?</p> <p class="spellCheck"><%t Results.DidYouMean 'Did you mean' %> <a href="{$Link}SearchForm?Search=$Results.SuggestionQueryString">$Results.SuggestionNice</a>?</p>
<% end_if %> <% end_if %>
<% if $Results.Matches %> <% if $Results.Matches %>
@ -23,12 +23,12 @@
</a> </a>
</h4> </h4>
<p><% if $Abstract %>$Abstract.XML<% else %>$Content.ContextSummary<% end_if %></p> <p><% if $Abstract %>$Abstract.XML<% else %>$Content.ContextSummary<% end_if %></p>
<a class="readMoreLink" href="$Link" title="Read more about &quot;{$Title}&quot;"><%t ReadMore 'Read more about' %> &quot;{$Title}&quot;...</a> <a class="readMoreLink" href="$Link" title="Read more about &quot;{$Title}&quot;"><%t Results.ReadMore 'Read more about' %> &quot;{$Title}&quot;...</a>
</li> </li>
<% end_loop %> <% end_loop %>
</ul> </ul>
<% else %> <% else %>
<p><%t NoResults 'Sorry, your search query did not return any results.' %></p> <p><%t Results.NoResults 'Sorry, your search query did not return any results.' %></p>
<% end_if %> <% end_if %>
<% if $Results.Matches.MoreThanOnePage %> <% if $Results.Matches.MoreThanOnePage %>
@ -50,7 +50,7 @@
<a class="next" href="$Results.Matches.NextLink" title="View the next page">&rarr;</a> <a class="next" href="$Results.Matches.NextLink" title="View the next page">&rarr;</a>
<% end_if %> <% end_if %>
</div> </div>
<p><%t Page 'Page' %> $Results.Matches.CurrentPage <%t of 'of' %> $Results.Matches.TotalPages</p> <p><%t Results.Page 'Page' %> $Results.Matches.CurrentPage <%t Results.of 'of' %> $Results.Matches.TotalPages</p>
</div> </div>
<% end_if %> <% end_if %>
</div> </div>