? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
19 Apr 2017

This corrects 2 issues:

  1. The code loading language would never load another language than en-GB (if the string is present) after a successful change of template via the postinstall message
  2. Typo in the language constant TLP instead of TPL (this will be forwarded to TTs).

Test instructions

Install staging.
Install French Language https://github.com/infograf768/fr-FR-3.x/releases/download/v3.7.0.1.RC3/fr-FR_joomla_lang_full_3.7.0v1.zip

Switch template to Hathor and admin language to French

Go to administrator/index.php?option=com_postinstall

Click on the button to switch to Isis.
The success message will be in English.

Now patch, AND replace the string
TLP_HATHOR_CHANGED_DEFAULT_TEMPLATE_TO_ISIS="Le style de template administrateur vient d'être changé en '%s'"
to
TPL_HATHOR_CHANGED_DEFAULT_TEMPLATE_TO_ISIS="Le style de template administrateur vient d'être changé en '%s'"
in the /administrator/language/fr-FR/fr-FR.tpl_hathor.ini

switch to Hathor in the template manager and back to postinstall messages.
Click in the button to switch to Isis

You will now get a correct success message
screen shot 2017-04-19 at 16 58 54
correctly:

avatar infograf768 infograf768 - open - 19 Apr 2017
avatar infograf768 infograf768 - change - 19 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2017
Category Administration Language & Strings Templates (admin)
avatar brianteeman
brianteeman - comment - 19 Apr 2017

Either we are or we are not in language freeze. That part of this PR should really wait until after the language freeze. It is not necessary to change the string to fix the genuine bug

avatar infograf768
infograf768 - comment - 19 Apr 2017

The problem is that if we do not change it now, we never will and someone will make a PR to change that, and we will be forced to make a new string...

avatar infograf768
infograf768 - comment - 19 Apr 2017

Now, if it is decided so, I have no issue to NEVER correct that constant until Hathor's death and limit the patch to the lang load

avatar infograf768
infograf768 - comment - 19 Apr 2017

and, btw, we were already in lang freeze when this postinstall message was merged...

avatar infograf768 infograf768 - change - 19 Apr 2017
The description was changed
avatar infograf768 infograf768 - edited - 19 Apr 2017
avatar AlexRed AlexRed - test_item - 19 Apr 2017 - Tested successfully
avatar AlexRed
AlexRed - comment - 19 Apr 2017

I have tested this item successfully on f0dc34e

Patch ok for me.
Please add it on 3.7.0


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

avatar imanickam imanickam - test_item - 19 Apr 2017 - Tested successfully
avatar imanickam
imanickam - comment - 19 Apr 2017

I have tested this item successfully on f0dc34e

Tested the patch with multiple languages and it works fine now.


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Apr 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Apr 2017

RTC after two successful tests.

avatar rdeutz rdeutz - change - 19 Apr 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-04-19 15:42:17
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 19 Apr 2017
avatar rdeutz rdeutz - merge - 19 Apr 2017

Add a Comment

Login with GitHub to post a comment