Avatar

Micha spotted a tiny bug in 2.4.22 (no show stopper) (General)

by Auge ⌂ @, Wednesday, September 30, 2020, 11:06 (20 days ago)

Hello

Micha found a bug in all language files with exception of English and German languages. I introduced the bug with the back-to-top-link text snippets. We mark all snippets that needs to be translated from english to the target language of the file with a HTML-comment. We do this to make it easier to spot untranslated strings with the search function of any text editor.

Because of a non-attention I noted them in a faulty way.

Example:

My errorneous code:

back_to_top_link_title =          '</-- TODO -->Go back to top of the page'

The correct code:

back_to_top_link_title =          '<!-- TODO -->Go back to top of the page'

The wrong strings are shown in the browser as is (output: "</-- TODO -->Go back to top of the page") whereas the comment in the correct string stays hidden in the browser (output: "Go back to top of the page").

The error is the wrong slash versus the correct exclamation mark. Micha found and solved the issue and I will release a further corrected version within a short time. The error affects only two strings (back_to_top_link and back_to_top_link_title) in most of the language files (except lang/english.lang and lang/german.lang). One can solve the issue self in a text editor if one does not want to wait for the next release.

I'm sorry for the inconvenience. :-(

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!


Complete thread:

 RSS Feed of thread

powered by my little forum