User tests: Successful: Unsuccessful:
Postinstall component uses the admin mod_feed
to display the Release News from the Joomla Project.
But it does not take into account a RTL language.
Alignment and direction of date are set by default to LTR
This PR corrects that by:
rssrtl
to RTL if lang is RTL for the envelopping <div>
in postinstall default.php<ul
to force the feed texts to be aligned left as these are in English in mod_feed.Install Persian language and switch admin to Persian.
Load index.php?option=com_postinstall&eid=700
The date in the left column is not displayed as RTL and is aligned left
The date is now RTL and alignment is right
For 4.0 the modified code for mod_feed will be slightly different as we have no more
<?php echo $params->get('moduleclass_sfx'); ?>
and the class for the feed texts is now newsfeed list-group
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_postinstall Modules |
Labels |
Added:
?
|
Title |
|
I see other errors with the feed text which should be ltr. Looking at this now.
Also, the padding was in error before patch.
@Quy @franz-wohlkoenig
Should be OK now.
I have tested this item
All Paragraphs are <strong>
.
This is not due to this patch but an error in the Persian ini file: a <strong>
not closed properly:
(</ strong>
)
COM_PRIVACY_POSTINSTALL_BODY="<p>با معرفی GDPR برای شهروندان اتحادیه اروپا و مقررات مشابه در سایر نقاط جهان، ممکن است لازم باشد قبل از ذخیره هر <strong>اطلاعات شخصی</ strong> از کاربر رضایت بخواهید.</p><p>جوملا 3.9 قابلیت های جدیدی را برای کمک به شما در ایجاد سیاست های حفظ حریم خصوصی سایت و جمع آوری رضایت کاربر معرفی می کند. علاوه بر این، یک گردش کار برای کمک به مدیریت درخواستهای اطلاعات کاربر مانند درخواست حذف اطلاعات شخصی خود از سایت شما در دسترس است.</p><p>برای اطلاعات بیشتر در مورد این ویژگی جدید لینک <a href='https://docs.joomla.org/J3.x:Privacy' target='_new'>مستندات حریم خصوصی</a> را مطالعه کنید.</p>"
once corrected to
COM_PRIVACY_POSTINSTALL_BODY="<p>با معرفی GDPR برای شهروندان اتحادیه اروپا و مقررات مشابه در سایر نقاط جهان، ممکن است لازم باشد قبل از ذخیره هر <strong>اطلاعات شخصی</strong> از کاربر رضایت بخواهید.</p><p>جوملا 3.9 قابلیت های جدیدی را برای کمک به شما در ایجاد سیاست های حفظ حریم خصوصی سایت و جمع آوری رضایت کاربر معرفی می کند. علاوه بر این، یک گردش کار برای کمک به مدیریت درخواستهای اطلاعات کاربر مانند درخواست حذف اطلاعات شخصی خود از سایت شما در دسترس است.</p><p>برای اطلاعات بیشتر در مورد این ویژگی جدید لینک <a href='https://docs.joomla.org/J3.x:Privacy' target='_new'>مستندات حریم خصوصی</a> را مطالعه کنید.</p>"
all is fine:
I have tested this item
Modified as requested.
@franz-wohlkoenig No need to test again.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
@HLeithner
Please merge.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-31 09:58:25 |
Closed_By | ⇒ | HLeithner |
thx
I have tested this item? unsuccessfully on 0e91a57
without PR: Bullet is on Start of Title
with PR: Bullet is on right End of Title (as Date).
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25604.