fix missed translations, spotted by heth

This commit is contained in:
Vasil Kolev 2014-10-08 23:16:22 +03:00 committed by Openfest
parent 3e11ec21f5
commit b0d546b0df
2 changed files with 8 additions and 5 deletions

View File

@ -12,7 +12,7 @@
<div class="separator"></div> <div class="separator"></div>
<section class="content"> <section class="content">
<?php echo do_shortcode( '[sh-latest-posts cat="news" label="Новини"]' ); ?> <?php echo do_shortcode( '[sh-latest-posts cat="news" label="'.pll__('Новини').'"]' ); ?>
</section> </section>
<div class="separator"></div> <div class="separator"></div>

View File

@ -44,9 +44,9 @@ function sh_latest_posts($atts){
?> ?>
<div class="col3"> <div class="col3">
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4> <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
<p class="info">От <?php the_author(); ?> | Публикувано на <?php the_date(); ?> </p> <p class="info"><?php pll_e('От');?> <?php the_author(); ?> | <?php pll_e('Публикувано на');?> <?php the_date(); ?> </p>
<?php the_excerpt(); ?> <?php the_excerpt(); ?>
<a class="button" href="<?php the_permalink(); ?>">виж цялата новина</a> <a class="button" href="<?php the_permalink(); ?>"><?php pll_e('виж цялата новина');?></a>
</div> </div>
<?php <?php
endwhile; endwhile;
@ -230,7 +230,10 @@ pll_register_string('venue','Интерпред, София, България');
pll_register_string('venue_w','Място'); pll_register_string('venue_w','Място');
pll_register_string('sponsors_w','Спонсори'); pll_register_string('sponsors_w','Спонсори');
pll_register_string('time','1-ви и 2-ри ноември 2014 г.'); pll_register_string('time','1-ви и 2-ри ноември 2014 г.');
pll_register_string('publishedon','Публикувано на');
pll_register_string('by_w','От');
pll_register_string('see_whole_news','виж цялата новина');
pll_register_string('news','Новини');