? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
4 Mar 2018

Pull Request for Issue #17971

Summary of Changes

The JText does not need to escape quotes

Testing Instructions

Make a multilingual site (2 languages is enough)
Create some menu items in both languages.
Modify in en-GB or the other language the string
COM_MENUS_ITEM_FIELD_ASSOCIATION_NO_VALUE so include in the value a single quote.
In French, modify from
COM_MENUS_ITEM_FIELD_ASSOCIATION_NO_VALUE="- Pas d’association -")
(French pack has now a typographic quote, therefore it has to be modified.)
To
COM_MENUS_ITEM_FIELD_ASSOCIATION_NO_VALUE="- Pas d'association -"

But it can be tested in English too by just adding a single quote in the string value.

Before patch

Edit a menu item, association tab
The single quote in
"- Pas d'association -"
will show as - Pas d\'association -

After patch

The counterslash will not be there any more.

screen shot 2018-03-04 at 12 15 21

@izharaazmi
@brianteeman

avatar infograf768 infograf768 - open - 4 Mar 2018
avatar infograf768 infograf768 - change - 4 Mar 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Mar 2018
Category Administration com_menus
avatar infograf768
infograf768 - comment - 5 Mar 2018

@Quy @alikon
Please test

avatar alikon
alikon - comment - 5 Mar 2018

I have tested this item successfully on 20f93e5


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19828.

avatar alikon alikon - test_item - 5 Mar 2018 - Tested successfully
avatar HiggsWRX
HiggsWRX - comment - 5 Mar 2018

I have tested this item successfully on 20f93e5

Everything ok on my end!

Before Patch

After Patch


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19828.

avatar HiggsWRX HiggsWRX - test_item - 5 Mar 2018 - Tested successfully
avatar Quy Quy - change - 5 Mar 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 5 Mar 2018

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19828.

avatar mbabker mbabker - change - 17 Mar 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-03-17 15:29:26
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 17 Mar 2018
avatar mbabker mbabker - merge - 17 Mar 2018

Add a Comment

Login with GitHub to post a comment