Skip to content

Commit f8a6a84

Browse files
strygosol-loup
andauthored
Brand fixes (#515)
* Initial commit * Make buttons consistent --------- Co-authored-by: Paul Kang <[email protected]>
1 parent e4bb044 commit f8a6a84

File tree

16 files changed

+20
-22
lines changed

16 files changed

+20
-22
lines changed

CODEOFCONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Code of Conduct
22

3-
Facebook has adopted a Code of Conduct that we expect project participants to adhere to.
3+
Meta has adopted a Code of Conduct that we expect project participants to adhere to.
44
Please read the [full text](https://code.fb.com/codeofconduct/)
55
so that you can understand what actions will and will not be tolerated.

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ We actively welcome your pull requests.
1313

1414
## Contributor License Agreement ("CLA")
1515
In order to accept your pull request, we need you to submit a CLA. You only need
16-
to do this once to work on any of Facebook's open source projects.
16+
to do this once to work on any of Meta's open source projects.
1717

1818
Complete your CLA here: <https://code.facebook.com/cla>
1919

2020
## Issues
2121
We use GitHub issues to track public bugs. Please ensure your description is
2222
clear and has sufficient instructions to be able to reproduce the issue.
2323

24-
Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
24+
Meta has a [bounty program](https://www.facebook.com/whitehat/) for the safe
2525
disclosure of security bugs. In those cases, please go through the process
2626
outlined on that page and do not file a public issue.
2727

app/code/Meta/Catalog/Block/Adminhtml/Product/Form/Diagnostics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected function _toHtml()
150150
return '';
151151
}
152152

153-
$diagnosticsHtml = '<p style="font-weight: bold;">Facebook diagnostic report:</p><ul>';
153+
$diagnosticsHtml = '<p style="font-weight: bold;">Meta diagnostic report:</p><ul>';
154154
foreach ($diagnosticsReport as $errorItem) {
155155
$diagnosticsHtml .= '<li class="message message-warning list-item" style="list-style-type: none;">' .
156156
$this->_escaper->escapeHtml($errorItem['title']) . ': ' .

app/code/Meta/Catalog/Block/Adminhtml/System/Config/CategoryFeed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function getButtonHtml()
7777
{
7878
/** @var Button $button */
7979
$button = $this->getLayout()->createBlock(Button::class);
80-
return $button->setData(['id' => 'fb_category_upload_btn', 'label' => __('Upload to Meta')])
80+
return $button->setData(['id' => 'fb_category_upload_btn', 'label' => __('Push Categories to Meta')])
8181
->toHtml();
8282
}
8383
}

app/code/Meta/Catalog/Block/Adminhtml/System/Config/ProductFeed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function getButtonHtml()
9191
{
9292
/** @var Button $button */
9393
$button = $this->getLayout()->createBlock(Button::class);
94-
return $button->setData(['id' => 'fb_feed_upload_btn', 'label' => __('Upload to Meta')])
94+
return $button->setData(['id' => 'fb_feed_upload_btn', 'label' => __('Push Products to Meta')])
9595
->toHtml();
9696
}
9797
}

app/code/Meta/Catalog/Plugin/FacebookCatalogDeletePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function afterDelete(Product $subject, $result, $object)
9494
$this->catalogUpdateResourceModel->deleteUpdateProductEntries($identifier);
9595
$this->catalogUpdateResourceModel->save($catalogDelete);
9696
} catch (\Exception $e) {
97-
$this->fbeHelper->log('Unable to save product deletion to Facebook catalog update table.');
97+
$this->fbeHelper->log('Unable to save product deletion to Meta catalog update table.');
9898
$this->fbeHelper->logException($e);
9999
}
100100
return $result;

app/code/Meta/Catalog/etc/adminhtml/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<!-- required checkout fields-->
2525
<item name="google_product_category" xsi:type="string">Google Product Category</item>
26-
<item name="fb_product_category" xsi:type="string">FB Product Category</item>
26+
<item name="fb_product_category" xsi:type="string">Meta Product Category</item>
2727
<item name="size" xsi:type="string">Size</item>
2828

2929
<!-- optional fields-->

app/code/Meta/Catalog/etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<frontend_model>Meta\Catalog\Block\Adminhtml\System\Config\ProductFeed</frontend_model>
2525
</field>
2626
<field id="category_feed" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="1">
27-
<label>Push All Categories to Meta Catalog</label>
27+
<label>Push Categories</label>
2828
<depends>
2929
<field id="facebook_business_extension/catalog_management/enable_catalog_sync">1</field>
3030
</depends>

app/code/Meta/Catalog/etc/db_schema.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
4-
<table name="facebook_catalog_update" resource="sales" engine="innodb" comment="Facebook Catalog Update">
4+
<table name="facebook_catalog_update" resource="sales" engine="innodb" comment="Meta Catalog Update">
55
<column xsi:type="int" name="row_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Row ID"/>
66
<column xsi:type="int" name="product_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Product ID"/>
77
<column xsi:type="varchar" name="sku" nullable="true" length="255" comment="Product Sku"/>

app/code/Meta/Catalog/view/adminhtml/ui_component/category_form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</item>
99
</argument>
1010
<settings>
11-
<label translate="true">Sync to Facebook Catalog</label>
11+
<label translate="true">Sync to Meta</label>
1212
<dataType>boolean</dataType>
1313
</settings>
1414
<formElements>

0 commit comments

Comments
 (0)