storefront-ui icon indicating copy to clipboard operation
storefront-ui copied to clipboard

[BUG] SfStoreLocator: unable to use locale in the SfStoreLocator

Open ymaheshwari1 opened this issue 4 years ago • 1 comments

Describe the bug Unable to update the label Stores Found as per the locale in the store locator component. https://github.com/vuestorefront/storefront-ui/blob/develop/packages/vue/src/components/organisms/SfStoreLocator/SfStoreLocator.vue#L6

How to reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior We should be able to update the label.

Actual behavior When changing the locale, the label Stores Found does not update as per the locale.

Code examples Sample code (or your configuration) to help us reproduce the bug faster or to understand your use case.

//Write code here

Or add code snippets (Code sandbox)

Screenshots If applicable, add screenshots to help explain your problem.

Devices (please complete the following information):

  • Device: [e.g. iPhone6, Desktop]
  • OS: [e.g. iOS8.1]
  • Browser: [e.g chrome, safari][version]

Additional context Anything you would like to add but was not sure which section it fits. For example: tech stack used (Nuxt, Vue, Gridsome, React, etc)

Related issue: https://github.com/vuestorefront/storefront-ui/issues/226

┆Issue is synchronized with this Jira Zadanie by Unito

ymaheshwari1 avatar Mar 27 '21 11:03 ymaheshwari1

hi @ymaheshwari1

The label Stores found is not updated because it is hardcoded. If you think it should be a reactive prop, please create a pull request. We will be happy to review it :)

Baroshem avatar Jul 06 '21 06:07 Baroshem

Hi @ymaheshwari1, would you mind if I close the issue? I suppose it is no longer valid, as @Baroshem mentioned, wdyt?

AdamPawlinski avatar May 29 '23 11:05 AdamPawlinski

Hi @ymaheshwari1, would you mind if I close the issue? I suppose it is no longer valid, as @Baroshem mentioned, wdyt?

Sure, we can close this.

ymaheshwari1 avatar May 29 '23 11:05 ymaheshwari1

Thanks, @ymaheshwari1. Have you already tried the new SFUI? Would you like to share some feedback? I know that you contribute to SFUI1 a lot and we appreciate that, so if you will be interested in participating also in the new version it would be great :+1:

AdamPawlinski avatar May 30 '23 06:05 AdamPawlinski

@AdamPawlinski Thanks.

Just looked around the basic components of the new SFUI version, SFUI2 looks good to me. I would love to contribute to the new version and will explore the code in upcoming days.

ymaheshwari1 avatar May 30 '23 06:05 ymaheshwari1

@ymaheshwari1 Thanks very much. It would be great if you could add some ideas for new features or if you find bugs just add issues. Great to have you working with us :+1:

AdamPawlinski avatar Jun 15 '23 10:06 AdamPawlinski