Improvement: Adding the forced language in the modal title for Contacts and Newsfeeds#11718
Conversation
|
I have tested this item ✅ successfully on 3b7a5e2 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11718. |
| { | ||
| $linkNewsfeeds .= '&forcedLanguage=' . $this->element['language']; | ||
| $linkNewsfeed .= '&forcedLanguage=' . $this->element['language']; | ||
| $modalTitle = JText::_('COM_NEWSFEEDS_CHANGE_FEED') . ' (' . $this->element['label'] . ')'; |
There was a problem hiding this comment.
will we not have issues on RTL languages with this?
|
seems all fine, except the possible RTL issue. |
|
Replied concerning the rtl in the other PR |
|
When you create a multilingual joomla website from the installer the content languages are all created in the form Which means that you now have nested brackets like This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11718. |
|
I have tested this item ✅ successfully on 3b7a5e2 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11718. |
|
@infograf768 can you remove brackets? After that we can change this to RTC. |
| $linkContacts .= '&forcedLanguage=' . $this->element['language']; | ||
| $linkContact .= '&forcedLanguage=' . $this->element['language']; | ||
| $modalTitle = JText::_('COM_CONTACT_CHANGE_CONTACT') . ' (' . $this->element['label'] . ')'; | ||
| $modalTitle = JText::_('COM_CONTACT_CHANGE_CONTACT') . ' — ' . $this->element['label']; |
There was a problem hiding this comment.
Why — instead of – ?
There was a problem hiding this comment.
Why not? It really separates well 2 things which are different. Also we may have already a ndash for the lang tag. Do you have anything personal against mdash ? 😸
|
rtc This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11718. |
|
I have tested this item ✅ successfully on 33d713a This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11718. |
|
Thank you @infograf768 On 22 August 2016 at 14:45, andrepereiradasilva notifications@github.com
Brian Teeman |
…ts and Newsfeeds (joomla#11718) * Improvement: Adding the forced language in the modal title for Contacts and Newsfeeds * replacing parenthesis by mdash



To test on a multingual site.
When using associations and selecting a News Feed or a Contact, the language title is appended to the Modal title.
After patch:

This PR also normalizes some language string.
See also for categories #11717