Fix translation strings #17

Merged
user890104 merged 3 commits from master into master 2015-09-30 21:13:58 +03:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 0f0f66193f - Show all commits

View File

@ -138,7 +138,7 @@ function partners_shortcode() {
# Create shortcode for transport methods # Create shortcode for transport methods
function transport_shortcode() { function transport_shortcode() {
$result= '<section class="content"><h3>'.pll__('Място').': '.pll__('Интерпред, София, България').'</h3>'; $result= '<section class="content"><h3>'.pll__('Място').': '.pll__('VENUE_LOCATION').'</h3>';
$transport_args = array( 'post_type' => 'transportation' ); $transport_args = array( 'post_type' => 'transportation' );
$transport = new WP_Query( $transport_args ); $transport = new WP_Query( $transport_args );
@ -156,7 +156,7 @@ function transport_shortcode() {
?> ?>
</section> </section>
<?php <?php
echo do_shortcode( '[ready_google_map id="2" map_language="en" align="center"]' ); //echo do_shortcode( '[ready_google_map id="2" map_language="en" align="center"]' );
$result .= ob_get_contents(); $result .= ob_get_contents();
ob_end_clean(); ob_end_clean();
@ -319,12 +319,12 @@ if (function_exists("pll_register_string")) {
pll_register_string('Schedule','Програма'); pll_register_string('Schedule','Програма');
pll_register_string('Others','Други'); pll_register_string('Others','Други');
pll_register_string('follow','Последвайте ни в:'); pll_register_string('follow','Последвайте ни в:');
pll_register_string('venue','Интерпред, София, България'); pll_register_string('venue','VENUE_LOCATION');
pll_register_string('venue_w','Място'); pll_register_string('venue_w','Място');
pll_register_string('sponsors_w','Спонсори'); pll_register_string('sponsors_w','Спонсори');
pll_register_string('partners_w','Партньори'); pll_register_string('partners_w','Партньори');
pll_register_string('speakers_w','Лектори'); pll_register_string('speakers_w','Лектори');
pll_register_string('time','1-ви и 2-ри ноември 2014 г.'); pll_register_string('time','EVENT_TIME');
pll_register_string('publishedon','Публикувано на'); pll_register_string('publishedon','Публикувано на');
pll_register_string('by_w','От'); pll_register_string('by_w','От');
pll_register_string('see_whole_news','виж цялата новина'); pll_register_string('see_whole_news','виж цялата новина');

View File

@ -1,6 +1,6 @@
<div class="col-right sponsors-frontpage"> <div class="col-right sponsors-frontpage">
<h3><?php pll_e('1-ви и 2-ри ноември 2014 г.');?> <br /> <?php pll_e('Интерпред, София, България');?></h3> <h3><?php pll_e('EVENT_TIME');?> <br /> <?php pll_e('VENUE_LOCATION');?></h3>
<div class="separator"></div> <div class="separator"></div>
<?php echo do_shortcode( '[sponsors]' ); ?> <?php echo do_shortcode( '[sponsors]' ); ?>
<div class="separator"></div> <div class="separator"></div>