Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

How to translate functionality "Category Following"?

steamsteam www.planamigo.org - #1 foro planes amigo

Hi,
Many thanks for the new functionality "Category Following" on vanilla 2.6

Can someone tell me how to translate "Category Following" strings "All" and "Following" ?

I have been write translation on my locale files and deleted cache but nothing translated.

Thanks

Comments

  • steamsteam www.planamigo.org - #1 foro planes amigo

    Is this a bug?

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    Yes, you are correct. That is a bug. In functions.render.php it needs to be $linkName = t(val('name', $selectedLink)); at this place:

        function linkDropDown($links, $extraClasses = '', $label) {
            $output = '';
            $selectedKey = 0;
            foreach($links as $i => $link) {
                if (val('active', $link)) {
                    $selectedKey = $i;
                    break;
                }
            }
            $selectedLink = val($selectedKey, $links);
            $extraClasses = trim($extraClasses);
            $linkName = val('name', $selectedLink);
    

    I'll do a PR on GitHub


  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    No, I'll file an issue. It is more complex than that...


    steamAdrian
  • steamsteam www.planamigo.org - #1 foro planes amigo

    @R_J dijo:
    No, I'll file an issue. It is more complex than that...

    Thanks @R_J

Sign In or Register to comment.