Language Change ? Pending

User tests: Successful: Unsuccessful:

avatar tecpromotion
tecpromotion
29 Aug 2022

Summary of Changes

The string JHOMEDASHBOARD="Home Dashboard" was added and the call in shortcut.php was adjusted.

Testing Instructions

Move to different views in the backend and press the key combination J+X.

Actual result BEFORE applying this Pull Request

J+D is only translated if com_cpanel.ini is also loaded. However, this is not always the case in the backend.

J+X displays the correct value "Home Dashboard" for J+D when calling /administrator/index.php.
For example, when calling /administrator/index.php?option=com_content&view=article, it will not be translated.

Expected result AFTER applying this Pull Request

J+D is always translated.

Documentation Changes Required

.

avatar tecpromotion tecpromotion - open - 29 Aug 2022
avatar tecpromotion tecpromotion - change - 29 Aug 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Aug 2022
Category Administration Language & Strings Front End Plugins
avatar brianteeman
brianteeman - comment - 29 Aug 2022

Hard for me to test as I cant replicate the problem but the changes make sense

avatar tecpromotion
tecpromotion - comment - 29 Aug 2022

Hard for me to test as I cant replicate the problem but the changes make sense

@brianteeman just go to https://yourdomain.tld/administrator/index.php?option=com_content&view=article and press J+X

With Debug Language on:
Bildschirmfoto 2022-08-29 um 16 53 25

avatar webgras
webgras - comment - 29 Aug 2022

I have tested this item successfully on 40a7220

I tested this in J4.2 with php 8.1., language string for shortcut description "J+D" is translated now.


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

avatar webgras webgras - test_item - 29 Aug 2022 - Tested successfully
avatar brianteeman
brianteeman - comment - 29 Aug 2022

Don't know what to say but it works like this for me without this pr. But the pr still looks good and it probably should have been created your way in the first place.

image

image

avatar tecpromotion
tecpromotion - comment - 29 Aug 2022

Don't know what to say but it works like this for me without this pr. But the pr still looks good and it probably should have been created your way in the first place.

In 4.2.1-rc2 ?

avatar webgras
webgras - comment - 29 Aug 2022

Don't know what to say but it works like this for me without this pr. But the pr still looks good and it probably should have been created your way in the first place.

it is only broken in the dashboard views, like com_contact Dashboard or com_users Dashboard with J+X
i.E. /administrator/index.php?option=com_users&view=users
~~
sorry, my wrong. For me, it is also broken in the edit views (in 4.2.0)

grafik

avatar brianteeman
brianteeman - comment - 29 Aug 2022

I always test on the absolute latest - so the last commit in my install is #38567
image

And tested with Danish
image

avatar brianteeman
brianteeman - comment - 29 Aug 2022

And german

image

avatar chmst
chmst - comment - 29 Aug 2022

Very strange - the string is translated without PR,
online and local.
with and without debug mode
on dashboards, in edit and on list views.
PHP 8.1.6

edit: after upgrade, not fresh installation

avatar tecpromotion
tecpromotion - comment - 29 Aug 2022

I was able to reproduce it and will validate this tomorrow.

avatar tecpromotion
tecpromotion - comment - 30 Aug 2022
  1. Install a fresh 4.2.0-rc2 or update from 4.1.5
  2. click J+X on Dashboard or anything else - J+D is always translated
  3. click on "Post Installation Messages" and hide all messages
  4. go to dashboard and click J+X - it's working
  5. click anything else - J+D is not translated
  6. click on "Post Installation Messages" and reset all messages
  7. click J+X on Dashboard or anything else - J+D is always translated again!

small video
https://capture.dropbox.com/embed/h1jAJb6IUUKjOkuX

avatar brianteeman
brianteeman - comment - 1 Sep 2022

Bingo - I can now replicate this with your instructions.

The problem exists on any emptystate page.

I think it would be better to find out why that happens than to change the string. This might end up just being a band aid to a bigger problem

avatar brianteeman
brianteeman - comment - 2 Sep 2022

very weird I now see the problem on every page

avatar brianteeman
brianteeman - comment - 2 Sep 2022

I have tested this item successfully on 40a7220


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

avatar brianteeman brianteeman - test_item - 2 Sep 2022 - Tested successfully
avatar tecpromotion tecpromotion - change - 2 Sep 2022
Labels Added: Language Change ?
avatar roland-d roland-d - change - 2 Sep 2022
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-09-02 19:11:35
Closed_By roland-d
avatar roland-d roland-d - close - 2 Sep 2022
avatar roland-d roland-d - merge - 2 Sep 2022
avatar roland-d
roland-d - comment - 2 Sep 2022

Thank you

avatar tecpromotion
tecpromotion - comment - 2 Sep 2022

Thanks @roland-d

Add a Comment

Login with GitHub to post a comment