Skip to content

Commit

Permalink
i18n: KnowledgeBase Category
Browse files Browse the repository at this point in the history
This addresses 5120 where main (or Parent) FAQ Category Titles are not
translated even though the child Category titles are translated correctly.
This is due to to the system pulling the Full Name instead of the Local
(translated) Name.
  • Loading branch information
JediKev committed Oct 23, 2019
1 parent 9ab42de commit 5646e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/client/kb-categories.inc.php
Expand Up @@ -41,7 +41,7 @@
<li><i></i>
<div style="margin-left:45px">
<h4><?php echo sprintf('<a href="faq.php?cid=%d">%s %s</a>',
$C->getId(), Format::htmlchars($C->getFullName()),
$C->getId(), Format::htmlchars($C->getLocalName()),
$count ? "({$count})": ''
); ?></h4>
<div class="faded" style="margin:10px 0">
Expand Down

0 comments on commit 5646e7c

Please sign in to comment.