Tutorial: always call FAQ FAQ
... also in German
Change-Id: I3b3bcc5e70ec4f250cec0d092718812acb7291b2
diff --git a/kalamar.dict b/kalamar.dict
index 8ff653e..af6c594 100644
--- a/kalamar.dict
+++ b/kalamar.dict
@@ -41,7 +41,7 @@
desc => 'Zeige nur die ersten Treffer in beliebiger Reihenfolge'
},
activateJS => 'Für den vollen Funktionsumfang aktivieren Sie bitte JavaScript!',
- faq => 'Häufige Fragen',
+ faq => 'FAQ',
tutorial => 'Einführung',
notAvailInCorpus => 'Im vorliegenden Korpus nicht verfügbar',
pubOn => 'veröffentlicht am',
@@ -96,7 +96,7 @@
'annotation' => 'Annotationen',
'#default-foundries' => 'Standard Foundries',
'korap' => 'Entwicklung',
- 'faq' => 'Häufig gestellte Fragen'
+ 'faq' => 'FAQ'
}
},
-en => {
@@ -137,7 +137,7 @@
desc => 'Just show the first matches in arbitrary order'
},
activateJS => 'To make use of all features, please activate JavaScript!',
- faq => 'F.A.Q.',
+ faq => 'FAQ',
underConstruction => 'Under Construction!',
tutorial => 'Tutorial',
korap => {
@@ -193,7 +193,7 @@
'annotation' => 'Annotations',
'#default-foundries' => 'Default Foundries',
'korap' => 'Development',
- 'faq' => 'F.A.Q.'
+ 'faq' => 'FAQ'
}
},
Piwik => {
diff --git a/t/navigation.t b/t/navigation.t
index b1a9f8e..45cc832 100644
--- a/t/navigation.t
+++ b/t/navigation.t
@@ -22,11 +22,11 @@
Nav => {
_ => sub { $languages },
-en => {
- faq => 'F.A.Q.',
+ faq => 'FAQ',
'#default-foundries' => 'Default Foundries',
},
de => {
- faq => 'Häufige Fragen',
+ faq => 'FAQ',
'#default-foundries' => 'Standard Foundries'
}
}
@@ -74,7 +74,7 @@
},
{
id => 'faq',
- title => 'F.A.Q.'
+ title => 'FAQ'
}
];
@@ -124,7 +124,7 @@
},
{
id => 'faq',
- title => 'F.A.Q.'
+ title => 'FAQ'
}
];
@@ -212,7 +212,7 @@
},
{
id => 'faq',
- title => 'F.A.Q.'
+ title => 'FAQ'
}
];
$render = $c->navigation('doc', $navi);
@@ -241,7 +241,7 @@
},
{
id => 'faq',
- title => 'F.A.Q.'
+ title => 'FAQ'
}
];
@@ -250,7 +250,7 @@
like($render, qr!/doc/korap/krill!, 'Path matches korap/krill');
like($render, qr!<a href="/doc/korap/krill(?:#[^"]+)?">Krill</a>!,
'Path matches korap/krill');
-like($render, qr!<a href="/doc/faq(?:#[^"]+)?">F\.A\.Q\.</a>!,
+like($render, qr!<a href="/doc/faq(?:#[^"]+)?">FAQ</a>!,
'Path matches FAQ');
# Change preferred language
@@ -261,7 +261,7 @@
like($render, qr!/doc/korap/krill!, 'Path matches korap/krill');
like($render, qr!<a href="/doc/korap/krill(?:#[^"]+)?">Krill</a>!,
'Path matches korap/krill');
-like($render, qr!<a href="/doc/faq(?:#[^"]+)?">Häufige Fragen</a>!,
+like($render, qr!<a href="/doc/faq(?:#[^"]+)?">FAQ</a>!,
'Path matches FAQ');
done_testing;
diff --git a/templates/doc/navigation.json b/templates/doc/navigation.json
index 03315ff..3719190 100644
--- a/templates/doc/navigation.json
+++ b/templates/doc/navigation.json
@@ -95,7 +95,7 @@
]
},
{
- "title": "F.A.Q.",
+ "title": "FAQ",
"id": "faq"
},
{