mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Translation + Finnish
Added Finnish translation and support for translations in result template.
This commit is contained in:
parent
483fcbd513
commit
8de398ae75
10
lang/fi.yml
Normal file
10
lang/fi.yml
Normal file
@ -0,0 +1,10 @@
|
||||
FI:
|
||||
SilverStripe\FullTextSearch\Solr\Forms\SearchForm:
|
||||
GO: Suorita
|
||||
SEARCH: Haku
|
||||
SearchQuery: 'Hakusanasi oli'
|
||||
DidYouMean: 'Tarkoititko'
|
||||
ReadMore: 'Lue lisää'
|
||||
NoResults: 'Pahoittelut, mutta hakusi ei tuottanut yhtään osumaa.'
|
||||
Page: 'Sivu'
|
||||
of: '/'
|
@ -2,11 +2,11 @@
|
||||
<h1>$Title</h1>
|
||||
|
||||
<% if $Query %>
|
||||
<p class="searchQuery">You searched for "{$Query}"</p>
|
||||
<p class="searchQuery"><%t SearchQuery 'You searched for' %> "{$Query}"</p>
|
||||
<% end_if %>
|
||||
|
||||
<% if $Results.Suggestion %>
|
||||
<p class="spellCheck">Did you mean <a href="{$Link}SearchForm?Search=$Results.SuggestionQueryString">$Results.SuggestionNice</a>?</p>
|
||||
<p class="spellCheck"><%t DidYouMean 'Did you mean' %> <a href="{$Link}SearchForm?Search=$Results.SuggestionQueryString">$Results.SuggestionNice</a>?</p>
|
||||
<% end_if %>
|
||||
|
||||
<% if $Results.Matches %>
|
||||
@ -23,12 +23,12 @@
|
||||
</a>
|
||||
</h4>
|
||||
<p><% if $Abstract %>$Abstract.XML<% else %>$Content.ContextSummary<% end_if %></p>
|
||||
<a class="readMoreLink" href="$Link" title="Read more about "{$Title}"">Read more about "{$Title}"...</a>
|
||||
<a class="readMoreLink" href="$Link" title="Read more about "{$Title}""><%t ReadMore 'Read more about' %> "{$Title}"...</a>
|
||||
</li>
|
||||
<% end_loop %>
|
||||
</ul>
|
||||
<% else %>
|
||||
<p>Sorry, your search query did not return any results.</p>
|
||||
<p><%t NoResults 'Sorry, your search query did not return any results.' %></p>
|
||||
<% end_if %>
|
||||
|
||||
<% if $Results.Matches.MoreThanOnePage %>
|
||||
@ -50,7 +50,7 @@
|
||||
<a class="next" href="$Results.Matches.NextLink" title="View the next page">→</a>
|
||||
<% end_if %>
|
||||
</div>
|
||||
<p>Page $Results.Matches.CurrentPage of $Results.Matches.TotalPages</p>
|
||||
<p><%t Page 'Page' %> $Results.Matches.CurrentPage <%t of 'of' %> $Results.Matches.TotalPages</p>
|
||||
</div>
|
||||
<% end_if %>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user