Added Stichproben tooltip (suggestion by @EleFri)
diff --git a/kalamar.conf b/kalamar.conf
index 4544334..926d816 100644
--- a/kalamar.conf
+++ b/kalamar.conf
@@ -64,7 +64,10 @@
in => 'in',
by => 'von',
with => 'mit',
- glimpse => 'Stichprobe',
+ glimpse => {
+ -short => 'Stichprobe',
+ desc => 'Zeige nur die ersten Treffer in beliebiger Reihenfolge'
+ },
faq => 'Häufige Fragen',
tutorial => 'Einführung',
pubOn => 'veröffentlicht am',
@@ -102,7 +105,10 @@
matchCount => '<%= num($found, "match", "matches") %>',
noMatches => 'There were no matches for <code><%= stash("q") %></code>.',
notFound => '404 - Page not found',
- glimpse => 'Sample',
+ glimpse => {
+ -short => 'Sample',
+ desc => 'Just show the first matches in arbitrary order'
+ },
faq => 'F.A.Q.',
underConstruction => 'Under Construction!',
tutorial => 'Tutorial',
diff --git a/templates/partial/header.html.ep b/templates/partial/header.html.ep
index 12d47aa..a090b76 100644
--- a/templates/partial/header.html.ep
+++ b/templates/partial/header.html.ep
@@ -25,15 +25,7 @@
<div class="button right">
% param(cutoff => 1) unless param 'q';
%= check_box cutoff => 1, id => 'q-cutoff-field', class => 'checkbox'
- <label for="q-cutoff-field"><span></span><%= loc('glimpse') %></label>
-<!--
- % unless (current_route 'tutorial') {
- <a href="/doc/faq"
- title="<%= loc 'faq' %>"
- class="question"
- id="view-faq"><span><%= loc 'faq' %></span></a>
- % };
--->
+ <label for="q-cutoff-field" title="<%= loc('glimpse_desc') %>"><span></span><%= loc('glimpse') %></label>
<%= link_to 'doc_start', title => loc('tutorial'), class => "tutorial", id => "view-tutorial", begin %><span><%= loc 'tutorial' %></span><% end %>
</div>
</form>