Version Description
- - (BYN)
Download this release
Release Info
Developer | Saphali |
Plugin | Saphali Woocommerce Russian |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6.0 to 1.6.1
languages/saphali-woocommerce-lite-ru_RU.mo
CHANGED
Binary file
|
languages/saphali-woocommerce-lite-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: 2016-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -40,8 +40,8 @@ msgstr "Российский рубль"
|
|
40 |
|
41 |
# @ woocommerce
|
42 |
#: functions.php:40
|
43 |
-
msgid "Belarusian ruble"
|
44 |
-
msgstr "Белорусский
|
45 |
|
46 |
# @ woocommerce
|
47 |
#: functions.php:40
|
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: 2016-04-06 12:10+0300\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
40 |
|
41 |
# @ woocommerce
|
42 |
#: functions.php:40
|
43 |
+
msgid "Belarusian ruble%s"
|
44 |
+
msgstr "Белорусский рубль%s"
|
45 |
|
46 |
# @ woocommerce
|
47 |
#: functions.php:40
|
languages/woocommerce-ru_RU.mo
CHANGED
Binary file
|
languages/woocommerce-ru_RU.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: WooCommerce Lite|Standard v2\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"
|
@@ -14,10 +14,10 @@ msgstr ""
|
|
14 |
"%10<=4 && (n%100<10 || n%100>=20)) ? 1 : 2);\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_x;_n;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
-
"X-Poedit-Basepath:
|
18 |
"X-Textdomain-Support: yes\n"
|
19 |
"Language: ru\n"
|
20 |
-
"X-Generator: Poedit 1.7
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
|
23 |
# @ woocommerce
|
@@ -86,6 +86,10 @@ msgstr "ДлинаxШиринаxВысота в десятичном форма
|
|
86 |
msgid "Taxes"
|
87 |
msgstr "Налоги"
|
88 |
|
|
|
|
|
|
|
|
|
89 |
# @ woocommerce
|
90 |
#: functions.php:40
|
91 |
msgid "Enable reviews"
|
@@ -408,8 +412,7 @@ msgid "Taxes by month"
|
|
408 |
msgstr "Налоги за месяц"
|
409 |
|
410 |
# @ woocommerce
|
411 |
-
#: admin/woocommerce-admin-reports.php:353
|
412 |
-
#: admin/woocommerce-admin-reports.php:620
|
413 |
#: admin/woocommerce-admin-reports.php:800
|
414 |
msgid "items"
|
415 |
msgstr "позиций"
|
@@ -422,19 +425,15 @@ msgstr "Продажи %s:"
|
|
422 |
|
423 |
# @ woocommerce
|
424 |
#: admin/woocommerce-admin-dashboard.php:394
|
425 |
-
#: admin/woocommerce-admin-reports.php:193
|
426 |
-
#: admin/woocommerce-admin-reports.php:
|
427 |
-
#: admin/woocommerce-admin-reports.php:673
|
428 |
-
#: admin/woocommerce-admin-reports.php:850
|
429 |
msgid "Number of sales"
|
430 |
msgstr "Число продаж"
|
431 |
|
432 |
# @ woocommerce
|
433 |
#: admin/woocommerce-admin-dashboard.php:395
|
434 |
-
#: admin/woocommerce-admin-reports.php:188
|
435 |
-
#: admin/woocommerce-admin-reports.php:
|
436 |
-
#: admin/woocommerce-admin-reports.php:673
|
437 |
-
#: admin/woocommerce-admin-reports.php:850
|
438 |
msgid "Sales amount"
|
439 |
msgstr "Сумма продажи"
|
440 |
|
@@ -735,8 +734,7 @@ msgid "verified owner"
|
|
735 |
msgstr "владелец товара"
|
736 |
|
737 |
# @ woocommerce
|
738 |
-
#: admin/woocommerce-admin-reports.php:606
|
739 |
-
#: admin/woocommerce-admin-reports.php:941
|
740 |
#: admin/woocommerce-admin-reports.php:1038
|
741 |
msgid "To:"
|
742 |
msgstr "До:"
|
@@ -1924,8 +1922,7 @@ msgstr[2] "Свойств"
|
|
1924 |
|
1925 |
# @ woocommerce
|
1926 |
#: admin/post-types/writepanels/writepanel-product_data.php:77
|
1927 |
-
#: admin/woocommerce-admin-content.php:44
|
1928 |
-
#: admin/woocommerce-admin-settings.php:180
|
1929 |
msgid "General"
|
1930 |
msgstr "Общие"
|
1931 |
|
@@ -3352,8 +3349,7 @@ msgstr "Каталог & поиск"
|
|
3352 |
# @ woocommerce
|
3353 |
#: admin/post-types/product.php:619 admin/post-types/product.php:892
|
3354 |
#: admin/post-types/writepanels/writepanel-product_data.php:1029
|
3355 |
-
#: admin/woocommerce-admin-content.php:46
|
3356 |
-
#: admin/woocommerce-admin-settings.php:181
|
3357 |
msgid "Catalog"
|
3358 |
msgstr "Каталог"
|
3359 |
|
@@ -4072,8 +4068,8 @@ msgstr "Адрес 2"
|
|
4072 |
#: admin/post-types/writepanels/writepanel-order_data.php:164
|
4073 |
#: admin/post-types/writepanels/writepanel-order_data.php:254
|
4074 |
#: admin/settings/settings-tax-rates.php:42
|
4075 |
-
#: admin/settings/settings-tax-rates.php:217
|
4076 |
-
#: admin/woocommerce-admin-users.php:
|
4077 |
msgid "City"
|
4078 |
msgstr "Город"
|
4079 |
|
@@ -4526,8 +4522,7 @@ msgstr "Загружаемые товары предоставляют дост
|
|
4526 |
|
4527 |
# @ woocommerce
|
4528 |
#: admin/post-types/writepanels/writepanel-product_data.php:79
|
4529 |
-
#: admin/woocommerce-admin-content.php:47
|
4530 |
-
#: admin/woocommerce-admin-settings.php:183
|
4531 |
msgid "Inventory"
|
4532 |
msgstr "Инвентаризация"
|
4533 |
|
@@ -6506,8 +6501,7 @@ msgid "Here you can customise the way WooCommerce emails appear."
|
|
6506 |
msgstr "Здесь настраивается оформление рассылки WooCommerce."
|
6507 |
|
6508 |
# @ woocommerce
|
6509 |
-
#: admin/woocommerce-admin-content.php:52
|
6510 |
-
#: admin/woocommerce-admin-settings.php:188
|
6511 |
msgid "Integration"
|
6512 |
msgstr "Интеграция"
|
6513 |
|
@@ -7053,20 +7047,13 @@ msgid "Total sales"
|
|
7053 |
msgstr "Сумма продаж"
|
7054 |
|
7055 |
# @ woocommerce
|
7056 |
-
#: admin/woocommerce-admin-reports.php:371
|
7057 |
-
#: admin/woocommerce-admin-reports.php:
|
7058 |
-
#: admin/woocommerce-admin-reports.php:
|
7059 |
-
#: admin/woocommerce-admin-reports.php:
|
7060 |
-
#: admin/woocommerce-admin-reports.php:
|
7061 |
-
#: admin/woocommerce-admin-reports.php:
|
7062 |
-
#: admin/woocommerce-admin-reports.php:
|
7063 |
-
#: admin/woocommerce-admin-reports.php:650
|
7064 |
-
#: admin/woocommerce-admin-reports.php:656
|
7065 |
-
#: admin/woocommerce-admin-reports.php:662
|
7066 |
-
#: admin/woocommerce-admin-reports.php:828
|
7067 |
-
#: admin/woocommerce-admin-reports.php:834
|
7068 |
-
#: admin/woocommerce-admin-reports.php:840
|
7069 |
-
#: admin/woocommerce-admin-reports.php:846
|
7070 |
#: admin/woocommerce-admin-reports.php:1364
|
7071 |
#: admin/woocommerce-admin-reports.php:1370
|
7072 |
#: admin/woocommerce-admin-reports.php:1376
|
@@ -7103,16 +7090,14 @@ msgid "This month's sales"
|
|
7103 |
msgstr "Продажи в этом месяце"
|
7104 |
|
7105 |
# @ woocommerce
|
7106 |
-
#: admin/woocommerce-admin-reports.php:636
|
7107 |
-
#: admin/woocommerce-admin-reports.php:980
|
7108 |
#: admin/woocommerce-admin-reports.php:1076
|
7109 |
#: admin/woocommerce-admin-reports.php:1356
|
7110 |
msgid "From:"
|
7111 |
msgstr "От:"
|
7112 |
|
7113 |
# @ woocommerce
|
7114 |
-
#: admin/woocommerce-admin-reports.php:636
|
7115 |
-
#: admin/woocommerce-admin-reports.php:821
|
7116 |
#: admin/woocommerce-admin-reports.php:980
|
7117 |
#: admin/woocommerce-admin-reports.php:1076
|
7118 |
#: admin/woocommerce-admin-reports.php:1229
|
3 |
"Project-Id-Version: WooCommerce Lite|Standard v2\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2016-04-22 05:51+0300\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
14 |
"%10<=4 && (n%100<10 || n%100>=20)) ? 1 : 2);\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_x;_n;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
+
"X-Poedit-Basepath: ..\n"
|
18 |
"X-Textdomain-Support: yes\n"
|
19 |
"Language: ru\n"
|
20 |
+
"X-Generator: Poedit 1.8.7\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
|
23 |
# @ woocommerce
|
86 |
msgid "Taxes"
|
87 |
msgstr "Налоги"
|
88 |
|
89 |
+
#: templates/single-product/add-to-cart/variable.php:42
|
90 |
+
msgid "Clear"
|
91 |
+
msgstr "Сбросить"
|
92 |
+
|
93 |
# @ woocommerce
|
94 |
#: functions.php:40
|
95 |
msgid "Enable reviews"
|
412 |
msgstr "Налоги за месяц"
|
413 |
|
414 |
# @ woocommerce
|
415 |
+
#: admin/woocommerce-admin-reports.php:353 admin/woocommerce-admin-reports.php:620
|
|
|
416 |
#: admin/woocommerce-admin-reports.php:800
|
417 |
msgid "items"
|
418 |
msgstr "позиций"
|
425 |
|
426 |
# @ woocommerce
|
427 |
#: admin/woocommerce-admin-dashboard.php:394
|
428 |
+
#: admin/woocommerce-admin-reports.php:193 admin/woocommerce-admin-reports.php:482
|
429 |
+
#: admin/woocommerce-admin-reports.php:673 admin/woocommerce-admin-reports.php:850
|
|
|
|
|
430 |
msgid "Number of sales"
|
431 |
msgstr "Число продаж"
|
432 |
|
433 |
# @ woocommerce
|
434 |
#: admin/woocommerce-admin-dashboard.php:395
|
435 |
+
#: admin/woocommerce-admin-reports.php:188 admin/woocommerce-admin-reports.php:482
|
436 |
+
#: admin/woocommerce-admin-reports.php:673 admin/woocommerce-admin-reports.php:850
|
|
|
|
|
437 |
msgid "Sales amount"
|
438 |
msgstr "Сумма продажи"
|
439 |
|
734 |
msgstr "владелец товара"
|
735 |
|
736 |
# @ woocommerce
|
737 |
+
#: admin/woocommerce-admin-reports.php:606 admin/woocommerce-admin-reports.php:941
|
|
|
738 |
#: admin/woocommerce-admin-reports.php:1038
|
739 |
msgid "To:"
|
740 |
msgstr "До:"
|
1922 |
|
1923 |
# @ woocommerce
|
1924 |
#: admin/post-types/writepanels/writepanel-product_data.php:77
|
1925 |
+
#: admin/woocommerce-admin-content.php:44 admin/woocommerce-admin-settings.php:180
|
|
|
1926 |
msgid "General"
|
1927 |
msgstr "Общие"
|
1928 |
|
3349 |
# @ woocommerce
|
3350 |
#: admin/post-types/product.php:619 admin/post-types/product.php:892
|
3351 |
#: admin/post-types/writepanels/writepanel-product_data.php:1029
|
3352 |
+
#: admin/woocommerce-admin-content.php:46 admin/woocommerce-admin-settings.php:181
|
|
|
3353 |
msgid "Catalog"
|
3354 |
msgstr "Каталог"
|
3355 |
|
4068 |
#: admin/post-types/writepanels/writepanel-order_data.php:164
|
4069 |
#: admin/post-types/writepanels/writepanel-order_data.php:254
|
4070 |
#: admin/settings/settings-tax-rates.php:42
|
4071 |
+
#: admin/settings/settings-tax-rates.php:217 admin/woocommerce-admin-users.php:167
|
4072 |
+
#: admin/woocommerce-admin-users.php:216
|
4073 |
msgid "City"
|
4074 |
msgstr "Город"
|
4075 |
|
4522 |
|
4523 |
# @ woocommerce
|
4524 |
#: admin/post-types/writepanels/writepanel-product_data.php:79
|
4525 |
+
#: admin/woocommerce-admin-content.php:47 admin/woocommerce-admin-settings.php:183
|
|
|
4526 |
msgid "Inventory"
|
4527 |
msgstr "Инвентаризация"
|
4528 |
|
6501 |
msgstr "Здесь настраивается оформление рассылки WooCommerce."
|
6502 |
|
6503 |
# @ woocommerce
|
6504 |
+
#: admin/woocommerce-admin-content.php:52 admin/woocommerce-admin-settings.php:188
|
|
|
6505 |
msgid "Integration"
|
6506 |
msgstr "Интеграция"
|
6507 |
|
7047 |
msgstr "Сумма продаж"
|
7048 |
|
7049 |
# @ woocommerce
|
7050 |
+
#: admin/woocommerce-admin-reports.php:371 admin/woocommerce-admin-reports.php:377
|
7051 |
+
#: admin/woocommerce-admin-reports.php:383 admin/woocommerce-admin-reports.php:389
|
7052 |
+
#: admin/woocommerce-admin-reports.php:395 admin/woocommerce-admin-reports.php:401
|
7053 |
+
#: admin/woocommerce-admin-reports.php:644 admin/woocommerce-admin-reports.php:650
|
7054 |
+
#: admin/woocommerce-admin-reports.php:656 admin/woocommerce-admin-reports.php:662
|
7055 |
+
#: admin/woocommerce-admin-reports.php:828 admin/woocommerce-admin-reports.php:834
|
7056 |
+
#: admin/woocommerce-admin-reports.php:840 admin/woocommerce-admin-reports.php:846
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7057 |
#: admin/woocommerce-admin-reports.php:1364
|
7058 |
#: admin/woocommerce-admin-reports.php:1370
|
7059 |
#: admin/woocommerce-admin-reports.php:1376
|
7090 |
msgstr "Продажи в этом месяце"
|
7091 |
|
7092 |
# @ woocommerce
|
7093 |
+
#: admin/woocommerce-admin-reports.php:636 admin/woocommerce-admin-reports.php:980
|
|
|
7094 |
#: admin/woocommerce-admin-reports.php:1076
|
7095 |
#: admin/woocommerce-admin-reports.php:1356
|
7096 |
msgid "From:"
|
7097 |
msgstr "От:"
|
7098 |
|
7099 |
# @ woocommerce
|
7100 |
+
#: admin/woocommerce-admin-reports.php:636 admin/woocommerce-admin-reports.php:821
|
|
|
7101 |
#: admin/woocommerce-admin-reports.php:980
|
7102 |
#: admin/woocommerce-admin-reports.php:1076
|
7103 |
#: admin/woocommerce-admin-reports.php:1229
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Plugin URI: http://saphali.com/saphali-woocommerce-plugin-wordpress
|
|
5 |
Donate link: https://www.liqpay.com/en/checkout/step1/i8373911028
|
6 |
Tags: woocommerce, woo commerce russian, russian ruble, ukrainian hryvnia, mod, manadger filds checkout
|
7 |
Requires at least: WP 3.3 or higher & WooCommerce 1.6.6 or higher
|
8 |
-
Tested up to: 4.
|
9 |
-
Stable tag: 1.6.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -72,6 +72,12 @@ define('SAPHALI_LITE_SYMBOL', 0 );
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
= 1.6.0 =
|
76 |
* Из-за частых обращений, что знак рубля не отображается нормально в WC 2.5.2 и выше, знак рубля вернули, как было. Для тех у кого WC 2.5.2 и выше, и кто хочет использовать на своем сайте знак, который задан в WC, то пусть в файле saphali-woocommerce-lite.php сделает замену:
|
77 |
с
|
5 |
Donate link: https://www.liqpay.com/en/checkout/step1/i8373911028
|
6 |
Tags: woocommerce, woo commerce russian, russian ruble, ukrainian hryvnia, mod, manadger filds checkout
|
7 |
Requires at least: WP 3.3 or higher & WooCommerce 1.6.6 or higher
|
8 |
+
Tested up to: 4.5.0
|
9 |
+
Stable tag: 1.6.2
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
= 1.6.2 =
|
76 |
+
* Изменения в связи с переводом для WC выше 2.5.0.
|
77 |
+
|
78 |
+
= 1.6.1 =
|
79 |
+
* Добавлена валюта - новый белорусский рубль (BYN)
|
80 |
+
|
81 |
= 1.6.0 =
|
82 |
* Из-за частых обращений, что знак рубля не отображается нормально в WC 2.5.2 и выше, знак рубля вернули, как было. Для тех у кого WC 2.5.2 и выше, и кто хочет использовать на своем сайте знак, который задан в WC, то пусть в файле saphali-woocommerce-lite.php сделает замену:
|
83 |
с
|
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.6.
|
7 |
Author: Saphali
|
8 |
Author URI: http://saphali.com/
|
9 |
Text Domain: saphali-woocommerce-lite
|
@@ -35,13 +35,13 @@ Domain Path: /languages
|
|
35 |
|
36 |
// Подключение валюты и локализации
|
37 |
define('SAPHALI_PLUGIN_DIR_URL',plugin_dir_url(__FILE__));
|
38 |
-
define('SAPHALI_LITE_VERSION', '1.6.
|
39 |
define('SAPHALI_PLUGIN_DIR_PATH',plugin_dir_path(__FILE__));
|
40 |
class saphali_lite {
|
41 |
var $email_order_id;
|
42 |
var $column_count_saphali;
|
43 |
function __construct() {
|
44 |
-
if ( version_compare( WOOCOMMERCE_VERSION, '2.2.0', '<' ) )
|
45 |
add_action('before_woocommerce_init', array($this,'load_plugin_textdomain'), 9);
|
46 |
else
|
47 |
add_action('before_woocommerce_init', array($this,'load_plugin_textdomain_th'), 9);
|
@@ -232,7 +232,8 @@ Domain Path: /languages
|
|
232 |
$currencies['RUR'] = __( 'Russian ruble', 'saphali-woocommerce-lite' );
|
233 |
if( version_compare( WOOCOMMERCE_VERSION, '2.5.2', '<' ) || SAPHALI_LITE_SYMBOL )
|
234 |
$currencies['RUB'] = __( 'Russian ruble', 'saphali-woocommerce-lite' );
|
235 |
-
$currencies['
|
|
|
236 |
$currencies['AMD'] = __( 'Armenian dram (Դրամ)', 'saphali-woocommerce-lite' );
|
237 |
$currencies['KGS'] = __( 'Киргизский сом', 'saphali-woocommerce-lite' );
|
238 |
$currencies['KZT'] = __( 'Казахстанский тенге ', 'saphali-woocommerce-lite' );
|
@@ -249,6 +250,7 @@ Domain Path: /languages
|
|
249 |
case 'UAH': $symbol = 'грн.'; break;
|
250 |
case 'RUB': $symbol = '<span class=rur >р<span>уб.</span></span>'; break;
|
251 |
case 'RUR': $symbol = 'руб.'; break;
|
|
|
252 |
case 'BYR': $symbol = 'руб.'; break;
|
253 |
case 'AMD': $symbol = 'Դ'; break;
|
254 |
case 'KGS': $symbol = 'сом'; break;
|
@@ -260,6 +262,7 @@ Domain Path: /languages
|
|
260 |
switch( $currency ) {
|
261 |
case 'UAH': $symbol = 'грн.'; break;
|
262 |
case 'RUR': $symbol = 'руб.'; break;
|
|
|
263 |
case 'BYR': $symbol = 'руб.'; break;
|
264 |
case 'AMD': $symbol = 'Դ'; break;
|
265 |
case 'KGS': $symbol = 'сом'; break;
|
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.6.2
|
7 |
Author: Saphali
|
8 |
Author URI: http://saphali.com/
|
9 |
Text Domain: saphali-woocommerce-lite
|
35 |
|
36 |
// Подключение валюты и локализации
|
37 |
define('SAPHALI_PLUGIN_DIR_URL',plugin_dir_url(__FILE__));
|
38 |
+
define('SAPHALI_LITE_VERSION', '1.6.2' );
|
39 |
define('SAPHALI_PLUGIN_DIR_PATH',plugin_dir_path(__FILE__));
|
40 |
class saphali_lite {
|
41 |
var $email_order_id;
|
42 |
var $column_count_saphali;
|
43 |
function __construct() {
|
44 |
+
if ( version_compare( WOOCOMMERCE_VERSION, '2.2.0', '<' ) || version_compare( WOOCOMMERCE_VERSION, '2.5.0', '>' ) )
|
45 |
add_action('before_woocommerce_init', array($this,'load_plugin_textdomain'), 9);
|
46 |
else
|
47 |
add_action('before_woocommerce_init', array($this,'load_plugin_textdomain_th'), 9);
|
232 |
$currencies['RUR'] = __( 'Russian ruble', 'saphali-woocommerce-lite' );
|
233 |
if( version_compare( WOOCOMMERCE_VERSION, '2.5.2', '<' ) || SAPHALI_LITE_SYMBOL )
|
234 |
$currencies['RUB'] = __( 'Russian ruble', 'saphali-woocommerce-lite' );
|
235 |
+
$currencies['BYN'] = sprintf(__( 'Belarusian ruble%s', 'saphali-woocommerce-lite' ), __(' (new)', 'saphali-woocommerce-lite'));
|
236 |
+
$currencies['BYR'] = sprintf(__( 'Belarusian ruble%s', 'saphali-woocommerce-lite' ), '');
|
237 |
$currencies['AMD'] = __( 'Armenian dram (Դրամ)', 'saphali-woocommerce-lite' );
|
238 |
$currencies['KGS'] = __( 'Киргизский сом', 'saphali-woocommerce-lite' );
|
239 |
$currencies['KZT'] = __( 'Казахстанский тенге ', 'saphali-woocommerce-lite' );
|
250 |
case 'UAH': $symbol = 'грн.'; break;
|
251 |
case 'RUB': $symbol = '<span class=rur >р<span>уб.</span></span>'; break;
|
252 |
case 'RUR': $symbol = 'руб.'; break;
|
253 |
+
case 'BYN': $symbol = 'руб.'; break;
|
254 |
case 'BYR': $symbol = 'руб.'; break;
|
255 |
case 'AMD': $symbol = 'Դ'; break;
|
256 |
case 'KGS': $symbol = 'сом'; break;
|
262 |
switch( $currency ) {
|
263 |
case 'UAH': $symbol = 'грн.'; break;
|
264 |
case 'RUR': $symbol = 'руб.'; break;
|
265 |
+
case 'BYN': $symbol = 'руб.'; break;
|
266 |
case 'BYR': $symbol = 'руб.'; break;
|
267 |
case 'AMD': $symbol = 'Դ'; break;
|
268 |
case 'KGS': $symbol = 'сом'; break;
|