?
avatar max123kl
max123kl
4 Jun 2021

Expected result

The same language string should be the same in three joomla.ini files, isn't it?
However, there is a small difference in one file (the differences are shown here in bold, only for demonstration).

Actual result

/administrator/language/en-GB/joomla.ini
JGLOBAL_FIELD_SHOW_BASE_DESCRIPTION_DESC="Show description of the top level category or alternatively replace with the text from the description field found in the menu item. If using Root as the Top Level category, the description field has to be filled."

/api/language/en-GB/joomla.ini
JGLOBAL_FIELD_SHOW_BASE_DESCRIPTION_DESC="Show description of the top level category or alternatively replace with the text from the description field found in the menu item. If using Root as a top level category, the description field has to be filled."

/language/en-GB/joomla.ini
JGLOBAL_FIELD_SHOW_BASE_DESCRIPTION_DESC="Show description of the top level category or alternatively replace with the text from the description field found in the menu item. If using Root as a top level category, the description field has to be filled."

System information (as much as possible)

current 4.0-dev branch

Additional comments

The most recent version is the one in the /administrator/language/en-GB/joomla.ini file. That string was last modified 3 months ago, the ones in the other files are much older.

Which is the preferred version?
If the latest version is used, then should "Top Level" be written in lower case or, if it is to be emphasised, in quotes?

avatar max123kl max123kl - open - 4 Jun 2021
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jun 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Jun 2021
avatar richard67
richard67 - comment - 4 Jun 2021

To me the lowercase in the frontend and the API language files looks more correct than the uppercase in the backend language file, even if that is newer. @brianteeman What do you think?

avatar chmst
chmst - comment - 4 Jun 2021

for me it is ... using root as the top level .... everythin lowercase - but it is surely a decison of native speakers.

avatar max123kl
max123kl - comment - 4 Jun 2021

what about "a" and "the"?

avatar richard67
richard67 - comment - 4 Jun 2021

I‘d say like @chmst , lowercase with „the“, or maybe without any „a“ or „the“, so it’s just „as top level category“. But we are both not native speakers.

avatar max123kl
max123kl - comment - 4 Jun 2021

me too

avatar max123kl max123kl - change - 4 Jun 2021
Title
Unifying the same language string in three joomla.ini files
[4.0] Unifying the same language string in three joomla.ini files
avatar max123kl max123kl - edited - 4 Jun 2021
avatar brianteeman
brianteeman - comment - 4 Jun 2021

If only one item can be the top level then it should be the not a
no need to capitalise

avatar max123kl
max123kl - comment - 4 Jun 2021

OK, I will open a PR

avatar richard67 richard67 - change - 4 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-04 08:25:06
Closed_By richard67
avatar richard67 richard67 - close - 4 Jun 2021
avatar richard67
richard67 - comment - 4 Jun 2021

Closing as having a pull request.

Add a Comment

Login with GitHub to post a comment