Plugin Directory

Changeset 1968391


Ignore:
Timestamp:
11/03/2018 11:20:39 PM (7 years ago)
Author:
recombee
Message:

explanation

Location:
recombee-recommendation-engine/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • recombee-recommendation-engine/trunk/includes/class-RecombeeReRecommsWidget.php

    r1968337 r1968391  
    12961296                        $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) );
    12971297                    }
    1298                     if ( $parent_status == 'trash' ) {
     1298                    else if ( $parent_status == 'trash' ) {
    12991299                        $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 );
    13001300                    }
     
    13051305                else if ( get_option( 'woocommerce_hide_out_of_stock_items' ) === 'yes'  ){
    13061306                   
    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
    13151314                }
    13161315                else{
     
    13341333                    $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) );
    13351334                }
    1336                 if ( $product_status == 'trash' ) {
     1335                else if ( $product_status == 'trash' ) {
    13371336                    $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 );
    13381337                }
  • recombee-recommendation-engine/trunk/languages/recombee-recommendation-engine-ru_RU.po

    r1968337 r1968391  
    22msgstr ""
    33"Project-Id-Version: Recombee\n"
    4 "POT-Creation-Date: 2018-11-03 22:27+0300\n"
    5 "PO-Revision-Date: 2018-11-03 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"
    66"Last-Translator: \n"
    77"Language-Team: David <4341922@gmail.com>\n"
     
    15411541"пока это так."
    15421542
    1543 #: includes/class-RecombeeReRecommsWidget.php:1309
    1544 #: includes/class-RecombeeReRecommsWidget.php:1345
     1543#: includes/class-RecombeeReRecommsWidget.php:1308
     1544#, php-format
     1545msgid ""
     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."
     1549msgstr ""
     1550"База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский "
     1551"продукт с ID=\"%s\". Продукт отсутствует в наличии на складе в соответствии "
     1552"с вариативными настройками."
     1553
     1554#: includes/class-RecombeeReRecommsWidget.php:1317
     1555#, php-format
     1556msgid ""
     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."
     1560msgstr ""
     1561"База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский "
     1562"продукт с ID=\"%s\", скрытый в каталоге продуктов по неизвестной причине. "
     1563"Продукт не может быть показан пока это так."
     1564
     1565#: includes/class-RecombeeReRecommsWidget.php:1322
     1566#, php-format
     1567msgid ""
     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."
     1571msgstr ""
     1572"База данных Recombee вернула продукт с ID=\"%s\", который имеет родительский "
     1573"продукт с ID=\"%s\". Родительский ID является корректным ID, однако попытка "
     1574"получить продукт по данному ID завершилась неудачно."
     1575
     1576#: includes/class-RecombeeReRecommsWidget.php:1328
     1577#, php-format
     1578msgid ""
     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."
     1581msgstr ""
     1582"База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет "
     1583"статус \"Скрыт\" в каталоге продуктов и не может быть показан пока это так."
     1584
     1585#: includes/class-RecombeeReRecommsWidget.php:1333
     1586#, php-format
     1587msgid ""
     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."
     1590msgstr ""
     1591"База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет \"%s"
     1592"\" и не может быть показан для анонимного пользователя."
     1593
     1594#: includes/class-RecombeeReRecommsWidget.php:1336
     1595#, php-format
     1596msgid ""
     1597"Recombee DB returned Product with ID=\"%s\", but it has status \"Trash\" and "
     1598"can not be shown until it's true."
     1599msgstr ""
     1600"База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет "
     1601"статус \"В корзине\" и не может быть показан пока это так."
     1602
     1603#: includes/class-RecombeeReRecommsWidget.php:1339
     1604#, php-format
     1605msgid ""
     1606"Recombee DB returned Product with ID=\"%s\", but it has unknown status and "
     1607"can not be shown until it's true."
     1608msgstr ""
     1609"База данных Recombee вернула продукт с ID=\"%s\", но этот продукт имеет "
     1610"неизвестный статус и не может быть показан пока это так."
     1611
     1612#: includes/class-RecombeeReRecommsWidget.php:1344
    15451613#, php-format
    15461614msgid ""
     
    15521620"сконфигурированы скрывать товары, которых нет в наличии."
    15531621
    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
    16261623#, php-format
    16271624msgid ""
     
    16321629"каталоге по неизвестной причине и не может быть показан пока это так."
    16331630
    1634 #: includes/class-RecombeeReRecommsWidget.php:1354
     1631#: includes/class-RecombeeReRecommsWidget.php:1353
    16351632#, php-format
    16361633msgid ""
     
    16411638"быть показан по неизвестной причине."
    16421639
    1643 #: includes/class-RecombeeReRecommsWidget.php:1425
    1644 #: includes/class-RecombeeReRecommsWidget.php:1437
    1645 #: includes/class-RecombeeReRecommsWidget.php:1506
     1640#: includes/class-RecombeeReRecommsWidget.php:1424
     1641#: includes/class-RecombeeReRecommsWidget.php:1436
     1642#: includes/class-RecombeeReRecommsWidget.php:1505
    16461643#: includes/data-ProductSettingsArgs.php:92
    16471644#: includes/data-ProductSettingsArgs.php:93
     
    16531650msgstr "Собственные значения"
    16541651
    1655 #: includes/class-RecombeeReRecommsWidget.php:1521
    1656 #: includes/class-RecombeeReRecommsWidget.php:1538
    1657 #: includes/class-RecombeeReRecommsWidget.php:1545
     1652#: includes/class-RecombeeReRecommsWidget.php:1520
     1653#: includes/class-RecombeeReRecommsWidget.php:1537
     1654#: includes/class-RecombeeReRecommsWidget.php:1544
    16581655msgid "ReQL functions"
    16591656msgstr "ReQL функции"
    16601657
    1661 #: includes/class-RecombeeReRecommsWidget.php:1594
     1658#: includes/class-RecombeeReRecommsWidget.php:1593
    16621659#: includes/data-ReQLSettingsArgs.php:13 includes/data-ReQLSettingsArgs.php:34
    16631660#: includes/data-ReQLSettingsArgs.php:55 includes/data-ReQLSettingsArgs.php:76
     
    16741671msgstr "1) ReQL функции"
    16751672
    1676 #: includes/class-RecombeeReRecommsWidget.php:1615
     1673#: includes/class-RecombeeReRecommsWidget.php:1614
    16771674msgid ""
    16781675"Recombee Recommendation Widget could not get properties data from Recombee "
     
    20572054
    20582055#~ 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 ""
    20592067#~ "Recombee DB returned Product with ID=\"%s\", but it has status \"Pending"
    20602068#~ "\" and could not be shown until user does not logged in."
  • recombee-recommendation-engine/trunk/languages/recombee-recommendation-engine.pot

    r1968337 r1968391  
    33msgstr ""
    44"Project-Id-Version: Recombee\n"
    5 "POT-Creation-Date: 2018-11-03 22:27+0300\n"
     5"POT-Creation-Date: 2018-11-04 01:58+0300\n"
    66"PO-Revision-Date: 2018-03-08 22:17+0300\n"
    77"Last-Translator: David <4341922@gmail.com>\n"
     
    12511251msgstr ""
    12521252
    1253 #: includes/class-RecombeeReRecommsWidget.php:1309
    1254 #: includes/class-RecombeeReRecommsWidget.php:1345
     1253#: includes/class-RecombeeReRecommsWidget.php:1308
     1254#, php-format
     1255msgid ""
     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."
     1259msgstr ""
     1260
     1261#: includes/class-RecombeeReRecommsWidget.php:1317
     1262#, php-format
     1263msgid ""
     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."
     1267msgstr ""
     1268
     1269#: includes/class-RecombeeReRecommsWidget.php:1322
     1270#, php-format
     1271msgid ""
     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."
     1275msgstr ""
     1276
     1277#: includes/class-RecombeeReRecommsWidget.php:1328
     1278#, php-format
     1279msgid ""
     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."
     1283msgstr ""
     1284
     1285#: includes/class-RecombeeReRecommsWidget.php:1333
     1286#, php-format
     1287msgid ""
     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."
     1290msgstr ""
     1291
     1292#: includes/class-RecombeeReRecommsWidget.php:1336
     1293#, php-format
     1294msgid ""
     1295"Recombee DB returned Product with ID=\"%s\", but it has status \"Trash\" "
     1296"and can not be shown until it's true."
     1297msgstr ""
     1298
     1299#: includes/class-RecombeeReRecommsWidget.php:1339
     1300#, php-format
     1301msgid ""
     1302"Recombee DB returned Product with ID=\"%s\", but it has unknown status "
     1303"and can not be shown until it's true."
     1304msgstr ""
     1305
     1306#: includes/class-RecombeeReRecommsWidget.php:1344
    12551307#, php-format
    12561308msgid ""
     
    12601312msgstr ""
    12611313
    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
    13171315#, php-format
    13181316msgid ""
     
    13211319msgstr ""
    13221320
    1323 #: includes/class-RecombeeReRecommsWidget.php:1354
     1321#: includes/class-RecombeeReRecommsWidget.php:1353
    13241322#, php-format
    13251323msgid ""
     
    13281326msgstr ""
    13291327
    1330 #: includes/class-RecombeeReRecommsWidget.php:1425
    1331 #: includes/class-RecombeeReRecommsWidget.php:1437
    1332 #: includes/class-RecombeeReRecommsWidget.php:1506
     1328#: includes/class-RecombeeReRecommsWidget.php:1424
     1329#: includes/class-RecombeeReRecommsWidget.php:1436
     1330#: includes/class-RecombeeReRecommsWidget.php:1505
    13331331#: includes/data-ProductSettingsArgs.php:92
    13341332#: includes/data-ProductSettingsArgs.php:93
     
    13401338msgstr ""
    13411339
    1342 #: includes/class-RecombeeReRecommsWidget.php:1521
    1343 #: includes/class-RecombeeReRecommsWidget.php:1538
    1344 #: includes/class-RecombeeReRecommsWidget.php:1545
     1340#: includes/class-RecombeeReRecommsWidget.php:1520
     1341#: includes/class-RecombeeReRecommsWidget.php:1537
     1342#: includes/class-RecombeeReRecommsWidget.php:1544
    13451343msgid "ReQL functions"
    13461344msgstr ""
    13471345
    1348 #: includes/class-RecombeeReRecommsWidget.php:1594
     1346#: includes/class-RecombeeReRecommsWidget.php:1593
    13491347#: includes/data-ReQLSettingsArgs.php:13
    13501348#: includes/data-ReQLSettingsArgs.php:34
     
    13641362msgstr ""
    13651363
    1366 #: includes/class-RecombeeReRecommsWidget.php:1615
     1364#: includes/class-RecombeeReRecommsWidget.php:1614
    13671365msgid ""
    13681366"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.