Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change the Hot Deals Text #508

Closed
lembarek opened this issue Jul 31, 2024 · 5 comments
Closed

change the Hot Deals Text #508

lembarek opened this issue Jul 31, 2024 · 5 comments

Comments

@lembarek
Copy link

Environment

  1. Version : dev-master
  2. Operating system : linux

Describe the bug
when I try to change the Hot Deals link to 'Bonnes Affaires' (For French)

To Reproduce
Steps to reproduce the behavior:

  1. Go to admin
  2. then Catalog
  3. then Categories
  4. then Hot Deals
  5. then Text then
  6. select Type as Name
  7. change the content
  8. save
  9. then select type as short description
  10. add your desciption (Offres exceptionnelles pour ce mois)
  11. save

Expected behavior
the
https://github.com/user-attachments/assets/c6056205-9ccb-4cbf-a835-ef420917b5bd
Text in navbar become 'Bonnes Affaires'
and the short text become (Offres exceptionnelles pour ce mois))
But

the Hot Deals did not change

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

Additional context
Add any other context about the problem here.

@lembarek
Copy link
Author

lembarek commented Jul 31, 2024

I think the problem is query of update
the first update is
SET "langid" = 'fr', "type" = 'name', "domain" = 'catalog', "label"= 'Bonnes affaires',

and the second update is
SET "langid" = 'fr', "type" = 'short', "domain" = 'catalog', "label" = 'Bonnes affaires', "content" ...

and the 2 updates have the same condition
WHERE "siteid" LIKE '1.%' AND "id" = 8

here the first second update will overwrite the first update

@aimeos
Copy link
Owner

aimeos commented Jul 31, 2024

You've changed type "name" to "short description" so no name in French is available any more. Thus, the category label ("Hot deals") is used

@lembarek
Copy link
Author

is there a way to change the name and the short description to french?

@aimeos
Copy link
Owner

aimeos commented Jul 31, 2024

Add a second text item

@lembarek
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants