? ? ? Pending

User tests: Successful: Unsuccessful:

avatar Quy
Quy
24 May 2021

Summary of Changes

Pass value to language string instead of hard-coding in template.

Testing Instructions

Go to System > System Information
Click PHP Settings tab.
Labels same before/after PR.

GD Available
iconv Available
intl Available
avatar Quy Quy - open - 24 May 2021
avatar Quy Quy - change - 24 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2021
Category Administration com_admin Language & Strings
avatar infograf768 infograf768 - test_item - 24 May 2021 - Tested successfully
avatar infograf768
infograf768 - comment - 24 May 2021

I have tested this item successfully on 2cf7718


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

avatar brianteeman
brianteeman - comment - 24 May 2021

It was deliberate that the strings were written this way to avoid the situation where translators try to translate the gd, iconv and intl

Please do not do this

avatar Quy
Quy - comment - 24 May 2021

Won't this be an issue with RTL if not done this way?

avatar brianteeman
brianteeman - comment - 24 May 2021

no - why

avatar Quy
Quy - comment - 24 May 2021

Translators won't see these values in the language string to translate because before/after PR these values are in the template vs, the following where they might.

COM_ADMIN_XML_ENABLED="XML فعال"
COM_ADMIN_ZLIB_ENABLED="Zlib فعال"
avatar brianteeman
brianteeman - comment - 24 May 2021

we dont want them to see the strings. they will try to translate them. we saw that for years with the "installation" folder being translated etc etc.

This PR is wrong

avatar Quy
Quy - comment - 24 May 2021

Have you looked at the code? Sorry if my description gave you the wrong impression.

avatar brianteeman
brianteeman - comment - 24 May 2021

Sorry you are right your description gives the wrong impression completely

avatar Quy Quy - change - 24 May 2021
The description was changed
avatar Quy Quy - edited - 24 May 2021
avatar Quy Quy - change - 24 May 2021
Title
[4.0] Move text to language string
[4.0] Pass value to language string
avatar Quy Quy - edited - 24 May 2021
avatar Quy
Quy - comment - 24 May 2021

Updated title/description. Sorry for the confusion.

avatar richard67 richard67 - test_item - 24 May 2021 - Tested successfully
avatar richard67
richard67 - comment - 24 May 2021

I have tested this item successfully on 2cf7718


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

avatar richard67 richard67 - change - 24 May 2021
Status Pending Ready to Commit
Labels Added: ? ?
avatar richard67
richard67 - comment - 24 May 2021

RTC


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

avatar richard67
richard67 - comment - 24 May 2021

@brianteeman Could you revert your thumbs down on the PR description? It looks so ... sharkyesque ?

avatar brianteeman
brianteeman - comment - 24 May 2021

also didnt help that I was checking the code locally for the update model where it was already a sprintf

avatar chmst chmst - change - 25 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-25 07:12:23
Closed_By chmst
Labels Added: ?
avatar chmst chmst - close - 25 May 2021
avatar chmst chmst - merge - 25 May 2021
avatar chmst
chmst - comment - 25 May 2021

Thanks!

Add a Comment

Login with GitHub to post a comment