Open dnkhack opened 1 year ago
Hi @dnkhack
Thank you for your report, I tried to reproduce you issue but as you can see I didn't reproduce it :
Untitled_ Jun 16, 2023 4_41 PM.webm
Did I miss something ?
Waiting for your feedback
@AureRita Hello, please be mindful. You have missed item 3 in the list of steps to reproduce.
Have a good one :)
Hello, I succeded to reproduce your issue with PS 8.0.4.
See attached screenrecord:
https://github.com/PrestaShop/PrestaShop/assets/92626242/2fec58e6-5ab1-4ad2-ac91-1db3497c14c8
Thanks!
Hello,
Ukrainian translation has to be updated on Crowdin it seems.
CC @l-delin
Hello @dnkhack, I've edited the following strings, so these should be fixed:
Would you like to delete the content related to this module ?
-->Хочете видалити вміст, пов'язаний з цим модулем?
Friday
--> П'ятниця
FYI, the translations should be effective by tomorrow (July 12th).Is there any other string that behaves the same way? If you have a list, I'd gladly edit them all for you :-)
Thank you!
@l-delin hello. Thank you for your good job. If I notice this kind of issue I'll notify you. Have a good one :)
@l-delin Hello, the problem is still here. I think you have wrong understand me. Issue not in translation. The issue in core code. Please, pay attention to the issue description. Thank you in advance :)
@dnkhack don't you have any other phrase possible to use that doesn't use '
? of course it could be done via core, but it works like that for many years ;-)
@kpodemski Hi there. I can explain it. Please be mindful when reading me.
After I have fixed all those issues I became the PS developer. Really it is love from the first bug fix. And now all attention spending on PS a module coding. Personally to me, all that is an advantage, because ordinary customers in my country are not able to make e-shop by themselves. They require Prestashop expert assistance.
However, you can leave off that advantage to me. Don't fix it :) But I believe it is not good for a perfect PS framework.
Have a good one.
Prerequisites
Describe the bug and add attachments
If the back office uses the Ukrainian interface language few translation wording which has the symbol single quote does the issue on the configuration page in every module! Javascript crashed and some features for the module stop working!
This happens then PS adds JS variables to the page! To solve it I have to replace the single quote with the same symbol apostrophe. It is the best solution in this case! If I add a slash to escape the single quote symbol - JS works well but translation in the back office appears with a slash.
The highest problem is if the module adds JS values with the Media::addJsDef method. In this case, after JS crashed, all module's JS variables will not be declared!
The same happens if the module or module AdminController form has the date set input!
And the same issue for Friday at the Ukrainian. But I can reproduce that to show, cause I can find the module where it happened!
Expected behavior
Symbol single quota has to be escaped
Steps to reproduce
PrestaShop version(s) where the bug happened
1.7.7-8.1
PHP version(s) where the bug happened
7.3-7.4
If your bug is related to a module, specify its name and its version
all modules with non Simfony configuration interface
Your company or customer's name goes here (if applicable).
DNK Soft