Commit c8997eae by 牛晓林

latest

parent 866e4b64
...@@ -2752,3 +2752,44 @@ ...@@ -2752,3 +2752,44 @@
[29-Jan-2019 09:11:43 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token ! [29-Jan-2019 09:11:43 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:11:43 UTC] The woocommerce_get_page_id function is deprecated since version 3.0. Replace with wc_get_page_id. [29-Jan-2019 09:11:43 UTC] The woocommerce_get_page_id function is deprecated since version 3.0. Replace with wc_get_page_id.
[29-Jan-2019 09:15:14 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:15:14 UTC] WP_Weixin_Wechat->__call on line 49 - Wechat_SDK::getAccessToken: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:14 UTC] WP_Weixin_Wechat->__call on line 50 - Wechat_SDK::getAccessTokenExpiry: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:16 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:15:16 UTC] WP_Weixin_Wechat->__call on line 49 - Wechat_SDK::getAccessToken: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:16 UTC] WP_Weixin_Wechat->__call on line 50 - Wechat_SDK::getAccessTokenExpiry: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:18 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:15:18 UTC] WP_Weixin_Wechat->__call on line 49 - Wechat_SDK::getAccessToken: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:18 UTC] WP_Weixin_Wechat->__call on line 50 - Wechat_SDK::getAccessTokenExpiry: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:23 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:15:23 UTC] The woocommerce_get_page_id function is deprecated since version 3.0. Replace with wc_get_page_id.
# Windows
[Dd]esktop.ini
Thumbs.db
$RECYCLE.BIN/
# macOS
.DS_Store
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
# Node.js
node_modules/
...@@ -13,8 +13,8 @@ App({ ...@@ -13,8 +13,8 @@ App({
data: { data: {
version: '1.8', version: '1.8',
versionDate: '20190102', versionDate: '20190102',
siteURL: 'http://192.168.19.226/wordpress', siteURL: 'http://192.168.19.208/',
name: 'WooCommerce微信小程序', name: '中茶',
logo: '/images/woo-logo.png', logo: '/images/woo-logo.png',
apiPath: 'wp-json/w2w/v1/', apiPath: 'wp-json/w2w/v1/',
apiList: { apiList: {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.5.0", "libVersion": "2.5.0",
"appid": "wxa2ef6077d359bd09", "appid": "wxa2ef6077d359bd09",
"projectname": "%E4%B8%AD%E8%8C%B6", "projectname": "%E4%B8%AD%E8%8C%B6%E5%B0%8F%E7%A8%8B%E5%BA%8F",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []
}, },
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
$currenthost = "http://".$_SERVER['HTTP_HOST']; $currenthost = "http://".$_SERVER['HTTP_HOST'];
// ** MySQL 设置 - 具体信息来自您正在使用的主机 ** // // ** MySQL 设置 - 具体信息来自您正在使用的主机 ** //
/** WordPress数据库的名称 */ /** WordPress数据库的名称 */
if($_SERVER['HTTP_HOST']=="localhost"){ if($_SERVER['HTTP_HOST']=="localhost" || $_SERVER['HTTP_HOST']== "192.168.19.208" || $_SERVER['HTTP_HOST']=="192.168.19.226"){
define('DB_NAME', 'wordpress'); define('DB_NAME', 'wordpress');
define('DB_USER', 'root'); define('DB_USER', 'root');
...@@ -81,7 +81,7 @@ $table_prefix = 'wp_'; ...@@ -81,7 +81,7 @@ $table_prefix = 'wp_';
* *
* @link https://codex.wordpress.org/Debugging_in_WordPress * @link https://codex.wordpress.org/Debugging_in_WordPress
*/ */
define('WP_DEBUG', false); define('WP_DEBUG', true);
/* That's all, stop editing! Happy blogging. */ /* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */ /** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') ) if ( !defined('ABSPATH') )
......
# Copyright (C) 2018 PW WooCommerce Gift Cards
# This file is distributed under the same license as the PW WooCommerce Gift Cards package.
msgid ""
msgstr ""
"Project-Id-Version: PW WooCommerce Gift Cards 1.38\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/free\n"
"POT-Creation-Date: 2018-12-14 04:47:54+00:00\n"
"PO-Revision-Date: 2019-01-30 14:19+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.1\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
#: admin/pw-gift-cards-admin.php:34 admin/pw-gift-cards-admin.php:136
#: admin/pw-gift-cards-admin.php:147 admin/pw-gift-cards-admin.php:159
#: admin/pw-gift-cards-admin.php:160 admin/pw-gift-cards-admin.php:168
#: admin/pw-gift-cards-admin.php:169 admin/pw-gift-cards-admin.php:283
msgid "PW Gift Cards"
msgstr "PW Gift Cards"
#: admin/pw-gift-cards-admin.php:40
msgid "Auto Complete Orders"
msgstr "Автоматические полные заказы"
#: admin/pw-gift-cards-admin.php:41
msgid ""
"When an order only contains gift cards, automatically mark the order as "
"Complete to send the gift cards immediately."
msgstr ""
"Когда заказ содержит только подарочные карты, автоматически отметьте заказ "
"как Complete, чтобы немедленно отправить подарочные карты."
#: admin/pw-gift-cards-admin.php:47
msgid "Buy Gift Cards with Gift Cards"
msgstr "Купить подарочные карты с подарочными картами"
#: admin/pw-gift-cards-admin.php:48
msgid ""
"Allow customers to purchase gift cards using another gift card. Disable this "
"to prevent customers from extending the date on expiring gift cards. "
"Default: Checked."
msgstr ""
"Разрешить клиентам покупать подарочные карты с помощью другой подарочной "
"карты. Отключите этот параметр, чтобы запретить клиентам продлевать срок "
"действия подарочных карт. По умолчанию: проверено."
#: admin/pw-gift-cards-admin.php:54
msgid "Use the WooCommerce Transactional Email System"
msgstr "Использование системы транзакционной электронной почты WooCommerce"
#: admin/pw-gift-cards-admin.php:55
msgid ""
"Enabled by default. If you are not receiving your gift card emails, try "
"disabling this setting."
msgstr ""
"Включено по умолчанию. Если вы не получаете письма с подарочной картой, "
"попробуйте отключить эту настройку."
#: admin/pw-gift-cards-admin.php:61
msgid "Apply fix for missing fields"
msgstr "Применить исправление для отсутствующих полей"
#: admin/pw-gift-cards-admin.php:62
msgid ""
"If you do not see the To / From / Message fields on your gift card product "
"page, try checking this box and reloading. Some themes have out of date "
"WooCommerce template files and need to be patched to work with the Gift Card "
"product."
msgstr ""
"Если вы не видите поля Кому/откуда/сообщение на странице продукта подарочной "
"карты, попробуйте проверить это поле и перезагрузить. Некоторые темы имеют "
"устаревшие файлы шаблонов WooCommerce и должны быть исправлены для работы с "
"продуктом подарочной карты."
#: admin/pw-gift-cards-admin.php:68
msgid "Format Prices"
msgstr "Формат цены"
#: admin/pw-gift-cards-admin.php:69
msgid ""
"For fixed gift card amounts, format the price with the system currency "
"symbol. This is enabled by default. If you are having trouble with currency "
"switchers, disable this setting. Note: You must remove and re-add your fixed "
"gift card amounts if you change this setting."
msgstr ""
"Для фиксированных сумм подарочных карт отформатируйте цену с помощью символа "
"системной валюты. Это включено по умолчанию. Если у вас возникли проблемы с "
"валютными коммутаторами, отключите эту настройку. Примечание: при изменении "
"этого параметра необходимо удалить и повторно добавить фиксированные суммы "
"подарочных карт."
#: admin/pw-gift-cards-admin.php:75
msgid "Redeem Location - Cart"
msgstr "Купить местоположение-корзина"
#: admin/pw-gift-cards-admin.php:76
msgid "Specifies where the \"Apply Gift Card\" box appears on the Cart page."
msgstr ""
"Указывает, где на странице Корзина появится поле «Применить подарочную "
"карту»."
#: admin/pw-gift-cards-admin.php:84
msgid "Above the \"Proceed to Checkout\" button."
msgstr "Над кнопкой \"перейти к оформлению заказа\"."
#: admin/pw-gift-cards-admin.php:85 admin/pw-gift-cards-admin.php:100
msgid "Below the \"Apply Coupon\" area."
msgstr "Ниже области \"применить купон\"."
#: admin/pw-gift-cards-admin.php:86 admin/pw-gift-cards-admin.php:101
msgid "Do not display gift card field."
msgstr "Не отображать поле подарочной карты."
#: admin/pw-gift-cards-admin.php:90
msgid "Redeem Location - Checkout"
msgstr "ВыКупить местоположение-оформить заказ"
#: admin/pw-gift-cards-admin.php:91
msgid ""
"Specifies where the \"Apply Gift Card\" box appears on the Checkout page."
msgstr ""
"Указывает, где на странице \"оформить заказ\" появится поле \"применить "
"подарочную карту\"."
#: admin/pw-gift-cards-admin.php:99
msgid "Below the \"Payment Methods\" area."
msgstr "Ниже в области \"способы оплаты\"."
#: admin/pw-gift-cards-admin.php:137 admin/pw-gift-cards-admin.php:148
msgid "Pimwick Plugins"
msgstr "Pimwick Plugins"
#: admin/pw-gift-cards-admin.php:218
msgid "Wait"
msgstr "Подождите"
#: admin/pw-gift-cards-admin.php:219
msgid "Add"
msgstr "Добавить"
#: admin/pw-gift-cards-admin.php:220
msgid "Remove"
msgstr "Удалить"
#: admin/pw-gift-cards-admin.php:221
#: includes/class-wc-product-pw-gift-card.php:62
msgid "Amount must be greater than zero."
msgstr "Сумма должна быть больше нуля."
#: admin/pw-gift-cards-admin.php:222
msgid "Amount must be greater than minimum amount."
msgstr "Сумма должна быть больше нуля."
#: admin/pw-gift-cards-admin.php:223
msgid "Amount must be less than maximum amount."
msgstr "Сумма должна быть меньше максимальной суммы."
#: admin/pw-gift-cards-admin.php:224
msgid "Error"
msgstr "Ошибка"
#: admin/pw-gift-cards-admin.php:242 admin/pw-gift-cards-admin.php:471
#: pw-gift-cards.php:104
msgid "Gift Card"
msgstr "Подарочная карта"
#: admin/pw-gift-cards-admin.php:319
msgid "Could not locate product id %s"
msgstr "Не удалось обнаружить идентификатор продукта %s"
#: admin/pw-gift-cards-admin.php:343
msgid "Could not locate product using product_id "
msgstr "Не удалось найти продукт с помощью Идентификаторпродукта "
#: admin/pw-gift-cards-admin.php:455
msgid "Settings saved."
msgstr "Настройки сохранены."
#: admin/pw-gift-cards-admin.php:535 admin/pw-gift-cards-admin.php:549
msgid "Gift card not found."
msgstr "Подарочная карта не найдена."
#: admin/ui/footer.php:30
msgid "Need help? Email %s"
msgstr "Нужна помощь? Электронная почта %s"
#: admin/ui/footer.php:32
msgid ""
"Please consider <%s>leaving a review on WordPress.org</a>. This really helps "
"us out!"
msgstr ""
"Пожалуйста, рассмотрим <%s>оставив отзыв о WordPress.org</а>. Это "
"действительно помогает нам!"
#: admin/ui/initial-setup.php:12
msgid "Step 1: Create a \"%s\" product to start selling Gift Cards."
msgstr ""
"Шаг 1: Создайте продукт \" %s\", чтобы начать продавать подарочные карты."
#: admin/ui/initial-setup.php:16
msgid "Create the Gift Card product"
msgstr "Создание продукта подарочной карты"
#: admin/ui/initial-setup.php:24
msgid "Success!"
msgstr "Успешно!"
#: admin/ui/initial-setup.php:25
msgid ""
"The Gift Card product has been created. Click on the Products menu in the "
"left to edit it."
msgstr ""
"Создан продукт подарочной карты. Нажмите на меню продукты слева, чтобы "
"отредактировать его."
#: admin/ui/initial-setup.php:30
msgid "Step 2: Let your customers check their gift card balances."
msgstr "Шаг 2: пусть ваши клиенты проверить свои остатки подарочной карты."
#: admin/ui/initial-setup.php:32
msgid ""
"Upgrade to <a href=\"%s\" target=\"_blank\">PW WooCommerce Gift Cards Pro</"
"a> to create a Check Balance page for your customers."
msgstr ""
"Обновление до <a href=\"%s\" target=\"_blank\">PW WooCommerce Gift Cards "
"Pro</а> создать страницу проверки баланса для ваших клиентов."
#: admin/ui/order-gift-card-total.php:34
msgid "PW Gift Card"
msgstr "PW Gift Card"
#: admin/ui/product-data-panel-cards.php:35
msgid "Gift card amounts"
msgstr "Суммы подарочных карт"
#: admin/ui/product-data-panel-cards.php:39
msgid ""
"The available denominations that can be purchased. For example: %1$s25.00, "
"%1$s50.00, %1$s100.00"
msgstr ""
"Доступные номиналы, которые можно приобрести. Например: %1$s25.00, "
"%1$s50.00, %1$s100.00"
#: admin/ui/product-data-panel-cards.php:58
msgid "PW WooCommerce Gift Cards Pro"
msgstr "PW WooCommerce Gift Cards Pro"
#: admin/ui/product-data-panel-cards.php:58
msgid " includes these great additional features:"
msgstr " включает в себя эти большие дополнительные функции:"
#: admin/ui/product-data-panel-cards.php:60
msgid "Custom Amounts"
msgstr "Пользовательские суммы"
#: admin/ui/product-data-panel-cards.php:60
msgid ""
"Allow customers to specify the amount. You can set a minimum and a maximum "
"amount."
msgstr ""
"Разрешить клиентам указывать сумму. Вы можете установить минимальную и "
"максимальную сумму."
#: admin/ui/product-data-panel-cards.php:61
msgid "Delivery Date"
msgstr "Дата доставки"
#: admin/ui/product-data-panel-cards.php:61
msgid ""
"Customers can choose when the gift card should be delivered to the recipient."
msgstr ""
"Клиенты могут выбрать, когда Подарочная карта должна быть доставлена "
"получателю."
#: admin/ui/product-data-panel-cards.php:62
msgid "Physical Gift Cards"
msgstr "Физические подарочные карты"
#: admin/ui/product-data-panel-cards.php:62
msgid ""
"Sell physical gift cards to your customers without requiring a recipient "
"email address."
msgstr ""
"ПроДавайте физические подарочные карты своим клиентам, не требуя адреса "
"электронной почты получателя."
#: admin/ui/product-data-panel-cards.php:63 admin/ui/section-buttons.php:15
msgid "Create Gift Cards"
msgstr "Создание подарочных карт"
#: admin/ui/product-data-panel-cards.php:63
msgid ""
"Enter the quantity, amount, and expiration date to easily generate gift "
"cards."
msgstr ""
"Введите количество, сумму и дату окончания срока действия, чтобы легко "
"генерировать подарочные карты."
#: admin/ui/product-data-panel-cards.php:64 admin/ui/section-buttons.php:19
msgid "Import Card Numbers"
msgstr "Импорт номеров карточек"
#: admin/ui/product-data-panel-cards.php:64
msgid ""
"Have physical cards or numbers from another system? Import them in one click!"
msgstr ""
"У вас есть физические карты или номера из другой системы? Импортируйте их в "
"один клик!"
#: admin/ui/product-data-panel-cards.php:65
msgid "Default Amount"
msgstr "Стандартная величина"
#: admin/ui/product-data-panel-cards.php:65
msgid "choose an amount that will be pre-selected when purchasing a gift card."
msgstr ""
"выбрать сумму, которая будет предварительно выбрана при покупке подарочной "
"карты."
#: admin/ui/product-data-panel-cards.php:66 admin/ui/section-buttons.php:11
msgid "Balances"
msgstr "Балансы"
#: admin/ui/product-data-panel-cards.php:66
msgid "A shortcode to let customers check their gift card balances."
msgstr ""
"Короткий, чтобы позволить клиентам проверить свои остатки подарочной карты."
#: admin/ui/product-data-panel-cards.php:67
msgid "Expiration Dates"
msgstr "Срок годности"
#: admin/ui/product-data-panel-cards.php:67
msgid "Automatically set an expiration date based on the purchase date."
msgstr ""
"Автоматически установить дату истечения срока действия на основе даты "
"покупки."
#: admin/ui/product-data-panel-cards.php:68
msgid "Balance Adjustments"
msgstr "Корректировки баланса"
#: admin/ui/product-data-panel-cards.php:68
msgid "Perform balance adjustments in the admin area."
msgstr "Выполните коррекцию баланса в области администрирования."
#: admin/ui/section-buttons.php:23
msgid "Settings"
msgstr "Настройки"
#: admin/ui/sections/activity-records.php:25
msgid "Hide"
msgstr "Скрыть"
#: admin/ui/sections/activity-records.php:29
msgid "Date"
msgstr "Дата"
#: admin/ui/sections/activity-records.php:30
msgid "Action"
msgstr "Действие"
#: admin/ui/sections/activity-records.php:31
msgid "User"
msgstr "Пользователь"
#: admin/ui/sections/activity-records.php:32
msgid "Note"
msgstr "Заметка"
#: admin/ui/sections/activity-records.php:33 pw-gift-cards.php:105
#: templates/woocommerce/emails/customer-pw-gift-card.php:110
msgid "Amount"
msgstr "Сумма"
#: admin/ui/sections/activity-records.php:34
#: admin/ui/sections/search-results.php:33
msgid "Balance"
msgstr "Баланс"
#: admin/ui/sections/activity-records.php:56
msgid "Guest"
msgstr "Гость"
#: admin/ui/sections/balance-summary.php:32
msgid "Active gift cards"
msgstr "Активные подарочные карты"
#: admin/ui/sections/balance-summary.php:36
msgid "Outstanding balances"
msgstr "НеПогашенные остатки"
#: admin/ui/sections/balances.php:32
msgid "Gift card number or recipient email (leave blank for all)"
msgstr ""
"Номер подарочной карты или адрес электронной почты получателя (оставьте "
"пустым для всех)"
#: admin/ui/sections/balances.php:33
msgid "Search"
msgstr "Поиск"
#: admin/ui/sections/create.php:25
msgid ""
"Upgrade to <a href=\"%s\" target=\"_blank\">PW WooCommerce Gift Cards Pro</"
"a> to create gift cards from the admin area."
msgstr ""
"Обновление до <a href=\"%s\" target=\"_blank\">PW WooCommerce Gift Cards "
"Pro</а> для создания подарочных карт из области администратора."
#: admin/ui/sections/import.php:25
msgid ""
"Upgrade to <a href=\"%s\" target=\"_blank\">PW WooCommerce Gift Cards Pro</"
"a> to import existing gift card numbers."
msgstr ""
"Обновление до <a href=\"%s\" target=\"_blank\">PW WooCommerce Gift Cards "
"Pro</а> импортировать существующие номера подарочных карт."
#: admin/ui/sections/search-results.php:25
msgid "No results"
msgstr "Нет результатов"
#: admin/ui/sections/search-results.php:26
msgid "There are no gift cards found matching your search terms."
msgstr "Не найдены подарочные карты, соответствующие вашим поисковым запросам."
#: admin/ui/sections/search-results.php:32
msgid "Card Number"
msgstr "Номер карты"
#: admin/ui/sections/search-results.php:34
msgid "Expiration Date"
msgstr "Срок годности"
#: admin/ui/sections/search-results.php:44
msgid "Card has been deleted."
msgstr "Карта была удалена."
#: admin/ui/sections/search-results.php:56
msgid "View activity"
msgstr "Просмотр активности"
#: admin/ui/sections/search-results.php:58
msgid "Delete"
msgstr "Удалить"
#: admin/ui/sections/search-results.php:61
msgid "Restore"
msgstr "Восстановить"
#: admin/ui/sections/search-results.php:80
msgid "Are you sure you want to delete this gift card?"
msgstr "Вы действительно хотите удалить эту подарочную карту?"
#: admin/ui/sections/settings.php:35
msgid "Save Settings"
msgstr "Сохранить настройки"
#: includes/class-pw-gift-card-activity.php:90
msgid "Could not find activity record %d."
msgstr "Не удалось найти запись активности% d."
#: includes/class-pw-gift-card-activity.php:102
msgid "Invalid action value: "
msgstr "Недопустимое значение действия: "
#: includes/class-pw-gift-card.php:66
msgid "Card number does not exist."
msgstr "Номер карты не существует."
#: includes/class-pw-gift-card.php:69
msgid "Enter a card number."
msgstr "Введите номер карты."
#: includes/class-pw-gift-card.php:85
#: templates/woocommerce/cart/cart-pw-gift-card.php:52
#: templates/woocommerce/checkout/pw-gift-cards.php:54
msgid "Expired"
msgstr "Истекший"
#: includes/class-pw-gift-card.php:88
msgid "None"
msgstr "Нет"
#: includes/class-pw-gift-card.php:146
msgid "Amount added should be greater than zero."
msgstr "Добавленная сумма должна быть больше нуля."
#: includes/class-pw-gift-card.php:154
msgid "Amount deducted should be less than zero."
msgstr "Сумма вычета должна быть меньше нуля."
#: includes/class-pw-gift-card.php:163
msgid "Unable to adjust balance, card is not active."
msgstr "Не удается настроить баланс, карта не активна."
#: includes/class-pw-gift-card.php:167
msgid "Balance is currently %s, unable to adjust by %s"
msgstr "Сальдо в настоящее время %s, не удается настроить %s"
#: includes/class-pw-gift-card.php:225
msgid "Card Number cannot be empty."
msgstr "Номер карты не может быть пустым."
#: includes/class-pw-gift-card.php:257
msgid "Failed to generate a unique random card number after %d attempts. %s"
msgstr ""
"Не удалось создать уникальный номер случайной карты после% d попыток. %s"
#: includes/class-pw-gift-card.php:309
msgid "Property %s does not exist on %s"
msgstr "Свойство %s не существует в %s"
#: includes/class-wc-product-pw-gift-card.php:75
msgid "Amount already exists: "
msgstr "Сумма уже существует: "
#: includes/class-wc-product-pw-gift-card.php:88
msgid "Could not create variation."
msgstr "Не удалось создать вариацию."
#: includes/class-wc-product-pw-gift-card.php:109
msgid "Could not locate variation using variation_id "
msgstr "Не удалось обнаружить вариации с помощью вариатион_ид "
#: includes/class-wc-product-pw-gift-card.php:247
msgid "Select amount"
msgstr "Выберите сумму"
#: includes/emails/class-wc-email-pw-gift-card.php:31
msgid "PW Gift Card Email"
msgstr "PW Gift Card Email"
#: includes/emails/class-wc-email-pw-gift-card.php:32
msgid "This email is sent to the recipients of a gift card."
msgstr "Это сообщение отправляется получателям подарочной карты."
#: includes/emails/class-wc-email-pw-gift-card.php:34
msgid "You were given a gift card"
msgstr "Вам дали подарочную карту"
#: includes/emails/class-wc-email-pw-gift-card.php:35
msgid "{sender} sent you a gift card"
msgstr "{sender} отправил вам подарочную карту"
#: includes/emails/class-wc-email-pw-gift-card.php:218
msgid "Enable/Disable"
msgstr "Включить/Выключить"
#: includes/emails/class-wc-email-pw-gift-card.php:220
msgid "Enable this email notification"
msgstr "Включить это уведомление по электронной почте"
#: includes/emails/class-wc-email-pw-gift-card.php:224
msgid "Subject"
msgstr "Тема"
#: includes/emails/class-wc-email-pw-gift-card.php:226
msgid ""
"This controls the email subject line. Leave blank to use the default "
"subject: <code>%s</code>."
msgstr ""
"Это контролирует строку темы сообщения электронной почты. Оставьте поле "
"пустым, чтобы использовать тему по умолчанию: <code>%s</code>."
#: includes/emails/class-wc-email-pw-gift-card.php:231
msgid "Email Heading"
msgstr "Заголовок письма"
#: includes/emails/class-wc-email-pw-gift-card.php:233
msgid ""
"This controls the main heading contained within the email notification. "
"Leave blank to use the default heading: <code>%s</code>."
msgstr ""
"Настройка основного заголовка для почтовых уведомлений. Оставьте пустым, "
"чтобы использовать стандартное значение: <code>%s</code>."
#: includes/emails/class-wc-email-pw-gift-card.php:238
msgid "Email type"
msgstr "Тип письма"
#: includes/emails/class-wc-email-pw-gift-card.php:240
msgid "Choose which format of email to send."
msgstr "Выберите, какой формат электронной почты для отправки."
#: includes/emails/class-wc-email-pw-gift-card.php:244
msgid "Plain text"
msgstr "Простой текст"
#: includes/emails/class-wc-email-pw-gift-card.php:245
msgid "HTML"
msgstr "HTML"
#: includes/emails/class-wc-email-pw-gift-card.php:246
msgid "Multipart"
msgstr "Составное"
#: includes/pw-gift-cards-purchasing.php:66
msgid "Choose an amount"
msgstr "Выберите сумму"
#: includes/pw-gift-cards-purchasing.php:194
msgid "Order %s purchased by %s %s"
msgstr "Заказ %s, купленный %s %s"
#: includes/pw-gift-cards-purchasing.php:217
msgid "Unable to retrieve variation "
msgstr "Не удается получить вариацию "
#: includes/pw-gift-cards-purchasing.php:292
msgid " (inactive)"
msgstr " (неактивные)"
#: includes/pw-gift-cards-redeeming.php:224
msgid "Gift card:"
msgid_plural "Gift cards:"
msgstr[0] "Подарочная карта:"
msgstr[1] "Подарочная карта:"
msgstr[2] "Подарочная карта:"
#: includes/pw-gift-cards-redeeming.php:295
msgid "Shipping via %s"
msgstr "Доставка через %s"
#: includes/pw-gift-cards-redeeming.php:313
#: includes/pw-gift-cards-redeeming.php:363
#: includes/pw-gift-cards-redeeming.php:429 pw-gift-cards.php:148
msgid "This gift card has a zero balance."
msgstr "Эта подарочная карта имеет нулевой баланс."
#: includes/pw-gift-cards-redeeming.php:316
#: includes/pw-gift-cards-redeeming.php:432 pw-gift-cards.php:151
msgid "Gift card applied."
msgstr "Подарочная карта применяется."
#: includes/pw-gift-cards-redeeming.php:331
msgid "Gift card removed."
msgstr "Подарочная карта удалена."
#: includes/pw-gift-cards-redeeming.php:359
msgid "Gift cards cannot be used to purchase other gift cards."
msgstr ""
"Подарочные карты не могут быть использованы для покупки других подарочных "
"карт."
#: includes/pw-gift-cards-redeeming.php:366
msgid "Card is inactive."
msgstr "Карта неактивна."
#: includes/pw-gift-cards-redeeming.php:434
msgid "Error: %s"
msgstr "Ошибка: %s"
#: pw-gift-cards.php:103
msgid "Gift Card Amount"
msgstr "Сумма подарочной карты"
#: pw-gift-cards.php:106
msgid "To"
msgstr "До"
#: pw-gift-cards.php:107
msgid "From"
msgstr "От"
#: pw-gift-cards.php:108
msgid "Message"
msgstr "Сообщение"
#: pw-gift-cards.php:166
msgid "Required"
msgstr "Обязательно"
#: pw-gift-cards.php:167
msgid "Minimum amount is %s"
msgstr "Минимальная сумма %s"
#: pw-gift-cards.php:168
msgid "Maximum amount is %s"
msgstr "Максимальная сумма %s"
#: pw-gift-cards.php:169
msgid ""
"The \"To\" field should only contain email addresses. The following "
"recipients do not look like valid email addresses:"
msgstr ""
"Поле \"До\" должно содержать только адреса электронной почты. Следующие "
"получатели не выглядят как действительные адреса электронной почты:"
#: pw-gift-cards.php:284
msgid "%s requires WooCommerce version %s or later."
msgstr "для %s требуется версия WooCommerce %s или более поздняя."
#: templates/woocommerce/cart/apply-gift-card-after-cart-contents.php:34
msgid "Gift Card:"
msgstr "Подарочная карта:"
#: templates/woocommerce/cart/apply-gift-card-after-cart-contents.php:35
#: templates/woocommerce/cart/apply-gift-card.php:47
#: templates/woocommerce/checkout/coupon-area-pw-gift-card.php:34
#: templates/woocommerce/checkout/payment-method-pw-gift-card.php:29
msgid "Gift card number"
msgstr "Номер подарочной карты"
#: templates/woocommerce/cart/apply-gift-card-after-cart-contents.php:36
#: templates/woocommerce/checkout/coupon-area-pw-gift-card.php:38
msgid "Apply gift card"
msgstr "Применить"
#: templates/woocommerce/cart/apply-gift-card-after-cart-contents.php:36
#: templates/woocommerce/cart/apply-gift-card.php:48
#: templates/woocommerce/checkout/coupon-area-pw-gift-card.php:38
#: templates/woocommerce/checkout/payment-method-pw-gift-card.php:30
msgid "Please wait..."
msgstr "Пожалуйста, подождите..."
#: templates/woocommerce/cart/apply-gift-card.php:45
#: templates/woocommerce/checkout/coupon-area-pw-gift-card.php:26
#: templates/woocommerce/checkout/payment-method-pw-gift-card.php:27
msgid "Have a gift card?"
msgstr "是否拥有礼品卡?"
#: templates/woocommerce/cart/apply-gift-card.php:48
msgid "Apply"
msgstr "Применить"
#: templates/woocommerce/cart/cart-pw-gift-card.php:43
#: templates/woocommerce/checkout/pw-gift-cards.php:45
msgid "Gift card"
msgstr "Подарочная карта"
#: templates/woocommerce/cart/cart-pw-gift-card.php:46
#: templates/woocommerce/checkout/pw-gift-cards.php:48
msgid "Remaining balance is %s"
msgstr "Остаток баланса %s"
#: templates/woocommerce/cart/cart-pw-gift-card.php:59
msgid "Gift Card Total"
msgstr "Подарочная карта всего"
#: templates/woocommerce/cart/cart-pw-gift-card.php:61
#: templates/woocommerce/checkout/pw-gift-cards.php:63
msgid "[Remove]"
msgstr "[Удалить]"
#: templates/woocommerce/checkout/coupon-area-pw-gift-card.php:26
msgid "Click here to enter your gift card number"
msgstr "Нажмите здесь, чтобы ввести номер вашей подарочной карты"
#: templates/woocommerce/checkout/coupon-area-pw-gift-card.php:31
msgid "If you have a gift card number, please apply it below."
msgstr ""
"Если у вас есть номер подарочной карты, пожалуйста, примените его ниже."
#: templates/woocommerce/checkout/payment-method-pw-gift-card.php:30
msgid "Apply Gift Card"
msgstr "Применить подарочную карту"
#: templates/woocommerce/emails/customer-pw-gift-card.php:106
#: templates/woocommerce/emails/plain/customer-pw-gift-card.php:25
msgid "%s Gift Card"
msgstr "Подарочная карта %s"
#: templates/woocommerce/emails/customer-pw-gift-card.php:115
msgid "Gift Card Number"
msgstr "Номер подарочной карты"
#: templates/woocommerce/emails/customer-pw-gift-card.php:120
msgid "Redeem"
msgstr "Активировать"
#: templates/woocommerce/emails/plain/customer-pw-gift-card.php:26
msgid "Amount: %s"
msgstr "Сумма: %s"
#: templates/woocommerce/emails/plain/customer-pw-gift-card.php:27
msgid "Gift card number: %s"
msgstr "Номер подарочной карты: %s"
#: templates/woocommerce/emails/plain/customer-pw-gift-card.php:28
msgid "Link: %s"
msgstr "Ссылка: %s"
#: templates/woocommerce/emails/plain/customer-pw-gift-card.php:32
msgid "Message:"
msgstr "Сообщение:"
#: templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php:83
msgid "Enter an email address for each recipient"
msgstr "Введите адрес электронной почты для каждого получателя"
#: templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php:84
msgid "Separate multiple email addresses with a comma."
msgstr "РазДелите несколько адресов электронной почты запятой."
#: templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php:89
msgid "Your name"
msgstr "Ваше имя"
#: templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php:93
msgid "(optional)"
msgstr "(необязательно)"
#: templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php:94
msgid "Add a message"
msgstr "Добавление сообщения"
#: templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php:95
msgid "characters remaining"
msgstr "символов осталось"
#: templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php:99
msgid "Quantity"
msgstr "Количество"
#: templates/woocommerce/single-product/add-to-cart/pw-gift-card-before-add-to-cart-quantity.php:100
msgid "1 to each recipient"
msgstr "1 каждому получателю"
#. Plugin Name of the plugin/theme
msgid "PW WooCommerce Gift Cards"
msgstr "PW WooCommerce Gift Cards"
#. Plugin URI of the plugin/theme
msgid "https://www.pimwick.com/gift-cards/"
msgstr "https://www.pimwick.com/gift-cards/"
#. Description of the plugin/theme
msgid "Sell gift cards in your WooCommerce store."
msgstr "ПроДавайте подарочные карты в вашем магазине WooCommerce."
#. Author of the plugin/theme
msgid "Pimwick, LLC"
msgstr "Pimwick, LLC"
#. Author URI of the plugin/theme
msgid "https://www.pimwick.com"
msgstr "https://www.pimwick.com"
#~ msgid "Invalid Email Notification"
#~ msgstr "НеДопустимый% выкл"
#~ msgid ""
#~ "Enter the email address (or addresses, comma separated) that should get "
#~ "the gift card email notification when there is a problem sending to the "
#~ "recipient."
#~ msgstr ""
#~ "Введите адрес электронной почты (или адреса, разделенные запятой), "
#~ "которые должны получить уведомление по электронной почте подарочной "
#~ "карты, когда есть проблема отправки получателю."
...@@ -147,7 +147,7 @@ class WP_Weixin_Wechat_Singleton { ...@@ -147,7 +147,7 @@ class WP_Weixin_Wechat_Singleton {
} }
$configuration_fail = ! $appid || ! $secret || ( $encode && ! $aeskey ) || ( $responder && ! $token ); $configuration_fail = ! $appid || ! $secret || ( $encode && ! $aeskey ) || ( $responder && ! $token );
$configuration_fail = $configuration_fail || ( $ecommerce && ( ! $mch_id || ! $mch_key ) ); // $configuration_fail = $configuration_fail || ( $ecommerce && ( ! $mch_id || ! $mch_key ) );
if ( $configuration_fail ) { if ( $configuration_fail ) {
......
2019-01-30T02:51:49+00:00 INFO 订单查询: {"return_code":"FAIL","return_msg":"mch_id\u53c2\u6570\u683c\u5f0f\u9519\u8bef"}
2019-01-30T03:04:43+00:00 ERROR 微信API请求错误: {"request":{"offset":0,"count":10},"response":{"headers":{},"body":"{\"errcode\":40001,\"errmsg\":\"invalid credential, access_token is invalid or not latest hint: [dHDU5a0482vr49!]\"}","response":{"code":200,"message":"OK"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
2019-01-30T03:51:33+00:00 WARNING 请到设置-模板消息页面导入模板
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment