Language strings with duplicated keys are not used

Started by horus68, 26 September 2016, 07:02:13

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

horus68

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"

Translate Alexandria Book Library using Transifex
[url="https://www.transifex.com/projects/p/alexandria-book-library-3"]https://www.transifex.com/projects/p/alexandria-book-library-3[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

horus68

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"
Translate Alexandria Book Library using Transifex
[url="https://www.transifex.com/projects/p/alexandria-book-library-3"]https://www.transifex.com/projects/p/alexandria-book-library-3[/url]

federica

Hi horus68,
many thanks! I fixed the duplicated keys, I will insert this fix in the next version
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]