Skip to content
Snippets Groups Projects
Commit 08a9e031 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #3175 from rbukovansky/develop


Translation issues on homepage and kb page

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 53158746 89c0ed63
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<input type="hidden" name="a" value="search"/> <input type="hidden" name="a" value="search"/>
<select name="topicId" style="width:100%;max-width:100%" <select name="topicId" style="width:100%;max-width:100%"
onchange="javascript:this.form.submit();"> onchange="javascript:this.form.submit();">
<option value=""> Browse by Topic </option> <option value=""><?php echo __("Browse by Topic"); ?></option>
<?php <?php
$topics = Topic::objects() $topics = Topic::objects()
->annotate(array('has_faqs'=>SqlAggregate::COUNT('faqs'))) ->annotate(array('has_faqs'=>SqlAggregate::COUNT('faqs')))
......
...@@ -28,8 +28,8 @@ if ($cfg && $cfg->isKnowledgebaseEnabled()) { ?> ...@@ -28,8 +28,8 @@ if ($cfg && $cfg->isKnowledgebaseEnabled()) { ?>
<div class="search-form"> <div class="search-form">
<form method="get" action="kb/faq.php"> <form method="get" action="kb/faq.php">
<input type="hidden" name="a" value="search"/> <input type="hidden" name="a" value="search"/>
<input type="text" name="q" class="search" placeholder="Search our knowledge base"/> <input type="text" name="q" class="search" placeholder="<?php echo __('Search our knowledge base'); ?>"/>
<button type="submit" class="green button">Search</button> <button type="submit" class="green button"><?php echo __('Search'); ?></button>
</form> </form>
</div> </div>
<div class="thread-body"> <div class="thread-body">
...@@ -53,7 +53,7 @@ if($cfg && $cfg->isKnowledgebaseEnabled()){ ...@@ -53,7 +53,7 @@ if($cfg && $cfg->isKnowledgebaseEnabled()){
<?php <?php
$cats = Category::getFeatured(); $cats = Category::getFeatured();
if ($cats->all()) { ?> if ($cats->all()) { ?>
<h1>Featured Knowledge Base Articles</h1> <h1><?php echo __('Featured Knowledge Base Articles'); ?></h1>
<?php <?php
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment