Skip to content

Commit 742b72f

Browse files
feat: update files
1 parent 8a75156 commit 742b72f

File tree

7 files changed

+36
-3
lines changed

7 files changed

+36
-3
lines changed

packages/template-retail-react-app/app/static/translations/compiled/en-GB.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,6 +1943,12 @@
19431943
"value": "View"
19441944
}
19451945
],
1946+
"header.button.assistive_msg.agent": [
1947+
{
1948+
"type": 0,
1949+
"value": "Agent"
1950+
}
1951+
],
19461952
"header.button.assistive_msg.logo": [
19471953
{
19481954
"type": 0,

packages/template-retail-react-app/app/static/translations/compiled/en-US.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,6 +1943,12 @@
19431943
"value": "View"
19441944
}
19451945
],
1946+
"header.button.assistive_msg.agent": [
1947+
{
1948+
"type": 0,
1949+
"value": "Agent"
1950+
}
1951+
],
19461952
"header.button.assistive_msg.logo": [
19471953
{
19481954
"type": 0,

packages/template-retail-react-app/app/static/translations/compiled/en-XA.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3959,6 +3959,20 @@
39593959
"value": "]"
39603960
}
39613961
],
3962+
"header.button.assistive_msg.agent": [
3963+
{
3964+
"type": 0,
3965+
"value": "["
3966+
},
3967+
{
3968+
"type": 0,
3969+
"value": "Ȧɠḗḗƞŧ"
3970+
},
3971+
{
3972+
"type": 0,
3973+
"value": "]"
3974+
}
3975+
],
39623976
"header.button.assistive_msg.logo": [
39633977
{
39643978
"type": 0,

packages/template-retail-react-app/app/utils/shopper-agent-utils.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export function launchChat() {
2424
window.embeddedservice_bootstrap.utilAPI.launchChat()
2525
}
2626
} catch (error) {
27-
// eslint-disable-next-line no-console
2827
console.error('Shopper Agent: Error launching chat', error)
2928
}
3029
}
@@ -45,7 +44,6 @@ export function openShopperAgent() {
4544
try {
4645
launchChat()
4746
} catch (error) {
48-
// eslint-disable-next-line no-console
4947
console.error('Shopper Agent: Error opening agent', error)
5048
}
5149
}

packages/template-retail-react-app/app/utils/shopper-agent-utils.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
77

8-
import {launchChat, openShopperAgent} from '@salesforce/retail-react-app/app/utils/shopper-agent-utils'
8+
import {
9+
launchChat,
10+
openShopperAgent
11+
} from '@salesforce/retail-react-app/app/utils/shopper-agent-utils'
912

1013
describe('shopper-agent-utils', () => {
1114
let originalWindow

packages/template-retail-react-app/translations/en-GB.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,9 @@
759759
"global.link.added_to_wishlist.view_wishlist": {
760760
"defaultMessage": "View"
761761
},
762+
"header.button.assistive_msg.agent": {
763+
"defaultMessage": "Agent"
764+
},
762765
"header.button.assistive_msg.logo": {
763766
"defaultMessage": "Logo"
764767
},

packages/template-retail-react-app/translations/en-US.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,9 @@
759759
"global.link.added_to_wishlist.view_wishlist": {
760760
"defaultMessage": "View"
761761
},
762+
"header.button.assistive_msg.agent": {
763+
"defaultMessage": "Agent"
764+
},
762765
"header.button.assistive_msg.logo": {
763766
"defaultMessage": "Logo"
764767
},

0 commit comments

Comments
 (0)