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 @@
<input type="hidden" name="a" value="search"/>
<select name="topicId" style="width:100%;max-width:100%"
onchange="javascript:this.form.submit();">
<option value=""> Browse by Topic </option>
<option value=""><?php echo __("Browse by Topic"); ?></option>
<?php
$topics = Topic::objects()
->annotate(array('has_faqs'=>SqlAggregate::COUNT('faqs')))
......
......@@ -28,8 +28,8 @@ if ($cfg && $cfg->isKnowledgebaseEnabled()) { ?>
<div class="search-form">
<form method="get" action="kb/faq.php">
<input type="hidden" name="a" value="search"/>
<input type="text" name="q" class="search" placeholder="Search our knowledge base"/>
<button type="submit" class="green button">Search</button>
<input type="text" name="q" class="search" placeholder="<?php echo __('Search our knowledge base'); ?>"/>
<button type="submit" class="green button"><?php echo __('Search'); ?></button>
</form>
</div>
<div class="thread-body">
......@@ -53,7 +53,7 @@ if($cfg && $cfg->isKnowledgebaseEnabled()){
<?php
$cats = Category::getFeatured();
if ($cats->all()) { ?>
<h1>Featured Knowledge Base Articles</h1>
<h1><?php echo __('Featured Knowledge Base Articles'); ?></h1>
<?php
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment