Changeset 1968391
- Timestamp:
- 11/03/2018 11:20:39 PM (7 years ago)
- Location:
- recombee-recommendation-engine/trunk
- Files:
-
- 5 edited
-
includes/class-RecombeeReRecommsWidget.php (modified) (3 diffs)
-
languages/recombee-recommendation-engine-ru_RU.mo (modified) (previous)
-
languages/recombee-recommendation-engine-ru_RU.po (modified) (8 diffs)
-
languages/recombee-recommendation-engine.pot (modified) (7 diffs)
-
log/requests-errors.log (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
recombee-recommendation-engine/trunk/includes/class-RecombeeReRecommsWidget.php
r1968337 r1968391 1296 1296 $text = sprintf(__( 'Recombee DB returned Product with ID="%s", that has parent product with ID="%s" in status "%s". Product can not not be shown to current user due to it\'s access restrictions.', 'recombee-recommendation-engine' ), $product_id, $parent_id, ucfirst($parent_status) ); 1297 1297 } 1298 if ( $parent_status == 'trash' ) {1298 else if ( $parent_status == 'trash' ) { 1299 1299 $text = sprintf(__( 'Recombee DB returned Product with ID="%s", that has parent product with ID="%s" in status "Trash". Product can not not be shown until it\'s true.', 'recombee-recommendation-engine' ), $product_id, $parent_id ); 1300 1300 } … … 1305 1305 else if ( get_option( 'woocommerce_hide_out_of_stock_items' ) === 'yes' ){ 1306 1306 1307 if( $product->get_manage_stock() ){ 1308 if( !$product->is_in_stock() ){ 1309 $text = sprintf(__( 'Recombee DB returned Product with ID="%s", but it is out of stock and can not be shown until current shop configured to hide out of stock products.', 'recombee-recommendation-engine' ), $product_id ); 1310 } 1311 } 1312 else if( $parent_product->get_manage_stock() && !$parent_product->is_in_stock() ){ 1313 $text = sprintf(__( 'Recombee DB returned Product with ID="%s", that has parent product with ID="%s" out of stock. Child product can not be shown until current shop configured to hide out of stock products and child product not managed by stock directly.', 'recombee-recommendation-engine' ), $product_id, $parent_id ); 1314 } 1307 if( !$product->is_in_stock() ){ 1308 $text = sprintf(__( 'Recombee DB returned Product with ID="%s", that has parent product with ID="%s". Product is out of stock due to variable product settings and can not be shown.', 'recombee-recommendation-engine' ), $product_id ); 1309 } 1310 else{ 1311 /* dead end */ 1312 } 1313 1315 1314 } 1316 1315 else{ … … 1334 1333 $text = sprintf(__( 'Recombee DB returned Product with ID="%s", but it has status "%s" and can not be shown to current user due to it\'s access restrictions.', 'recombee-recommendation-engine' ), $product_id, ucfirst($product_status) ); 1335 1334 } 1336 if ( $product_status == 'trash' ) {1335 else if ( $product_status == 'trash' ) { 1337 1336 $text = sprintf(__( 'Recombee DB returned Product with ID="%s", but it has status "Trash" and can not be shown until it\'s true.', 'recombee-recommendation-engine' ), $product_id ); 1338 1337 } -
recombee-recommendation-engine/trunk/languages/recombee-recommendation-engine-ru_RU.po
r1968337 r1968391 2 2 msgstr "" 3 3 "Project-Id-Version: Recombee\n" 4 "POT-Creation-Date: 2018-11-0 3 22:27+0300\n"5 "PO-Revision-Date: 2018-11-0 3 22:34+0300\n"4 "POT-Creation-Date: 2018-11-04 01:58+0300\n" 5 "PO-Revision-Date: 2018-11-04 01:58+0300\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: David <4341922@gmail.com>\n" … … 1541 1541 "пока это так." 1542 1542 1543 #: includes/class-RecombeeReRecommsWidget.php:1309 1544 #: includes/class-RecombeeReRecommsWidget.php:1345 1543 #: includes/class-RecombeeReRecommsWidget.php:1308 1544 #, php-format 1545 msgid "" 1546 "Recombee DB returned Product with ID=\"%s\", that has parent product with ID=" 1547 "\"%s\". Product is out of stock due to variable product settings and can not " 1548 "be shown." 1549 msgstr "" 1550 "База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский " 1551 "продукт с ID=\"%s\". Продукт отсутствует в наличии на складе в соответствии " 1552 "с вариативными настройками." 1553 1554 #: includes/class-RecombeeReRecommsWidget.php:1317 1555 #, php-format 1556 msgid "" 1557 "Recombee DB returned Product with ID=\"%s\", that has parent product with ID=" 1558 "\"%s\" that is hidden in product catalog by the unknown reason. Product can " 1559 "not not be shown until it's true." 1560 msgstr "" 1561 "База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский " 1562 "продукт с ID=\"%s\", скрытый в каталоге продуктов по неизвестной причине. " 1563 "Продукт не может быть показан пока это так." 1564 1565 #: includes/class-RecombeeReRecommsWidget.php:1322 1566 #, php-format 1567 msgid "" 1568 "Recombee DB returned Product with ID=\"%s\", that has parent product with ID=" 1569 "\"%s\". Parent ID is valid ID, but the attempt to get Product by this ID has " 1570 "failed." 1571 msgstr "" 1572 "База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский " 1573 "продукт с ID=\"%s\". Родительский ID является корректным ID, однако попытка " 1574 "получить продукт по данному ID завершилась неудачно." 1575 1576 #: includes/class-RecombeeReRecommsWidget.php:1328 1577 #, php-format 1578 msgid "" 1579 "Recombee DB returned Product with ID=\"%s\", but it has status \"Hidden\" " 1580 "for \"Catalog visibility\" option and can not be shown until it's true." 1581 msgstr "" 1582 "База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет " 1583 "статус \"Скрыт\" в каталоге продуктов и не может быть показан пока это так." 1584 1585 #: includes/class-RecombeeReRecommsWidget.php:1333 1586 #, php-format 1587 msgid "" 1588 "Recombee DB returned Product with ID=\"%s\", but it has status \"%s\" and " 1589 "can not be shown to current user due to it's access restrictions." 1590 msgstr "" 1591 "База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет \"%s" 1592 "\" и не может быть показан для анонимного пользователя." 1593 1594 #: includes/class-RecombeeReRecommsWidget.php:1336 1595 #, php-format 1596 msgid "" 1597 "Recombee DB returned Product with ID=\"%s\", but it has status \"Trash\" and " 1598 "can not be shown until it's true." 1599 msgstr "" 1600 "База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет " 1601 "статус \"В корзине\" и не может быть показан пока это так." 1602 1603 #: includes/class-RecombeeReRecommsWidget.php:1339 1604 #, php-format 1605 msgid "" 1606 "Recombee DB returned Product with ID=\"%s\", but it has unknown status and " 1607 "can not be shown until it's true." 1608 msgstr "" 1609 "База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет " 1610 "неизвестный статус и не может быть показан пока это так." 1611 1612 #: includes/class-RecombeeReRecommsWidget.php:1344 1545 1613 #, php-format 1546 1614 msgid "" … … 1552 1620 "сконфигурированы скрывать товары, которых нет в наличии." 1553 1621 1554 #: includes/class-RecombeeReRecommsWidget.php:1313 1555 #, php-format 1556 msgid "" 1557 "Recombee DB returned Product with ID=\"%s\", that has parent product with ID=" 1558 "\"%s\" out of stock. Child product can not be shown until current shop " 1559 "configured to hide out of stock products and child product not managed by " 1560 "stock directly." 1561 msgstr "" 1562 "База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский " 1563 "продукт с ID=\"%s\", отсутствующий в наличии на складе. Продукт не может " 1564 "быть показан, пока настройки магазина сконфигурированы скрывать товары, " 1565 "которых нет в наличии." 1566 1567 #: includes/class-RecombeeReRecommsWidget.php:1318 1568 #, php-format 1569 msgid "" 1570 "Recombee DB returned Product with ID=\"%s\", that has parent product with ID=" 1571 "\"%s\" that is hidden in product catalog by the unknown reason. Product can " 1572 "not not be shown until it's true." 1573 msgstr "" 1574 "База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский " 1575 "продукт с ID=\"%s\", скрытый в каталоге продуктов по неизвестной причине. " 1576 "Продукт не может быть показан пока это так." 1577 1578 #: includes/class-RecombeeReRecommsWidget.php:1323 1579 #, php-format 1580 msgid "" 1581 "Recombee DB returned Product with ID=\"%s\", that has parent product with ID=" 1582 "\"%s\". Parent ID is valid ID, but the attempt to get Product by this ID has " 1583 "failed." 1584 msgstr "" 1585 "База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский " 1586 "продукт с ID=\"%s\". Родительский ID является корректным ID, однако попытка " 1587 "получить продукт по данному ID завершилась неудачно." 1588 1589 #: includes/class-RecombeeReRecommsWidget.php:1329 1590 #, php-format 1591 msgid "" 1592 "Recombee DB returned Product with ID=\"%s\", but it has status \"Hidden\" " 1593 "for \"Catalog visibility\" option and can not be shown until it's true." 1594 msgstr "" 1595 "База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет " 1596 "статус \"Скрыт\" в каталоге продуктов и не может быть показан пока это так." 1597 1598 #: includes/class-RecombeeReRecommsWidget.php:1334 1599 #, php-format 1600 msgid "" 1601 "Recombee DB returned Product with ID=\"%s\", but it has status \"%s\" and " 1602 "can not be shown to current user due to it's access restrictions." 1603 msgstr "" 1604 "База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет \"%s" 1605 "\" и не может быть показан для анонимного пользователя." 1606 1607 #: includes/class-RecombeeReRecommsWidget.php:1337 1608 #, php-format 1609 msgid "" 1610 "Recombee DB returned Product with ID=\"%s\", but it has status \"Trash\" and " 1611 "can not be shown until it's true." 1612 msgstr "" 1613 "База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет " 1614 "статус \"В корзине\" и не может быть показан пока это так." 1615 1616 #: includes/class-RecombeeReRecommsWidget.php:1340 1617 #, php-format 1618 msgid "" 1619 "Recombee DB returned Product with ID=\"%s\", but it has unknown status and " 1620 "can not be shown until it's true." 1621 msgstr "" 1622 "База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет " 1623 "неизвестный статус и не может быть показан пока это так." 1624 1625 #: includes/class-RecombeeReRecommsWidget.php:1349 1622 #: includes/class-RecombeeReRecommsWidget.php:1348 1626 1623 #, php-format 1627 1624 msgid "" … … 1632 1629 "каталоге по неизвестной причине и не может быть показан пока это так." 1633 1630 1634 #: includes/class-RecombeeReRecommsWidget.php:135 41631 #: includes/class-RecombeeReRecommsWidget.php:1353 1635 1632 #, php-format 1636 1633 msgid "" … … 1641 1638 "быть показан по неизвестной причине." 1642 1639 1643 #: includes/class-RecombeeReRecommsWidget.php:142 51644 #: includes/class-RecombeeReRecommsWidget.php:143 71645 #: includes/class-RecombeeReRecommsWidget.php:150 61640 #: includes/class-RecombeeReRecommsWidget.php:1424 1641 #: includes/class-RecombeeReRecommsWidget.php:1436 1642 #: includes/class-RecombeeReRecommsWidget.php:1505 1646 1643 #: includes/data-ProductSettingsArgs.php:92 1647 1644 #: includes/data-ProductSettingsArgs.php:93 … … 1653 1650 msgstr "Собственные значения" 1654 1651 1655 #: includes/class-RecombeeReRecommsWidget.php:152 11656 #: includes/class-RecombeeReRecommsWidget.php:153 81657 #: includes/class-RecombeeReRecommsWidget.php:154 51652 #: includes/class-RecombeeReRecommsWidget.php:1520 1653 #: includes/class-RecombeeReRecommsWidget.php:1537 1654 #: includes/class-RecombeeReRecommsWidget.php:1544 1658 1655 msgid "ReQL functions" 1659 1656 msgstr "ReQL функции" 1660 1657 1661 #: includes/class-RecombeeReRecommsWidget.php:159 41658 #: includes/class-RecombeeReRecommsWidget.php:1593 1662 1659 #: includes/data-ReQLSettingsArgs.php:13 includes/data-ReQLSettingsArgs.php:34 1663 1660 #: includes/data-ReQLSettingsArgs.php:55 includes/data-ReQLSettingsArgs.php:76 … … 1674 1671 msgstr "1) ReQL функции" 1675 1672 1676 #: includes/class-RecombeeReRecommsWidget.php:161 51673 #: includes/class-RecombeeReRecommsWidget.php:1614 1677 1674 msgid "" 1678 1675 "Recombee Recommendation Widget could not get properties data from Recombee " … … 2057 2054 2058 2055 #~ msgid "" 2056 #~ "Recombee DB returned Product with ID=\"%s\", that has parent product with " 2057 #~ "ID=\"%s\" out of stock. Child product can not be shown until current shop " 2058 #~ "configured to hide out of stock products and child product not managed by " 2059 #~ "stock directly." 2060 #~ msgstr "" 2061 #~ "База данных Recombee вернула продукт с ID=\"%s\", который имеет " 2062 #~ "родительский продукт с ID=\"%s\", отсутствующий в наличии на складе. " 2063 #~ "Продукт не может быть показан, пока настройки магазина сконфигурированы " 2064 #~ "скрывать товары, которых нет в наличии." 2065 2066 #~ msgid "" 2059 2067 #~ "Recombee DB returned Product with ID=\"%s\", but it has status \"Pending" 2060 2068 #~ "\" and could not be shown until user does not logged in." -
recombee-recommendation-engine/trunk/languages/recombee-recommendation-engine.pot
r1968337 r1968391 3 3 msgstr "" 4 4 "Project-Id-Version: Recombee\n" 5 "POT-Creation-Date: 2018-11-0 3 22:27+0300\n"5 "POT-Creation-Date: 2018-11-04 01:58+0300\n" 6 6 "PO-Revision-Date: 2018-03-08 22:17+0300\n" 7 7 "Last-Translator: David <4341922@gmail.com>\n" … … 1251 1251 msgstr "" 1252 1252 1253 #: includes/class-RecombeeReRecommsWidget.php:1309 1254 #: includes/class-RecombeeReRecommsWidget.php:1345 1253 #: includes/class-RecombeeReRecommsWidget.php:1308 1254 #, php-format 1255 msgid "" 1256 "Recombee DB returned Product with ID=\"%s\", that has parent product " 1257 "with ID=\"%s\". Product is out of stock due to variable product settings " 1258 "and can not be shown." 1259 msgstr "" 1260 1261 #: includes/class-RecombeeReRecommsWidget.php:1317 1262 #, php-format 1263 msgid "" 1264 "Recombee DB returned Product with ID=\"%s\", that has parent product " 1265 "with ID=\"%s\" that is hidden in product catalog by the unknown reason. " 1266 "Product can not not be shown until it's true." 1267 msgstr "" 1268 1269 #: includes/class-RecombeeReRecommsWidget.php:1322 1270 #, php-format 1271 msgid "" 1272 "Recombee DB returned Product with ID=\"%s\", that has parent product " 1273 "with ID=\"%s\". Parent ID is valid ID, but the attempt to get Product by " 1274 "this ID has failed." 1275 msgstr "" 1276 1277 #: includes/class-RecombeeReRecommsWidget.php:1328 1278 #, php-format 1279 msgid "" 1280 "Recombee DB returned Product with ID=\"%s\", but it has status \"Hidden" 1281 "\" for \"Catalog visibility\" option and can not be shown until it's " 1282 "true." 1283 msgstr "" 1284 1285 #: includes/class-RecombeeReRecommsWidget.php:1333 1286 #, php-format 1287 msgid "" 1288 "Recombee DB returned Product with ID=\"%s\", but it has status \"%s\" " 1289 "and can not be shown to current user due to it's access restrictions." 1290 msgstr "" 1291 1292 #: includes/class-RecombeeReRecommsWidget.php:1336 1293 #, php-format 1294 msgid "" 1295 "Recombee DB returned Product with ID=\"%s\", but it has status \"Trash\" " 1296 "and can not be shown until it's true." 1297 msgstr "" 1298 1299 #: includes/class-RecombeeReRecommsWidget.php:1339 1300 #, php-format 1301 msgid "" 1302 "Recombee DB returned Product with ID=\"%s\", but it has unknown status " 1303 "and can not be shown until it's true." 1304 msgstr "" 1305 1306 #: includes/class-RecombeeReRecommsWidget.php:1344 1255 1307 #, php-format 1256 1308 msgid "" … … 1260 1312 msgstr "" 1261 1313 1262 #: includes/class-RecombeeReRecommsWidget.php:1313 1263 #, php-format 1264 msgid "" 1265 "Recombee DB returned Product with ID=\"%s\", that has parent product " 1266 "with ID=\"%s\" out of stock. Child product can not be shown until " 1267 "current shop configured to hide out of stock products and child product " 1268 "not managed by stock directly." 1269 msgstr "" 1270 1271 #: includes/class-RecombeeReRecommsWidget.php:1318 1272 #, php-format 1273 msgid "" 1274 "Recombee DB returned Product with ID=\"%s\", that has parent product " 1275 "with ID=\"%s\" that is hidden in product catalog by the unknown reason. " 1276 "Product can not not be shown until it's true." 1277 msgstr "" 1278 1279 #: includes/class-RecombeeReRecommsWidget.php:1323 1280 #, php-format 1281 msgid "" 1282 "Recombee DB returned Product with ID=\"%s\", that has parent product " 1283 "with ID=\"%s\". Parent ID is valid ID, but the attempt to get Product by " 1284 "this ID has failed." 1285 msgstr "" 1286 1287 #: includes/class-RecombeeReRecommsWidget.php:1329 1288 #, php-format 1289 msgid "" 1290 "Recombee DB returned Product with ID=\"%s\", but it has status \"Hidden" 1291 "\" for \"Catalog visibility\" option and can not be shown until it's " 1292 "true." 1293 msgstr "" 1294 1295 #: includes/class-RecombeeReRecommsWidget.php:1334 1296 #, php-format 1297 msgid "" 1298 "Recombee DB returned Product with ID=\"%s\", but it has status \"%s\" " 1299 "and can not be shown to current user due to it's access restrictions." 1300 msgstr "" 1301 1302 #: includes/class-RecombeeReRecommsWidget.php:1337 1303 #, php-format 1304 msgid "" 1305 "Recombee DB returned Product with ID=\"%s\", but it has status \"Trash\" " 1306 "and can not be shown until it's true." 1307 msgstr "" 1308 1309 #: includes/class-RecombeeReRecommsWidget.php:1340 1310 #, php-format 1311 msgid "" 1312 "Recombee DB returned Product with ID=\"%s\", but it has unknown status " 1313 "and can not be shown until it's true." 1314 msgstr "" 1315 1316 #: includes/class-RecombeeReRecommsWidget.php:1349 1314 #: includes/class-RecombeeReRecommsWidget.php:1348 1317 1315 #, php-format 1318 1316 msgid "" … … 1321 1319 msgstr "" 1322 1320 1323 #: includes/class-RecombeeReRecommsWidget.php:135 41321 #: includes/class-RecombeeReRecommsWidget.php:1353 1324 1322 #, php-format 1325 1323 msgid "" … … 1328 1326 msgstr "" 1329 1327 1330 #: includes/class-RecombeeReRecommsWidget.php:142 51331 #: includes/class-RecombeeReRecommsWidget.php:143 71332 #: includes/class-RecombeeReRecommsWidget.php:150 61328 #: includes/class-RecombeeReRecommsWidget.php:1424 1329 #: includes/class-RecombeeReRecommsWidget.php:1436 1330 #: includes/class-RecombeeReRecommsWidget.php:1505 1333 1331 #: includes/data-ProductSettingsArgs.php:92 1334 1332 #: includes/data-ProductSettingsArgs.php:93 … … 1340 1338 msgstr "" 1341 1339 1342 #: includes/class-RecombeeReRecommsWidget.php:152 11343 #: includes/class-RecombeeReRecommsWidget.php:153 81344 #: includes/class-RecombeeReRecommsWidget.php:154 51340 #: includes/class-RecombeeReRecommsWidget.php:1520 1341 #: includes/class-RecombeeReRecommsWidget.php:1537 1342 #: includes/class-RecombeeReRecommsWidget.php:1544 1345 1343 msgid "ReQL functions" 1346 1344 msgstr "" 1347 1345 1348 #: includes/class-RecombeeReRecommsWidget.php:159 41346 #: includes/class-RecombeeReRecommsWidget.php:1593 1349 1347 #: includes/data-ReQLSettingsArgs.php:13 1350 1348 #: includes/data-ReQLSettingsArgs.php:34 … … 1364 1362 msgstr "" 1365 1363 1366 #: includes/class-RecombeeReRecommsWidget.php:161 51364 #: includes/class-RecombeeReRecommsWidget.php:1614 1367 1365 msgid "" 1368 1366 "Recombee Recommendation Widget could not get properties data from " -
recombee-recommendation-engine/trunk/log/requests-errors.log
r1968337 r1968391 1 03.11.2018 15:05:45 -> db connect/disconnect -> cURL error 6: Could not resolve host: rapi.recombee.com
Note: See TracChangeset
for help on using the changeset viewer.