HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
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 Ex-Fanboy 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 Ex-Fanboy 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.