Saphali Woocommerce Russian - Version 1.5.2

Version Description

  • Woocommerce 2.2.
Download this release

Release Info

Developer Saphali
Plugin Icon wp plugin Saphali Woocommerce Russian
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

languages/woocommerce-ru_RU.mo CHANGED
Binary file
languages/woocommerce-ru_RU.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  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: 2014-04-03 06:01+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -17,7 +17,7 @@ msgstr ""
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Textdomain-Support: yes\n"
19
  "Language: ru\n"
20
- "X-Generator: Poedit 1.6.4\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
  # @ woocommerce
@@ -205,6 +205,11 @@ msgstr "Показан один результат"
205
  msgid "Showing all %d results"
206
  msgstr "Показаны все товары. Всего товаров: %d"
207
 
 
 
 
 
 
208
  #: templates/loop/result-count.php:32
209
  #, php-format
210
  msgctxt "%1$d = first, %2$d = last, %3$d = total"
@@ -8295,3 +8300,42 @@ msgstr "Y/m/d g:i:s A"
8295
  #: includes/admin/post-types/class-wc-admin-cpt-shop_order.php:130
8296
  msgid "Y/m/d"
8297
  msgstr "Y/m/d"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  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: 2014-10-20 15:05+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
17
  "X-Poedit-Basepath: ../\n"
18
  "X-Textdomain-Support: yes\n"
19
  "Language: ru\n"
20
+ "X-Generator: Poedit 1.6.9\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
  # @ woocommerce
205
  msgid "Showing all %d results"
206
  msgstr "Показаны все товары. Всего товаров: %d"
207
 
208
+ #: templates/loop/result-count.php:32
209
+ msgctxt "%1$d = first, %2$d = last, %3$d = total"
210
+ msgid "Showing %1$d–%2$d of %3$d results"
211
+ msgstr "Показаны товары с %1$d по %2$d из %3$d"
212
+
213
  #: templates/loop/result-count.php:32
214
  #, php-format
215
  msgctxt "%1$d = first, %2$d = last, %3$d = total"
8300
  #: includes/admin/post-types/class-wc-admin-cpt-shop_order.php:130
8301
  msgid "Y/m/d"
8302
  msgstr "Y/m/d"
8303
+
8304
+ #: includes/class-wc-post-types.php:391 includes/wc-order-functions.php:23
8305
+ msgctxt "Order status"
8306
+ msgid "Pending payment"
8307
+ msgstr "В ожидании оплаты"
8308
+
8309
+ #: includes/class-wc-post-types.php:439 includes/wc-order-functions.php:29
8310
+ msgctxt "Order status"
8311
+ msgid "Failed"
8312
+ msgstr "Неудавшийся"
8313
+
8314
+ #: includes/class-wc-post-types.php:407 includes/wc-order-functions.php:25
8315
+ msgctxt "Order status"
8316
+ msgid "On hold"
8317
+ msgstr "Зарезервирован"
8318
+
8319
+ #: includes/class-wc-post-types.php:415 includes/wc-order-functions.php:26
8320
+ msgctxt "Order status"
8321
+ msgid "Completed"
8322
+ msgstr "Выполнен"
8323
+
8324
+ #: includes/class-wc-post-types.php:431 includes/wc-order-functions.php:28
8325
+ msgctxt "Order status"
8326
+ msgid "Refunded"
8327
+ msgstr "Возмещен"
8328
+
8329
+ #: includes/class-wc-post-types.php:423 includes/wc-order-functions.php:27
8330
+ msgctxt "Order status"
8331
+ msgid "Cancelled"
8332
+ msgstr "Отменен"
8333
+
8334
+ msgid "Sort Code"
8335
+ msgstr "Кор. счет"
8336
+
8337
+ msgid "BIC / Swift"
8338
+ msgstr "БИК / Swift"
8339
+
8340
+ msgid "BIC"
8341
+ msgstr "БИК"
readme.txt CHANGED
@@ -5,9 +5,9 @@ Plugin URI: http://saphali.com/saphali-woocommerce-plugin-wordpress
5
  Donate link: http://saphali.com/vznos
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
8
- Tested up to: 3.9.1
9
- Stable tag: 1.5.1
10
- Version: 1.5.1
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -64,6 +64,9 @@ QIWI, Приват24, LiqPay, WebMoney, Яндекс.Деньги, Интерк
64
 
65
  == Changelog ==
66
 
 
 
 
67
  = 1.5.1 =
68
  * Добавлен литовский лит.
69
 
5
  Donate link: http://saphali.com/vznos
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
8
+ Tested up to: 4.0
9
+ Stable tag: 1.5.2
10
+ Version: 1.5.2
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
64
 
65
  == Changelog ==
66
 
67
+ = 1.5.2 =
68
+ * Изменения в связи с выходом Woocommerce 2.2.
69
+
70
  = 1.5.1 =
71
  * Добавлен литовский лит.
72
 
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.5.1
7
  Author: Saphali
8
  Author URI: http://saphali.com/
9
  */
@@ -30,7 +30,7 @@ Author URI: http://saphali.com/
30
  ------------------------------------------------------------ */
31
  // Подключение валюты и локализации
32
  define('SAPHALI_PLUGIN_DIR_URL',plugin_dir_url(__FILE__));
33
- define('SAPHALI_LITE_VERSION', '1.5.1' );
34
  define('SAPHALI_PLUGIN_DIR_PATH',plugin_dir_path(__FILE__));
35
  class saphali_lite {
36
  var $email_order_id;
@@ -201,14 +201,14 @@ Author URI: http://saphali.com/
201
  $currency = get_option( 'woocommerce_currency' );
202
  if(isset($currency)) {
203
  switch( $currency ) {
204
- case 'UAH': $symbol = 'грн.'; break;
205
- case 'RUB': $symbol = '<span class=rur >p<span>уб.</span></span>'; break;
206
- case 'RUR': $symbol = 'руб.'; break;
207
- case 'BYR': $symbol = 'руб.'; break;
208
- case 'AMD': $symbol = 'Դ'; break;
209
  case 'KGS': $symbol = 'сом'; break;
210
- case 'KZT': $symbol = ''; break;
211
- case 'UZS': $symbol = 'sóm'; break;
212
  case 'LTL': $symbol = 'lt.'; break;
213
  }
214
  }
@@ -246,7 +246,7 @@ Author URI: http://saphali.com/
246
  if ( version_compare( WOOCOMMERCE_VERSION, '2.0', '<' ) ) {
247
  include_once( WP_PLUGIN_DIR . '/' . $woocommerce->template_url. 'classes/class-wc-checkout.php' );
248
  }
249
- else { if(!class_exists('WC_Customer')) $woocommerce->autoload( 'WC_Customer' ); $woocommerce->autoload( 'WC_Checkout' ); }
250
  if(class_exists('WC_Checkout')) {
251
  if(class_exists('WC_Customer')) $woocommerce->customer = new WC_Customer();
252
  $f = new WC_Checkout();
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.5.2
7
  Author: Saphali
8
  Author URI: http://saphali.com/
9
  */
30
  ------------------------------------------------------------ */
31
  // Подключение валюты и локализации
32
  define('SAPHALI_PLUGIN_DIR_URL',plugin_dir_url(__FILE__));
33
+ define('SAPHALI_LITE_VERSION', '1.5.2' );
34
  define('SAPHALI_PLUGIN_DIR_PATH',plugin_dir_path(__FILE__));
35
  class saphali_lite {
36
  var $email_order_id;
201
  $currency = get_option( 'woocommerce_currency' );
202
  if(isset($currency)) {
203
  switch( $currency ) {
204
+ case 'UAH': $symbol = '&#x433;&#x440;&#x43D;.'; break;
205
+ case 'RUB': $symbol = '<span class=rur >&#x440;<span>&#x443;&#x431;.</span></span>'; break;
206
+ case 'RUR': $symbol = '&#x440;&#x443;&#x431;.'; break;
207
+ case 'BYR': $symbol = '&#x440;&#x443;&#x431;.'; break;
208
+ case 'AMD': $symbol = '&#x534;'; break;
209
  case 'KGS': $symbol = 'сом'; break;
210
+ case 'KZT': $symbol = '&#x20B8;'; break;
211
+ case 'UZS': $symbol = '&#x441;&#x45E;&#x43C;'; break;
212
  case 'LTL': $symbol = 'lt.'; break;
213
  }
214
  }
246
  if ( version_compare( WOOCOMMERCE_VERSION, '2.0', '<' ) ) {
247
  include_once( WP_PLUGIN_DIR . '/' . $woocommerce->template_url. 'classes/class-wc-checkout.php' );
248
  }
249
+ else { if(!class_exists('WC_Customer')) $woocommerce->autoload( 'WC_Customer' ); $woocommerce->autoload( 'WC_Checkout' ); if ( !version_compare( WOOCOMMERCE_VERSION, '2.2', '<' ) ) { include_once( WP_PLUGIN_DIR . '/' . WC()->template_path() . 'includes/abstracts/abstract-wc-session.php' ); include_once( WP_PLUGIN_DIR . '/' . WC()->template_path() . 'includes/class-wc-session-handler.php' ); $woocommerce->session = new WC_Session_Handler();} }
250
  if(class_exists('WC_Checkout')) {
251
  if(class_exists('WC_Customer')) $woocommerce->customer = new WC_Customer();
252
  $f = new WC_Checkout();