Tutorial: always call FAQ FAQ
... also in German
Change-Id: I3b3bcc5e70ec4f250cec0d092718812acb7291b2
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;