Vox Populi(x) forum

Alexandria Book Library => Errori (Bugs) => Topic started by: horus68 on 26 September 2016, 07:02:13

Title: Language strings with duplicated keys are not used
Post by: horus68 on 26 September 2016, 07:02:13
The admin en_GB.com_abook.ini language file has 3 strings with duplicated keys.
Even if the values are different, only the first key of the pair will be used in languages by Joomla.
Please fix this so it not causes translations errors.

See:
COM_ABOOK_ADD_NEW_TAGGROUP="New tags Group"
COM_ABOOK_ADD_NEW_TAGGROUP="New tag group"

COM_ABOOK_EDITOR_DESC="Editor"
COM_ABOOK_EDITOR_DESC="Editor descending"

COM_ABOOK_YEAR_DESC="Year of publication"
COM_ABOOK_YEAR_DESC="Year descending"

Title: Re: Language strings with duplicated keys are not used
Post by: horus68 on 26 September 2016, 07:19:34
Bug 2 -
plg_loadbook\language\en-GB\en-GB.plg_content_loadbook.sys.ini
is missing an ending tag:

PLG_LOADBOOK_XML_DESCRIPTION="Replaces {loadbook id=yourbookid} tag in content with book details --Or-- replaces {loadbook id=yourbookid style=bibliography} with a standard book bibliography.


Bug 3
Duplicated strings (with same value) so it shoudl be deleted to reduce work!
\mod_abook_allinone\language\en-GB\en-GB.mod_abook_allinone.ini

MOD_ABOOK_ALLINONE_LATEST="Latest"
MOD_ABOOK_ALLINONE_LATEST="Latest"

MOD_ABOOK_ALLINONE_RANDOM="Random"
MOD_ABOOK_ALLINONE_RANDOM="Random"
Title: Re: Language strings with duplicated keys are not used
Post by: federica on 03 October 2016, 18:39:31
Hi horus68,
many thanks! I fixed the duplicated keys, I will insert this fix in the next version