Version Description
- WooCommerce
- .
Download this release
Release Info
Developer | Saphali |
Plugin | Saphali Woocommerce Russian |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2.1 to 1.3.3
- languages/themewoocommerce-ru_RU.mo +0 -0
- languages/themewoocommerce-ru_RU.po +23 -2
- languages/woocommerce-ru_RU.mo +0 -0
- languages/woocommerce-ru_RU.po +4 -4
- readme.txt +6 -2
- saphali-woocommerce-lite.php +23 -9
languages/themewoocommerce-ru_RU.mo
CHANGED
Binary file
|
languages/themewoocommerce-ru_RU.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WooCommerce theme v1.0.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -16,7 +16,7 @@ msgstr ""
|
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Textdomain-Support: yes\n"
|
18 |
"Language: ru\n"
|
19 |
-
"X-Generator: Poedit 1.5.
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
# @ woocommerce
|
@@ -38,6 +38,11 @@ msgstr "Произвольное поле"
|
|
38 |
msgid "Russian ruble ( rub.)"
|
39 |
msgstr "Русский рубль ( руб.)"
|
40 |
|
|
|
|
|
|
|
|
|
|
|
41 |
# @ woocommerce
|
42 |
#: functions.php:40
|
43 |
msgid "Belarusian ruble ( Br.)"
|
@@ -52,6 +57,15 @@ msgstr ""
|
|
52 |
"Журнал событий, таких как запросы/ответы на/от сервера Qiwi, внутри "
|
53 |
"документа <code>woocommerce/logs/qiwi.txt</code>"
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
# @ woocommerce
|
56 |
#: functions.php:40
|
57 |
msgid ""
|
@@ -151,3 +165,10 @@ msgid ""
|
|
151 |
msgstr ""
|
152 |
"Спасибо за заказ, пожалуйста, нажмите на кнопку внизу, чтобы оплатить c "
|
153 |
"помощью Z-Payment."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"Project-Id-Version: WooCommerce theme v1.0.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2013-04-13 15:43+0200\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Textdomain-Support: yes\n"
|
18 |
"Language: ru\n"
|
19 |
+
"X-Generator: Poedit 1.5.5\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
# @ woocommerce
|
38 |
msgid "Russian ruble ( rub.)"
|
39 |
msgstr "Русский рубль ( руб.)"
|
40 |
|
41 |
+
# @ woocommerce
|
42 |
+
#: functions.php:40
|
43 |
+
msgid "Russian ruble (P)"
|
44 |
+
msgstr "Русский рубль (P)"
|
45 |
+
|
46 |
# @ woocommerce
|
47 |
#: functions.php:40
|
48 |
msgid "Belarusian ruble ( Br.)"
|
57 |
"Журнал событий, таких как запросы/ответы на/от сервера Qiwi, внутри "
|
58 |
"документа <code>woocommerce/logs/qiwi.txt</code>"
|
59 |
|
60 |
+
# @ woocommerce
|
61 |
+
#: functions.php:40
|
62 |
+
msgid ""
|
63 |
+
"Log Yandex.Money events, such as IPN requests, inside <code>woocommerce/logs/"
|
64 |
+
"yandexmoney.txt</code>"
|
65 |
+
msgstr ""
|
66 |
+
"Журнал событий, таких как запросы/ответы на/от сервера Яндекс, внутри "
|
67 |
+
"документа <code>woocommerce/logs/yandexmoney.txt</code>"
|
68 |
+
|
69 |
# @ woocommerce
|
70 |
#: functions.php:40
|
71 |
msgid ""
|
165 |
msgstr ""
|
166 |
"Спасибо за заказ, пожалуйста, нажмите на кнопку внизу, чтобы оплатить c "
|
167 |
"помощью Z-Payment."
|
168 |
+
|
169 |
+
msgid ""
|
170 |
+
"Thank you for your order, please click the button below to pay with "
|
171 |
+
"Chronopay."
|
172 |
+
msgstr ""
|
173 |
+
"Спасибо за заказ, пожалуйста, нажмите на кнопку внизу, чтобы оплатить при "
|
174 |
+
"помощи Chronopay"
|
languages/woocommerce-ru_RU.mo
CHANGED
Binary file
|
languages/woocommerce-ru_RU.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WooCommerce theme v1.0.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2013-04-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -2605,7 +2605,7 @@ msgid ""
|
|
2605 |
"<a href=\"%s\">Click here to download a sample</a>."
|
2606 |
msgstr ""
|
2607 |
"Налоговые ставки должны быть определены с колоннами в определенном порядке "
|
2608 |
-
"(10 столбцов). <a href=\"%s\"> Нажмите здесь, чтобы загрузить образец</
|
2609 |
|
2610 |
# @ default
|
2611 |
#: admin/importers/tax-rates-importer.php:292
|
@@ -5941,7 +5941,7 @@ msgid ""
|
|
5941 |
"<code>yourtheme/woocommerce/emails/</code>."
|
5942 |
msgstr ""
|
5943 |
"В этом разделе можно настроить письма WooCommerce. <a href=\"%s\" target="
|
5944 |
-
"\"_blank\"> Щелкните здесь, чтобы просмотреть ваш e-mail шаблон </
|
5945 |
"более продвинутого управления шаблона скопируйте <code>woocommerce/templates/"
|
5946 |
"emails/</code> в <code>ваша_тема/woocommerce/emails/</code> и там "
|
5947 |
"отредактируйте."
|
@@ -8205,4 +8205,4 @@ msgstr "%s шт. из %s были совершены под заказ (повт
|
|
8205 |
#: templates/single-product/tabs/additional-information.php:14
|
8206 |
#: woocommerce-template.php:756
|
8207 |
msgid "Additional Information"
|
8208 |
-
msgstr "
|
3 |
"Project-Id-Version: WooCommerce theme v1.0.0\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2013-04-14 15:45+0200\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
2605 |
"<a href=\"%s\">Click here to download a sample</a>."
|
2606 |
msgstr ""
|
2607 |
"Налоговые ставки должны быть определены с колоннами в определенном порядке "
|
2608 |
+
"(10 столбцов). <a href=\"%s\"> Нажмите здесь, чтобы загрузить образец</a>."
|
2609 |
|
2610 |
# @ default
|
2611 |
#: admin/importers/tax-rates-importer.php:292
|
5941 |
"<code>yourtheme/woocommerce/emails/</code>."
|
5942 |
msgstr ""
|
5943 |
"В этом разделе можно настроить письма WooCommerce. <a href=\"%s\" target="
|
5944 |
+
"\"_blank\"> Щелкните здесь, чтобы просмотреть ваш e-mail шаблон </a>. Для "
|
5945 |
"более продвинутого управления шаблона скопируйте <code>woocommerce/templates/"
|
5946 |
"emails/</code> в <code>ваша_тема/woocommerce/emails/</code> и там "
|
5947 |
"отредактируйте."
|
8205 |
#: templates/single-product/tabs/additional-information.php:14
|
8206 |
#: woocommerce-template.php:756
|
8207 |
msgid "Additional Information"
|
8208 |
+
msgstr "Характеристики"
|
readme.txt
CHANGED
@@ -6,8 +6,8 @@ Donate link: http://saphali.com/
|
|
6 |
Tags: woocommerce, woo commerce russian, russian ruble, ukrainian hryvnia, mod, manadger filds checkout
|
7 |
Requires at least: 3.3 or higher
|
8 |
Tested up to: 3.5.1
|
9 |
-
Stable tag: 1.3.
|
10 |
-
Version: 1.3.
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
@@ -62,6 +62,10 @@ QIWI, Приват24, LiqPay, WebMoney, Яндекс.Деньги, Интерк
|
|
62 |
|
63 |
== Changelog ==
|
64 |
|
|
|
|
|
|
|
|
|
65 |
= 1.3.2.1 =
|
66 |
* Мелкие исправления по локализации под WooCommerce
|
67 |
|
6 |
Tags: woocommerce, woo commerce russian, russian ruble, ukrainian hryvnia, mod, manadger filds checkout
|
7 |
Requires at least: 3.3 or higher
|
8 |
Tested up to: 3.5.1
|
9 |
+
Stable tag: 1.3.3
|
10 |
+
Version: 1.3.3
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
= 1.3.3 =
|
66 |
+
* Мелкие исправления по локализации под WooCommerce
|
67 |
+
* Добавлена поддежка валюты русского рубля в виде символа.
|
68 |
+
|
69 |
= 1.3.2.1 =
|
70 |
* Мелкие исправления по локализации под WooCommerce
|
71 |
|
saphali-woocommerce-lite.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Saphali Woocommerce Russian
|
4 |
Plugin URI: http://saphali.com/saphali-woocommerce-plugin-wordpress
|
5 |
Description: Saphali Woocommerce Russian - это бесплатный вордпресс плагин, который добавляет набор дополнений к интернет-магазину на Woocommerce.
|
6 |
-
Version: 1.3.
|
7 |
Author: Saphali
|
8 |
Author URI: http://saphali.com/
|
9 |
*/
|
@@ -102,21 +102,23 @@ Author URI: http://saphali.com/
|
|
102 |
}
|
103 |
function add_inr_currency( $currencies ) {
|
104 |
$currencies['UAH'] = __( 'Ukrainian hryvnia ( grn.)', 'themewoocommerce' );
|
105 |
-
$currencies['RUR'] = __( 'Russian ruble (
|
|
|
106 |
$currencies['BYR'] = __( 'Belarusian ruble ( Br.)', 'themewoocommerce' );
|
107 |
$currencies['AMD'] = __( 'Armenian dram (Դրամ)', 'themewoocommerce' );
|
108 |
return $currencies;
|
109 |
}
|
110 |
-
function add_inr_currency_symbol( $
|
|
|
111 |
$currency = get_option( 'woocommerce_currency' );
|
112 |
switch( $currency ) {
|
113 |
-
case 'UAH': $
|
114 |
-
case 'RUB': $
|
115 |
-
case 'RUR': $
|
116 |
-
case 'BYR': $
|
117 |
case 'AMD': $currency_symbol = 'Դ'; break;
|
118 |
}
|
119 |
-
return $
|
120 |
}
|
121 |
function admin_enqueue_scripts_page_saphali() {
|
122 |
global $woocommerce;
|
@@ -902,7 +904,7 @@ if(!empty($column_count_saphali)) {
|
|
902 |
if($woocommerce_loop['columns'] > 0) {
|
903 |
?>
|
904 |
<style type='text/css'>
|
905 |
-
ul.products li.product {
|
906 |
width:<?php if($woocommerce_loop['columns'] <= 3 ) echo floor(100/$woocommerce_loop['columns'] - $woocommerce_loop['columns']); elseif($woocommerce_loop['columns'] > 3 )echo floor(100/$woocommerce_loop['columns'] - 4);?>%;
|
907 |
}
|
908 |
</style>
|
@@ -910,4 +912,16 @@ if(!empty($column_count_saphali)) {
|
|
910 |
}
|
911 |
}
|
912 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
913 |
add_action( 'admin_enqueue_scripts', array('saphali_lite','admin_enqueue_scripts_page_saphali') );
|
3 |
Plugin Name: Saphali Woocommerce Russian
|
4 |
Plugin URI: http://saphali.com/saphali-woocommerce-plugin-wordpress
|
5 |
Description: Saphali Woocommerce Russian - это бесплатный вордпресс плагин, который добавляет набор дополнений к интернет-магазину на Woocommerce.
|
6 |
+
Version: 1.3.3
|
7 |
Author: Saphali
|
8 |
Author URI: http://saphali.com/
|
9 |
*/
|
102 |
}
|
103 |
function add_inr_currency( $currencies ) {
|
104 |
$currencies['UAH'] = __( 'Ukrainian hryvnia ( grn.)', 'themewoocommerce' );
|
105 |
+
$currencies['RUR'] = __( 'Russian ruble ( руб.)', 'themewoocommerce' );
|
106 |
+
$currencies['RUB'] = __( 'Russian ruble (P)', 'themewoocommerce' );
|
107 |
$currencies['BYR'] = __( 'Belarusian ruble ( Br.)', 'themewoocommerce' );
|
108 |
$currencies['AMD'] = __( 'Armenian dram (Դրամ)', 'themewoocommerce' );
|
109 |
return $currencies;
|
110 |
}
|
111 |
+
function add_inr_currency_symbol( $symbol ) {
|
112 |
+
if(!$symbol)
|
113 |
$currency = get_option( 'woocommerce_currency' );
|
114 |
switch( $currency ) {
|
115 |
+
case 'UAH': $symbol = 'грн.'; break;
|
116 |
+
case 'RUB': $symbol = '<span class="rur">p<span>уб.</span></span>'; break;
|
117 |
+
case 'RUR': $symbol = 'руб.'; break;
|
118 |
+
case 'BYR': $symbol = 'руб.'; break;
|
119 |
case 'AMD': $currency_symbol = 'Դ'; break;
|
120 |
}
|
121 |
+
return $symbol;
|
122 |
}
|
123 |
function admin_enqueue_scripts_page_saphali() {
|
124 |
global $woocommerce;
|
904 |
if($woocommerce_loop['columns'] > 0) {
|
905 |
?>
|
906 |
<style type='text/css'>
|
907 |
+
.woocommerce ul.products li.product {
|
908 |
width:<?php if($woocommerce_loop['columns'] <= 3 ) echo floor(100/$woocommerce_loop['columns'] - $woocommerce_loop['columns']); elseif($woocommerce_loop['columns'] > 3 )echo floor(100/$woocommerce_loop['columns'] - 4);?>%;
|
909 |
}
|
910 |
</style>
|
912 |
}
|
913 |
}
|
914 |
}
|
915 |
+
add_action("wp_head", '_print_script_columns', 10, 1);
|
916 |
+
function _print_script_columns() {
|
917 |
+
if(get_woocommerce_currency() != 'RUB') return;
|
918 |
+
?>
|
919 |
+
<style type="text/css">
|
920 |
+
@font-face { font-family: "Rubl Sign"; src: url(http://www.artlebedev.ru/;-)/ruble.eot); }
|
921 |
+
span.rur { font-family: "Rubl Sign"; text-transform: uppercase; // text-transform: none;}
|
922 |
+
span.rur span { position: absolute; overflow: hidden; width: .45em; height: 1em; margin: .2ex 0 0 -.55em; // display: none; }
|
923 |
+
span.rur span:before { content: '\2013'; }
|
924 |
+
</style>
|
925 |
+
<?php
|
926 |
+
}
|
927 |
add_action( 'admin_enqueue_scripts', array('saphali_lite','admin_enqueue_scripts_page_saphali') );
|