From 8d43ac211b3b0ce68c38f34e11a03793898d7bae Mon Sep 17 00:00:00 2001
From: Vasil Kolev
Date: Tue, 7 Oct 2014 16:17:21 +0300
Subject: [PATCH] translations
---
footer.php | 6 +++---
functions.php | 14 ++++++++++++--
sidebar.php | 2 +-
3 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/footer.php b/footer.php
index 01a18f9..e92c1b1 100644
--- a/footer.php
+++ b/footer.php
@@ -9,19 +9,19 @@
-
Програма
+
'footer-schedule', 'items_wrap' => '%3$s
' )); ?>
-
Други
+
'footer-others', 'items_wrap' => '%3$s
' )); ?>
-
Последвайте ни в:
+
'footer-followus', 'items_wrap' => '%3$s
' )); ?>
diff --git a/functions.php b/functions.php
index 3288e94..4fac8aa 100644
--- a/functions.php
+++ b/functions.php
@@ -63,7 +63,7 @@ function sh_latest_posts($atts){
# Create shortcode for sponsors
function sponsors_shortcode() {
- $result= '
Спонсори
';
+ $result= '
'.pll__('Спонсори').'
';
$sponsors_args = array( 'post_type' => 'sponsors', 'orderby' => 'rand' );
@@ -90,7 +90,7 @@ function sponsors_shortcode() {
# Create shortcode for transport methods
function transport_shortcode() {
- $result= '
Място: Интерпред, София, България
';
+ $result= ''.pll__('Място').': '.pll__('Интерпред, София, България').'
';
$transport_args = array( 'post_type' => 'transportation' );
$transport = new WP_Query( $transport_args );
@@ -219,5 +219,15 @@ function transportation_posttype() {
}
add_action( 'init', 'transportation_posttype' );
+pll_register_string('Schedule','Програма');
+pll_register_string('Others','Други');
+pll_register_string('follow','Последвайте ни в:');
+pll_register_string('venue','Интерпред, София, България');
+pll_register_string('venue_w','Място');
+pll_register_string('sponsors_w','Спонсори');
+pll_register_string('time','1-ви и 2-ри ноември 2014 г.');
+
+
+
?>
diff --git a/sidebar.php b/sidebar.php
index e0bd7ca..80212ef 100644
--- a/sidebar.php
+++ b/sidebar.php
@@ -3,7 +3,7 @@ if ($wp->query_vars['pagename']!='home' && $wp->query_vars['pagename']!='home-2'
?>
-
1-и и 2-и Ноември, 2014г.
Интерпред, София, България
+