Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To have different names in admin contact menu #8200

Closed
horus68 opened this issue Oct 29, 2015 · 4 comments
Closed

To have different names in admin contact menu #8200

horus68 opened this issue Oct 29, 2015 · 4 comments

Comments

@horus68
Copy link
Contributor

horus68 commented Oct 29, 2015

I need to have different translation for admin contact menu component: the main name and the sub-name need to be different. Joomla uses the same string for both names. The string that should be used for this is not in use even if is present in the language string.

com_contact.sys.ini
https://github.com/joomla/joomla-cms/blob/master/administrator/language/en-GB/en-GB.com_contact.sys.ini

COM_CONTACT="Contacts"
COM_CONTACT_CONTACTS="Contacts"
(this one is not in use, only the first one - tested by changing values! )
2015-10-29 13_19_27-000349-fotografias

Please follow the way it works for com_newsfeeds.sys.ini
COM_NEWSFEEDS="News Feeds"
COM_NEWSFEEDS_FEEDS="Feeds"
2015-10-29 13_19_44-000350-fotografias

@teccrow
Copy link

teccrow commented Oct 29, 2015

I confirm the issue.


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

@infograf768
Copy link
Member

Took some time to find out...
The issue is in the database...
The string com_contact_contacts (in the sys.ini) should be the title of the menu

I modified the db
screen shot 2015-10-30 at 09 23 31

and obtained
screen shot 2015-10-30 at 09 24 42

Therefore we have to change joomla.sql
from

(8, 'menu', 'com_contact', 'Contacts', '', 'Contacts/Contacts', 'index.php?option=com_contact', 'component', 0, 7, 2, 8, 0, '0000-00-00 00:00:00', 0, 0, 'class:contact', 0, '', 12, 13, 0, '*', 1),

to

(8, 'menu', 'com_contact_contacts', 'Contacts', '', 'Contacts/Contacts', 'index.php?option=com_contact', 'component', 0, 7, 2, 8, 0, '0000-00-00 00:00:00', 0, 0, 'class:contact', 0, '', 12, 13, 0, '*', 1),

and update existing dbs for next release.

@infograf768
Copy link
Member

Patch is here:
#8212

@zero-24
Copy link
Contributor

zero-24 commented Oct 30, 2015

Closing as we have a Patch by @infograf768

@zero-24 zero-24 closed this as completed Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants