Changeset 2937229
- Timestamp:
- 07/11/2023 04:09:06 PM (3 years ago)
- Location:
- faire-for-woocommerce
- Files:
-
- 7 edited
- 1 copied
-
tags/1.5.2 (copied) (copied from faire-for-woocommerce/tags/1.5.1)
-
tags/1.5.2/faire-for-woocommerce.php (modified) (2 diffs)
-
tags/1.5.2/languages/faire-for-woocommerce.pot (modified) (23 diffs)
-
tags/1.5.2/readme.txt (modified) (1 diff)
-
tags/1.5.2/src/admin/class-wc-integration-faire.php (modified) (1 diff)
-
tags/1.5.2/src/sync/class-sync-product-linking.php (modified) (4 diffs)
-
tags/1.5.2/src/sync/class-sync-product.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
faire-for-woocommerce/tags/1.5.2/faire-for-woocommerce.php
r2928633 r2937229 5 5 * Author: Faire 6 6 * Author URI: https://faire.com/ 7 * Version: 1.5. 17 * Version: 1.5.2 8 8 * 9 9 * This program is free software: you can redistribute it and/or modify … … 29 29 } 30 30 31 const VERSION = '1.5. 1';31 const VERSION = '1.5.2'; 32 32 33 33 if ( ! defined( 'FAIRE_WC_PLUGIN_FILE' ) ) { -
faire-for-woocommerce/tags/1.5.2/languages/faire-for-woocommerce.pot
r2928633 r2937229 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Faire for WooCommerce 1.5. 1\n"5 "Project-Id-Version: Faire for WooCommerce 1.5.2\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://wordpress.org/support/plugin/faire-for-woocommerce\n" 8 "POT-Creation-Date: 2023-0 6-20 12:54:27+00:00\n"8 "POT-Creation-Date: 2023-07-11 15:30:31+00:00\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=utf-8\n" … … 277 277 #: src/admin/class-wc-integration-faire.php:382 278 278 #: src/admin/class-wc-integration-faire.php:390 279 #: src/admin/class-wc-integration-faire.php:54 1280 #: src/admin/class-wc-integration-faire.php:5 49279 #: src/admin/class-wc-integration-faire.php:542 280 #: src/admin/class-wc-integration-faire.php:550 281 281 msgid "Yes" 282 282 msgstr "" … … 333 333 334 334 #: src/admin/class-wc-integration-faire.php:349 335 #: src/admin/class-wc-integration-faire.php:49 3335 #: src/admin/class-wc-integration-faire.php:494 336 336 msgid "Do Not Sync" 337 337 msgstr "" … … 342 342 343 343 #: src/admin/class-wc-integration-faire.php:356 344 #: src/admin/class-wc-integration-faire.php:50 0344 #: src/admin/class-wc-integration-faire.php:501 345 345 msgid "Sync Schedule Every" 346 346 msgstr "" … … 355 355 356 356 #: src/admin/class-wc-integration-faire.php:373 357 #: src/admin/class-wc-integration-faire.php:51 7357 #: src/admin/class-wc-integration-faire.php:518 358 358 msgid "Hour(s)" 359 359 msgstr "" 360 360 361 361 #: src/admin/class-wc-integration-faire.php:374 362 #: src/admin/class-wc-integration-faire.php:51 8362 #: src/admin/class-wc-integration-faire.php:519 363 363 msgid "Day(s)" 364 364 msgstr "" … … 464 464 msgstr "" 465 465 466 #: src/admin/class-wc-integration-faire.php:465 467 #: src/admin/class-wc-integration-faire.php:524 468 #: src/admin/class-wc-integration-faire.php:571 466 #: src/admin/class-wc-integration-faire.php:455 467 msgid "Measurements" 468 msgstr "" 469 470 #: src/admin/class-wc-integration-faire.php:466 471 #: src/admin/class-wc-integration-faire.php:525 472 #: src/admin/class-wc-integration-faire.php:572 469 473 msgid "Manual Sync" 470 474 msgstr "" 471 475 472 #: src/admin/class-wc-integration-faire.php:46 6476 #: src/admin/class-wc-integration-faire.php:467 473 477 msgid "Sync products now" 474 478 msgstr "" 475 479 476 #: src/admin/class-wc-integration-faire.php:4 69480 #: src/admin/class-wc-integration-faire.php:470 477 481 msgid "Triggers products sync." 478 482 msgstr "" 479 483 480 #: src/admin/class-wc-integration-faire.php:47 3481 #: src/admin/class-wc-integration-faire.php:55 5484 #: src/admin/class-wc-integration-faire.php:474 485 #: src/admin/class-wc-integration-faire.php:556 482 486 msgid "Last Sync Results" 483 487 msgstr "" 484 488 485 #: src/admin/class-wc-integration-faire.php:47 5489 #: src/admin/class-wc-integration-faire.php:476 486 490 msgid "Shows the result of the last products sync." 487 491 msgstr "" 488 492 489 #: src/admin/class-wc-integration-faire.php:48 4493 #: src/admin/class-wc-integration-faire.php:485 490 494 msgid "Orders & Inventory" 491 495 msgstr "" 492 496 493 #: src/admin/class-wc-integration-faire.php:48 6497 #: src/admin/class-wc-integration-faire.php:487 494 498 msgid "Set order and inventory related settings when syncing from Faire." 495 499 msgstr "" 496 500 497 #: src/admin/class-wc-integration-faire.php:4 89501 #: src/admin/class-wc-integration-faire.php:490 498 502 msgid "Order Sync Mode" 499 503 msgstr "" 500 504 501 #: src/admin/class-wc-integration-faire.php:49 4505 #: src/admin/class-wc-integration-faire.php:495 502 506 msgid "Sync scheduled" 503 507 msgstr "" 504 508 505 #: src/admin/class-wc-integration-faire.php:50 2509 #: src/admin/class-wc-integration-faire.php:503 506 510 msgid "Orders are synced at this time interval" 507 511 msgstr "" 508 512 509 #: src/admin/class-wc-integration-faire.php:52 5513 #: src/admin/class-wc-integration-faire.php:526 510 514 msgid "Sync orders now" 511 515 msgstr "" 512 516 513 #: src/admin/class-wc-integration-faire.php:52 8517 #: src/admin/class-wc-integration-faire.php:529 514 518 msgid "Triggers orders and inventory sync." 515 519 msgstr "" 516 520 517 #: src/admin/class-wc-integration-faire.php:53 2521 #: src/admin/class-wc-integration-faire.php:533 518 522 msgid "Cancel orders sync process" 519 523 msgstr "" 520 524 521 #: src/admin/class-wc-integration-faire.php:53 5525 #: src/admin/class-wc-integration-faire.php:536 522 526 msgid "Cancels orders and inventory sync." 523 527 msgstr "" 524 528 525 #: src/admin/class-wc-integration-faire.php:5 39529 #: src/admin/class-wc-integration-faire.php:540 526 530 msgid "Skip Order Creation" 527 531 msgstr "" 528 532 529 #: src/admin/class-wc-integration-faire.php:54 4533 #: src/admin/class-wc-integration-faire.php:545 530 534 msgid "" 531 535 "Check this control to avoid orders creation. Inventory will be still " … … 533 537 msgstr "" 534 538 535 #: src/admin/class-wc-integration-faire.php:54 7539 #: src/admin/class-wc-integration-faire.php:548 536 540 msgid "Sync on Add To Cart" 537 541 msgstr "" 538 542 539 #: src/admin/class-wc-integration-faire.php:55 1543 #: src/admin/class-wc-integration-faire.php:552 540 544 msgid "Check this option to sync inventory when products are added to the cart." 541 545 msgstr "" 542 546 543 #: src/admin/class-wc-integration-faire.php:55 7547 #: src/admin/class-wc-integration-faire.php:558 544 548 msgid "Shows the result of the last orders sync." 545 549 msgstr "" 546 550 547 #: src/admin/class-wc-integration-faire.php:56 6551 #: src/admin/class-wc-integration-faire.php:567 548 552 msgid "Product type" 549 553 msgstr "" 550 554 551 #: src/admin/class-wc-integration-faire.php:56 8555 #: src/admin/class-wc-integration-faire.php:569 552 556 msgid "Faire Product type related settings and actions." 553 557 msgstr "" 554 558 555 #: src/admin/class-wc-integration-faire.php:57 2559 #: src/admin/class-wc-integration-faire.php:573 556 560 msgid "Sync product type now" 557 561 msgstr "" 558 562 559 #: src/admin/class-wc-integration-faire.php:57 4563 #: src/admin/class-wc-integration-faire.php:575 560 564 msgid "Triggers product taxonomy sync." 561 565 msgstr "" 562 566 563 #: src/admin/class-wc-integration-faire.php:5 79567 #: src/admin/class-wc-integration-faire.php:580 564 568 msgid "Unlink products" 565 569 msgstr "" 566 570 567 #: src/admin/class-wc-integration-faire.php:58 1571 #: src/admin/class-wc-integration-faire.php:582 568 572 msgid "Removes all links between wordpress products and faire products." 569 573 msgstr "" 570 574 571 #: src/admin/class-wc-integration-faire.php:58 4575 #: src/admin/class-wc-integration-faire.php:585 572 576 msgid "Manual Unlink" 573 577 msgstr "" 574 578 575 #: src/admin/class-wc-integration-faire.php:58 5579 #: src/admin/class-wc-integration-faire.php:586 576 580 msgid "Unlink all products now" 577 581 msgstr "" 578 582 579 #: src/admin/class-wc-integration-faire.php:58 7583 #: src/admin/class-wc-integration-faire.php:588 580 584 msgid "Unlink all wordpress products with faire products and variations." 581 585 msgstr "" 582 586 583 #: src/admin/class-wc-integration-faire.php:95 1587 #: src/admin/class-wc-integration-faire.php:952 584 588 msgid "API Connection failed. Please check your API key and API mode." 585 589 msgstr "" 586 590 587 #: src/admin/class-wc-integration-faire.php:99 7591 #: src/admin/class-wc-integration-faire.php:998 588 592 msgid "" 589 593 "Existing products were found at Faire. Run product linking to link faire " … … 591 595 msgstr "" 592 596 593 #: src/admin/class-wc-integration-faire.php:102 1597 #: src/admin/class-wc-integration-faire.php:1022 594 598 msgid "" 595 599 "Faire product and order sync disabled because locale and currency do not " … … 597 601 msgstr "" 598 602 599 #: src/admin/class-wc-integration-faire.php:104 7603 #: src/admin/class-wc-integration-faire.php:1048 600 604 msgid "Testing failed. Unauthorized request." 601 605 msgstr "" 602 606 603 #: src/admin/class-wc-integration-faire.php:105 8607 #: src/admin/class-wc-integration-faire.php:1059 604 608 msgid "API connection is working OK." 605 609 msgstr "" 606 610 607 #: src/admin/class-wc-integration-faire.php:106 5611 #: src/admin/class-wc-integration-faire.php:1066 608 612 msgid "Connection test failed." 609 613 msgstr "" 610 614 611 #: src/admin/class-wc-integration-faire.php:111 2615 #: src/admin/class-wc-integration-faire.php:1113 612 616 msgid "Original" 613 617 msgstr "" … … 666 670 msgstr "" 667 671 668 #: src/admin/product/class-product.php:71 src/sync/class-sync-product.php:42 3672 #: src/admin/product/class-product.php:71 src/sync/class-sync-product.php:422 669 673 msgid "Taxonomy Type (Faire)" 670 674 msgstr "" … … 911 915 912 916 #: src/sync/class-sync-order-status.php:276 913 #: src/sync/class-sync-product-linking.php:199 8914 #: src/sync/class-sync-product.php:86 2917 #: src/sync/class-sync-product-linking.php:1997 918 #: src/sync/class-sync-product.php:861 915 919 #. translators: %s sync date. 916 920 msgid "Last sync at %s" … … 985 989 msgstr "" 986 990 987 #: src/sync/class-sync-product-linking.php:20 4991 #: src/sync/class-sync-product-linking.php:203 988 992 #. translators: %s error. 989 993 msgid "Failed to check for existing products. %s" 990 994 msgstr "" 991 995 992 #: src/sync/class-sync-product-linking.php:21 4996 #: src/sync/class-sync-product-linking.php:213 993 997 msgid "Existing products were not found." 994 998 msgstr "" 995 999 996 #: src/sync/class-sync-product-linking.php:22 11000 #: src/sync/class-sync-product-linking.php:220 997 1001 msgid "Existing products were found." 998 1002 msgstr "" 999 1003 1000 #: src/sync/class-sync-product-linking.php:2 401004 #: src/sync/class-sync-product-linking.php:239 1001 1005 msgid "Product linking sync failed. Unauthorized request." 1002 1006 msgstr "" 1003 1007 1004 #: src/sync/class-sync-product-linking.php:29 91008 #: src/sync/class-sync-product-linking.php:298 1005 1009 #. translators: %s date of import. 1006 1010 msgid "Could not find faire products to import. Date: %s" 1007 1011 msgstr "" 1008 1012 1009 #: src/sync/class-sync-product-linking.php:32 71013 #: src/sync/class-sync-product-linking.php:326 1010 1014 #. translators: %1$d number of linking products imported. 1011 1015 msgid "Successfully linked: %1$d. Date %2$s." 1012 1016 msgstr "" 1013 1017 1014 #: src/sync/class-sync-product-linking.php:3 901018 #: src/sync/class-sync-product-linking.php:389 1015 1019 #. translators: %1d products page, %2$s: date of import. 1016 1020 msgid "Existing products import failed at page %1$d. Date: %2$s" 1017 1021 msgstr "" 1018 1022 1019 #: src/sync/class-sync-product-linking.php:43 31023 #: src/sync/class-sync-product-linking.php:432 1020 1024 msgid "Faire product %1$s option sets do not match product id %2$s." 1021 1025 msgstr "" 1022 1026 1023 #: src/sync/class-sync-product-linking.php:46 51024 #: src/sync/class-sync-product-linking.php:60 31027 #: src/sync/class-sync-product-linking.php:464 1028 #: src/sync/class-sync-product-linking.php:602 1025 1029 msgid "Faire product %1$s already linked with product id %2$s." 1026 1030 msgstr "" 1027 1031 1028 #: src/sync/class-sync-product-linking.php:55 51032 #: src/sync/class-sync-product-linking.php:554 1029 1033 msgid "Manual linking required for faire variant %1$s on product id %2$s." 1030 1034 msgstr "" 1031 1035 1032 #: src/sync/class-sync-product-linking.php:57 11036 #: src/sync/class-sync-product-linking.php:570 1033 1037 msgid "Faire product %1$s link queued for next sync with product id %2$s." 1034 1038 msgstr "" 1035 1039 1036 #: src/sync/class-sync-product-linking.php:58 71040 #: src/sync/class-sync-product-linking.php:586 1037 1041 msgid "Added missing faire variant %1$s to import CSV for product id %2$s." 1038 1042 msgstr "" 1039 1043 1040 #: src/sync/class-sync-product-linking.php:62 21044 #: src/sync/class-sync-product-linking.php:621 1041 1045 msgid "" 1042 1046 "Multiple product matches. Faire product %1$s had variants skus on multiple " … … 1044 1048 msgstr "" 1045 1049 1046 #: src/sync/class-sync-product-linking.php:63 71050 #: src/sync/class-sync-product-linking.php:636 1047 1051 msgid "Added missing faire product %s to import CSV." 1048 1052 msgstr "" 1049 1053 1050 #: src/sync/class-sync-product-linking.php:64 71054 #: src/sync/class-sync-product-linking.php:646 1051 1055 msgid "Invalid product match. Faire product %s matched an invalid product type." 1052 1056 msgstr "" 1053 1057 1054 #: src/sync/class-sync-product-linking.php:65 71058 #: src/sync/class-sync-product-linking.php:656 1055 1059 msgid "Faire product %s is missing a sku." 1056 1060 msgstr "" 1057 1061 1058 #: src/sync/class-sync-product-linking.php:66 81062 #: src/sync/class-sync-product-linking.php:667 1059 1063 msgid "Faire product %1$s successfully linked with product id %2$s." 1060 1064 msgstr "" 1061 1065 1062 #: src/sync/class-sync-product-linking.php:125 81066 #: src/sync/class-sync-product-linking.php:1257 1063 1067 msgid "Invalid download attempt" 1064 1068 msgstr "" 1065 1069 1066 #: src/sync/class-sync-product-linking.php:133 91070 #: src/sync/class-sync-product-linking.php:1338 1067 1071 msgid "Failed to create faire product %s as product." 1068 1072 msgstr "" 1069 1073 1070 #: src/sync/class-sync-product-linking.php:134 91074 #: src/sync/class-sync-product-linking.php:1348 1071 1075 msgid "Created faire product %1$s as product id %2$s." 1072 1076 msgstr "" 1073 1077 1074 #: src/sync/class-sync-product-linking.php:13 701078 #: src/sync/class-sync-product-linking.php:1369 1075 1079 msgid "Failed to create faire variant %1$s on product %2$s." 1076 1080 msgstr "" 1077 1081 1078 #: src/sync/class-sync-product-linking.php:13 801082 #: src/sync/class-sync-product-linking.php:1379 1079 1083 msgid "Created faire variant %1$s on product id %2$s." 1080 1084 msgstr "" 1081 1085 1082 #: src/sync/class-sync-product-linking.php:141 31086 #: src/sync/class-sync-product-linking.php:1412 1083 1087 msgid "Created faire variant on product id %s." 1084 1088 msgstr "" 1085 1089 1086 #: src/sync/class-sync-product-linking.php:14 201090 #: src/sync/class-sync-product-linking.php:1419 1087 1091 msgid "Failed to create faire variant on product %s." 1088 1092 msgstr "" 1089 1093 1090 #: src/sync/class-sync-product-linking.php:181 81094 #: src/sync/class-sync-product-linking.php:1817 1091 1095 #. translators: %s: image URL 1092 1096 msgid "Unable to use image \"%s\"." 1093 1097 msgstr "" 1094 1098 1095 #: src/sync/class-sync-product-linking.php:197 91099 #: src/sync/class-sync-product-linking.php:1978 1096 1100 msgid "Linking processed for %d faire products and variants" 1097 1101 msgstr "" 1098 1102 1103 #: src/sync/class-sync-product-linking.php:1981 1104 msgid "Successfully linked count: %d" 1105 msgstr "" 1106 1099 1107 #: src/sync/class-sync-product-linking.php:1982 1100 msgid " Successfully linked count: %d"1108 msgid "Queued sync for products: %d" 1101 1109 msgstr "" 1102 1110 1103 1111 #: src/sync/class-sync-product-linking.php:1983 1104 msgid " Queued sync forproducts: %d"1112 msgid "Manual linking required products: %d" 1105 1113 msgstr "" 1106 1114 1107 1115 #: src/sync/class-sync-product-linking.php:1984 1108 msgid " Manual linking required products: %d"1116 msgid "Created products: %d" 1109 1117 msgstr "" 1110 1118 1111 1119 #: src/sync/class-sync-product-linking.php:1985 1112 msgid "Created products: %d"1120 msgid "Created variations: %d" 1113 1121 msgstr "" 1114 1122 1115 1123 #: src/sync/class-sync-product-linking.php:1986 1116 msgid " Created variations: %d"1124 msgid "Added rows to product import csv: %d" 1117 1125 msgstr "" 1118 1126 1119 1127 #: src/sync/class-sync-product-linking.php:1987 1120 msgid "Added rows to productimport csv: %d"1128 msgid "Added rows to variations import csv: %d" 1121 1129 msgstr "" 1122 1130 1123 1131 #: src/sync/class-sync-product-linking.php:1988 1124 msgid " Added rows to variations import csv: %d"1132 msgid "Failed and skipped count: %d" 1125 1133 msgstr "" 1126 1134 1127 1135 #: src/sync/class-sync-product-linking.php:1989 1128 msgid " Failed and skipped count: %d"1136 msgid "Skipped already linked: %d" 1129 1137 msgstr "" 1130 1138 1131 1139 #: src/sync/class-sync-product-linking.php:1990 1132 msgid "Skipped already linked: %d"1140 msgid "Skipped with nonmatching option sets: %d" 1133 1141 msgstr "" 1134 1142 1135 1143 #: src/sync/class-sync-product-linking.php:1991 1136 msgid " Skipped with nonmatching option sets: %d"1144 msgid "Multiple matches found: %d" 1137 1145 msgstr "" 1138 1146 1139 1147 #: src/sync/class-sync-product-linking.php:1992 1140 msgid " Multiple matches found: %d"1148 msgid "Products or variants with no sku: %d" 1141 1149 msgstr "" 1142 1150 1143 1151 #: src/sync/class-sync-product-linking.php:1993 1144 msgid " Products or variants with no sku: %d"1152 msgid "Failed to create products: %d" 1145 1153 msgstr "" 1146 1154 1147 1155 #: src/sync/class-sync-product-linking.php:1994 1148 msgid "Failed to create products: %d"1149 msgstr ""1150 1151 #: src/sync/class-sync-product-linking.php:19951152 1156 msgid "Failed to create variations: %d" 1153 1157 msgstr "" 1154 1158 1155 #: src/sync/class-sync-product-linking.php:20 101159 #: src/sync/class-sync-product-linking.php:2009 1156 1160 msgid "Could not find faire products to import." 1157 1161 msgstr "" … … 1170 1174 msgstr "" 1171 1175 1172 #: src/sync/class-sync-product.php:14 61176 #: src/sync/class-sync-product.php:145 1173 1177 msgid "Faire State" 1174 1178 msgstr "" 1175 1179 1176 #: src/sync/class-sync-product.php:14 81180 #: src/sync/class-sync-product.php:147 1177 1181 msgid "Faire Product" 1178 1182 msgstr "" 1179 1183 1180 #: src/sync/class-sync-product.php:17 11184 #: src/sync/class-sync-product.php:170 1181 1185 msgid "This is a product type: %s." 1182 1186 msgstr "" 1183 1187 1184 #: src/sync/class-sync-product.php:18 4 src/sync/class-sync-product.php:2041188 #: src/sync/class-sync-product.php:183 src/sync/class-sync-product.php:203 1185 1189 msgid "ID:" 1186 1190 msgstr "" 1187 1191 1188 #: src/sync/class-sync-product.php:19 1 src/sync/class-sync-product.php:1951192 #: src/sync/class-sync-product.php:190 src/sync/class-sync-product.php:194 1189 1193 msgid "None" 1190 1194 msgstr "" 1191 1195 1192 #: src/sync/class-sync-product.php:19 9 src/sync/class-sync-product.php:7221193 #: src/sync/class-sync-product.php:100 6 src/sync/class-sync-product.php:10231196 #: src/sync/class-sync-product.php:198 src/sync/class-sync-product.php:721 1197 #: src/sync/class-sync-product.php:1005 src/sync/class-sync-product.php:1022 1194 1198 msgid "Success" 1195 1199 msgstr "" 1196 1200 1197 #: src/sync/class-sync-product.php:19 9 src/sync/class-sync-product.php:9861198 #: src/sync/class-sync-product.php:9 90 src/sync/class-sync-product.php:9931199 #: src/sync/class-sync-product.php:10 301201 #: src/sync/class-sync-product.php:198 src/sync/class-sync-product.php:985 1202 #: src/sync/class-sync-product.php:989 src/sync/class-sync-product.php:992 1203 #: src/sync/class-sync-product.php:1029 1200 1204 msgid "Failed" 1201 1205 msgstr "" 1202 1206 1207 #: src/sync/class-sync-product.php:204 1208 msgid "Last Sync:" 1209 msgstr "" 1210 1203 1211 #: src/sync/class-sync-product.php:205 1204 msgid "Last Sync:"1205 msgstr ""1206 1207 #: src/sync/class-sync-product.php:2061208 1212 msgid "Sync Now" 1209 1213 msgstr "" 1210 1214 1211 #: src/sync/class-sync-product.php:24 51215 #: src/sync/class-sync-product.php:244 1212 1216 msgid "" 1213 1217 "Product Linking: Cannot link with faire product %s because it matches " … … 1215 1219 msgstr "" 1216 1220 1217 #: src/sync/class-sync-product.php:25 11221 #: src/sync/class-sync-product.php:250 1218 1222 msgid "" 1219 1223 "Product Linking: Cannot link with faire product %s due to mismatched option " … … 1221 1225 msgstr "" 1222 1226 1223 #: src/sync/class-sync-product.php:25 91227 #: src/sync/class-sync-product.php:258 1224 1228 msgid "" 1225 1229 "Product Linking: Requires manual linking variations with faire product %s " … … 1227 1231 msgstr "" 1228 1232 1233 #: src/sync/class-sync-product.php:289 1234 msgid "Change Faire lifecycle state to unpublished" 1235 msgstr "" 1236 1229 1237 #: src/sync/class-sync-product.php:290 1230 msgid "Change Faire lifecycle state to unpublished"1238 msgid "Change Faire lifecycle state to published" 1231 1239 msgstr "" 1232 1240 1233 1241 #: src/sync/class-sync-product.php:291 1234 msgid "Change Faire lifecycle state to published"1242 msgid "Change Faire lifecycle state to draft" 1235 1243 msgstr "" 1236 1244 1237 1245 #: src/sync/class-sync-product.php:292 1238 msgid "Change Faire lifecycle state to draft"1239 msgstr ""1240 1241 #: src/sync/class-sync-product.php:2931242 1246 msgid "Unlink from Faire product" 1243 1247 msgstr "" 1244 1248 1245 #: src/sync/class-sync-product.php:39 71249 #: src/sync/class-sync-product.php:396 1246 1250 #. translators: %s single product, %s product count. 1247 1251 msgid "%s product set Lifecycle State to Unpublished." … … 1250 1254 msgstr[1] "" 1251 1255 1252 #: src/sync/class-sync-product.php: 4001256 #: src/sync/class-sync-product.php:399 1253 1257 #. translators: %s single product, %s product count. 1254 1258 msgid "%s product set Lifecycle State to Published." … … 1257 1261 msgstr[1] "" 1258 1262 1259 #: src/sync/class-sync-product.php:40 31263 #: src/sync/class-sync-product.php:402 1260 1264 #. translators: %s single product, %s product count. 1261 1265 msgid "%s product set Lifecycle State to Draft." … … 1264 1268 msgstr[1] "" 1265 1269 1266 #: src/sync/class-sync-product.php:40 61270 #: src/sync/class-sync-product.php:405 1267 1271 #. translators: %s single product, %s product count. 1268 1272 msgid "%s products unlinked." … … 1271 1275 msgstr[1] "" 1272 1276 1273 #: src/sync/class-sync-product.php:41 51277 #: src/sync/class-sync-product.php:414 1274 1278 msgid "— No change —" 1275 1279 msgstr "" 1276 1280 1277 #: src/sync/class-sync-product.php:45 21281 #: src/sync/class-sync-product.php:451 1278 1282 msgid "No sync history." 1279 1283 msgstr "" 1280 1284 1281 #: src/sync/class-sync-product.php:46 71285 #: src/sync/class-sync-product.php:466 1282 1286 #. translators: %s time past. 1283 1287 msgid "%s ago" 1284 1288 msgstr "" 1285 1289 1286 #: src/sync/class-sync-product.php:71 9 src/sync/class-sync-product.php:10031290 #: src/sync/class-sync-product.php:718 src/sync/class-sync-product.php:1002 1287 1291 msgid "Error" 1288 1292 msgstr "" 1289 1293 1290 #: src/sync/class-sync-product.php:85 71294 #: src/sync/class-sync-product.php:856 1291 1295 #. translators: %d number of products. 1292 1296 msgid "Sync queued for %d products" 1293 1297 msgstr "" 1294 1298 1295 #: src/sync/class-sync-product.php:86 81299 #: src/sync/class-sync-product.php:867 1296 1300 #. translators: %d number of products success. 1297 1301 msgid "Product Success = %s" 1298 1302 msgstr "" 1299 1303 1300 #: src/sync/class-sync-product.php:87 51304 #: src/sync/class-sync-product.php:874 1301 1305 #. translators: %d number of products failed. 1302 1306 msgid "Product Failures = %s" 1303 1307 msgstr "" 1304 1308 1305 #: src/sync/class-sync-product.php:88 21309 #: src/sync/class-sync-product.php:881 1306 1310 #. translators: %d number of products failed. 1307 1311 msgid "500 Failures = %s" 1308 1312 msgstr "" 1309 1313 1310 #: src/sync/class-sync-product.php:88 91314 #: src/sync/class-sync-product.php:888 1311 1315 #. translators: %d number of products failed. 1312 1316 msgid "429 Failures = %s" 1313 1317 msgstr "" 1314 1318 1315 #: src/sync/class-sync-product.php:91 7 src/sync/class-sync-product.php:9791319 #: src/sync/class-sync-product.php:916 src/sync/class-sync-product.php:978 1316 1320 msgid "Product manual sync failed. Unauthorized request." 1317 1321 msgstr "" 1318 1322 1319 #: src/sync/class-sync-product.php:95 51323 #: src/sync/class-sync-product.php:954 1320 1324 #. translators: %d number of products. 1321 1325 msgid "Sync queued for %d products." 1322 1326 msgstr "" 1323 1327 1324 #: src/sync/class-sync-product.php:105 4 src/sync/class-sync-product.php:11071325 #: src/sync/class-sync-product.php:120 4 src/sync/class-sync-product.php:14281328 #: src/sync/class-sync-product.php:1053 src/sync/class-sync-product.php:1106 1329 #: src/sync/class-sync-product.php:1203 src/sync/class-sync-product.php:1427 1326 1330 #. translators: %s product ID. 1327 1331 msgid "Invalid product %s" 1328 1332 msgstr "" 1329 1333 1330 #: src/sync/class-sync-product.php:116 2 src/sync/class-sync-product.php:13461334 #: src/sync/class-sync-product.php:1161 src/sync/class-sync-product.php:1345 1331 1335 msgid "Product linking error. Skipping faire sync for this product" 1332 1336 msgstr "" 1333 1337 1334 #: src/sync/class-sync-product.php:117 31338 #: src/sync/class-sync-product.php:1172 1335 1339 msgid "" 1336 1340 "Product sync failed. Faire product sync disabled because locale and " … … 1338 1342 msgstr "" 1339 1343 1340 #: src/sync/class-sync-product.php:118 41344 #: src/sync/class-sync-product.php:1183 1341 1345 msgid "Product sync failed. Faire product sync disallowed on this product." 1342 1346 msgstr "" 1343 1347 1344 #: src/sync/class-sync-product.php:122 31348 #: src/sync/class-sync-product.php:1222 1345 1349 msgid "Create product failed" 1346 1350 msgstr "" 1347 1351 1348 #: src/sync/class-sync-product.php:122 51352 #: src/sync/class-sync-product.php:1224 1349 1353 msgid "Update product failed" 1350 1354 msgstr "" 1351 1355 1352 #: src/sync/class-sync-product.php:125 71356 #: src/sync/class-sync-product.php:1256 1353 1357 msgid "Create product as DRAFT failed" 1354 1358 msgstr "" 1355 1359 1356 #: src/sync/class-sync-product.php:125 91360 #: src/sync/class-sync-product.php:1258 1357 1361 msgid "Update product as DRAFT failed" 1358 1362 msgstr "" 1359 1363 1360 #: src/sync/class-sync-product.php:126 91364 #: src/sync/class-sync-product.php:1268 1361 1365 msgid "Description was truncated after 1000 characters during save" 1362 1366 msgstr "" 1363 1367 1364 #: src/sync/class-sync-product.php:127 71368 #: src/sync/class-sync-product.php:1276 1365 1369 msgid "Create product as DRAFT success" 1366 1370 msgstr "" 1367 1371 1368 #: src/sync/class-sync-product.php:127 91372 #: src/sync/class-sync-product.php:1278 1369 1373 msgid "Update product as DRAFT success" 1370 1374 msgstr "" 1371 1375 1372 #: src/sync/class-sync-product.php:129 31376 #: src/sync/class-sync-product.php:1292 1373 1377 msgid "Create product success" 1374 1378 msgstr "" 1375 1379 1376 #: src/sync/class-sync-product.php:129 51380 #: src/sync/class-sync-product.php:1294 1377 1381 msgid "Update product success" 1378 1382 msgstr "" 1379 1383 1380 #: src/sync/class-sync-product.php:132 31384 #: src/sync/class-sync-product.php:1322 1381 1385 msgid "" 1382 1386 "Delete product failed. Faire product sync disabled because locale and " … … 1384 1388 msgstr "" 1385 1389 1386 #: src/sync/class-sync-product.php:133 41390 #: src/sync/class-sync-product.php:1333 1387 1391 msgid "Delete product failed. Faire product sync disallowed on this product." 1388 1392 msgstr "" 1389 1393 1390 #: src/sync/class-sync-product.php:13 601394 #: src/sync/class-sync-product.php:1359 1391 1395 msgid "Delete product failed" 1392 1396 msgstr "" 1393 1397 1394 #: src/sync/class-sync-product.php:137 71398 #: src/sync/class-sync-product.php:1376 1395 1399 msgid "Delete product as DRAFT failed" 1396 1400 msgstr "" 1397 1401 1398 #: src/sync/class-sync-product.php:138 31402 #: src/sync/class-sync-product.php:1382 1399 1403 msgid "Delete product as DRAFT success" 1400 1404 msgstr "" 1401 1405 1402 #: src/sync/class-sync-product.php:139 41406 #: src/sync/class-sync-product.php:1393 1403 1407 msgid "Delete product success" 1404 1408 msgstr "" 1405 1409 1406 #: src/sync/class-sync-product.php:160 91410 #: src/sync/class-sync-product.php:1608 1407 1411 #. translators: %s product variant ID. 1408 1412 msgid "Invalid product variant %s" 1409 1413 msgstr "" 1410 1414 1411 #: src/sync/class-sync-product.php:166 11415 #: src/sync/class-sync-product.php:1660 1412 1416 msgid "Update variant inventory failed" 1413 1417 msgstr "" 1414 1418 1415 #: src/sync/class-sync-product.php:166 3 src/sync/class-sync-product.php:17011419 #: src/sync/class-sync-product.php:1662 src/sync/class-sync-product.php:1700 1416 1420 msgid "Update variant inventory success" 1417 1421 msgstr "" 1418 1422 1419 #: src/sync/class-sync-product.php:169 91423 #: src/sync/class-sync-product.php:1698 1420 1424 msgid "Update product inventory failed" 1421 1425 msgstr "" 1422 1426 1423 #: src/sync/class-sync-product.php:174 11427 #: src/sync/class-sync-product.php:1740 1424 1428 msgid "Update variant stock status failed" 1425 1429 msgstr "" 1426 1430 1427 #: src/sync/class-sync-product.php:174 31431 #: src/sync/class-sync-product.php:1742 1428 1432 msgid "Update variant stock status success" 1429 1433 msgstr "" 1430 1434 1431 #: src/sync/class-sync-product.php:177 81435 #: src/sync/class-sync-product.php:1777 1432 1436 msgid "Update product stock status failed" 1433 1437 msgstr "" 1434 1438 1435 #: src/sync/class-sync-product.php:17 801439 #: src/sync/class-sync-product.php:1779 1436 1440 msgid "Update product stock status success" 1437 1441 msgstr "" 1438 1442 1439 #: src/sync/class-sync-product.php:26 481443 #: src/sync/class-sync-product.php:2651 1440 1444 msgid "PUBLISHED" 1441 1445 msgstr "" 1442 1446 1443 #: src/sync/class-sync-product.php:26 491447 #: src/sync/class-sync-product.php:2652 1444 1448 msgid "DELETED" 1445 1449 msgstr "" 1446 1450 1447 #: src/sync/class-sync-product.php:265 01451 #: src/sync/class-sync-product.php:2653 1448 1452 msgid "UNPUBLISHED" 1449 1453 msgstr "" 1450 1454 1451 #: src/sync/class-sync-product.php:265 11455 #: src/sync/class-sync-product.php:2654 1452 1456 msgid "DRAFT" 1453 1457 msgstr "" -
faire-for-woocommerce/tags/1.5.2/readme.txt
r2928633 r2937229 73 73 74 74 == Changelog == 75 76 = 1.5.2 = 77 * Fix: Measurements sync from WooCommerce to Faire. 75 78 76 79 = 1.5.1 = -
faire-for-woocommerce/tags/1.5.2/src/admin/class-wc-integration-faire.php
r2928633 r2937229 453 453 'variant.tariff_code' => __( 'Variant Tariff Code', 'faire-for-woocommerce' ), 454 454 'variant.prices' => __( 'Retail & Wholesale Prices', 'faire-for-woocommerce' ), 455 'variant.measurements' => __( 'Measurements', 'faire-for-woocommerce' ), 455 456 ), 456 457 'class' => 'wc-enhanced-select', -
faire-for-woocommerce/tags/1.5.2/src/sync/class-sync-product-linking.php
r2928633 r2937229 15 15 use Faire\Wc\Sync\Sync_Product_Scheduler; 16 16 use Faire\Wc\Utils; 17 use Automattic\WooCommerce\Utilities\I18nUtil;18 17 19 18 if ( ! defined( 'ABSPATH' ) ) { … … 1027 1026 } 1028 1027 1029 $wc_mass_unit = I18nUtil::get_weight_unit_label( get_option( 'woocommerce_weight_unit', 'kg' ));1030 $wc_distance_unit = I18nUtil::get_dimensions_unit_label( get_option( 'woocommerce_dimension_unit', 'cm' ));1028 $wc_mass_unit = get_option( 'woocommerce_weight_unit', 'kg' ); 1029 $wc_distance_unit = get_option( 'woocommerce_dimension_unit', 'cm' ); 1031 1030 1032 1031 $mass_unit_map_faire_to_woocommerce = array( … … 1511 1510 1512 1511 // Add measurements. 1513 $wc_mass_unit = I18nUtil::get_weight_unit_label( get_option( 'woocommerce_weight_unit', 'kg' ));1514 $wc_distance_unit = I18nUtil::get_dimensions_unit_label( get_option( 'woocommerce_dimension_unit', 'cm' ));1512 $wc_mass_unit = get_option( 'woocommerce_weight_unit', 'kg' ); 1513 $wc_distance_unit = get_option( 'woocommerce_dimension_unit', 'cm' ); 1515 1514 1516 1515 if ( ! empty( $row[ "Weight ($wc_mass_unit)" ] ) ) { … … 1646 1645 1647 1646 // Add measurements. 1648 $wc_mass_unit = I18nUtil::get_weight_unit_label( get_option( 'woocommerce_weight_unit', 'kg' ));1649 $wc_distance_unit = I18nUtil::get_dimensions_unit_label( get_option( 'woocommerce_dimension_unit', 'cm' ));1647 $wc_mass_unit = get_option( 'woocommerce_weight_unit', 'kg' ); 1648 $wc_distance_unit = get_option( 'woocommerce_dimension_unit', 'cm' ); 1650 1649 1651 1650 if ( ! empty( $row[ "Weight ($wc_mass_unit)" ] ) ) { -
faire-for-woocommerce/tags/1.5.2/src/sync/class-sync-product.php
r2928633 r2937229 15 15 use Faire\Wc\Sync\Sync_Product_Scheduler; 16 16 use Faire\Wc\Sync\Sync_Product_Unlinking; 17 use Automattic\WooCommerce\Utilities\I18nUtil;18 17 19 18 if ( ! defined( 'ABSPATH' ) ) { … … 2573 2572 */ 2574 2573 private function get_faire_product_measurements( $product ) { 2575 $wc_mass_unit = I18nUtil::get_weight_unit_label( get_option( 'woocommerce_weight_unit', 'kg' ));2576 $wc_distance_unit = I18nUtil::get_dimensions_unit_label( get_option( 'woocommerce_dimension_unit', 'cm' ));2577 $measurements = array();2574 $wc_mass_unit = get_option( 'woocommerce_weight_unit', 'kg' ); 2575 $wc_distance_unit = get_option( 'woocommerce_dimension_unit', 'cm' ); 2576 $measurements = (object) array(); 2578 2577 2579 2578 $mass_unit_map_woocommerce_to_faire = array( … … 2593 2592 2594 2593 if ( $product->get_weight() && isset( $mass_unit_map_woocommerce_to_faire[ $wc_mass_unit ] ) ) { 2595 $measurements['mass_unit'] = $mass_unit_map_woocommerce_to_faire[ $wc_mass_unit ]; 2596 $measurements['weight'] = $product->get_weight(); 2597 } 2598 2599 if ( $product->get_length() && isset( $distance_unit_map_woocommerce_to_faire[ $wc_distance_unit ] ) ) { 2600 $measurements['distance_unit'] = $distance_unit_map_woocommerce_to_faire[ $wc_distance_unit ]; 2601 $measurements['length'] = $product->get_length(); 2602 } 2603 2604 if ( $product->get_width() && isset( $distance_unit_map_woocommerce_to_faire[ $wc_distance_unit ] ) ) { 2605 $measurements['distance_unit'] = $distance_unit_map_woocommerce_to_faire[ $wc_distance_unit ]; 2606 $measurements['width'] = $product->get_width(); 2607 } 2608 2609 if ( $product->get_height() && isset( $distance_unit_map_woocommerce_to_faire[ $wc_distance_unit ] ) ) { 2610 $measurements['distance_unit'] = $distance_unit_map_woocommerce_to_faire[ $wc_distance_unit ]; 2611 $measurements['height'] = $product->get_height(); 2594 $measurements->mass_unit = $mass_unit_map_woocommerce_to_faire[ $wc_mass_unit ]; 2595 $measurements->weight = $product->get_weight(); 2596 } 2597 2598 if ( 2599 ( $product->get_length() || $product->get_width() || $product->get_height() ) && 2600 isset( $distance_unit_map_woocommerce_to_faire[ $wc_distance_unit ] ) 2601 ) { 2602 $measurements->distance_unit = $distance_unit_map_woocommerce_to_faire[ $wc_distance_unit ]; 2603 } 2604 2605 if ( $product->get_length() && isset( $measurements->distance_unit ) ) { 2606 $measurements->length = $product->get_length(); 2607 } 2608 2609 if ( $product->get_width() && isset( $measurements->distance_unit ) ) { 2610 $measurements->width = $product->get_width(); 2611 } 2612 2613 if ( $product->get_height() && isset( $measurements->distance_unit ) ) { 2614 $measurements->height = $product->get_height(); 2612 2615 } 2613 2616 -
faire-for-woocommerce/trunk/readme.txt
r2928633 r2937229 4 4 Requires at least: 4.7 5 5 Tested up to: 6.2 6 Stable tag: 1.5. 16 Stable tag: 1.5.2 7 7 Requires PHP: 7.4 8 8 WC requires at least: 6.0
Note: See TracChangeset
for help on using the changeset viewer.