Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Translation Issues

2»

Comments

  • applications/vanilla/settings/hooks.php public function Base_Render_Before

    OLD: $Sender->Menu->AddLink(Gdn::Translate('Discussions'), 'Discussions', $DiscussionsHome, FALSE);
    NEW: $Sender->Menu->AddLink('Discussions', Gdn::Translate('Discussions'), $DiscussionsHome, FALSE);

    OLD: $Sender->Menu->AddLink(Gdn::Translate('Discussions'), '\\'.$Bookmarked, '/discussions/bookmarked', FALSE, array('class' => 'MyBookmarks'));
    NEW: $Sender->Menu->AddLink('Discussions', '\\'.$Bookmarked, '/discussions/bookmarked', FALSE, array('class' => 'MyBookmarks'));

    OLD: $Sender->Menu->AddLink(Gdn::Translate('Discussions'), '\\'.$MyDiscussions, '/discussions/mine', FALSE, array('class' => 'MyDiscussions'));
    NEW: $Sender->Menu->AddLink('Discussions', '\\'.$MyDiscussions, '/discussions/mine', FALSE, array('class' => 'MyDiscussions'));

    OLD: $Sender->Menu->AddLink(Gdn::Translate('Discussions'), '\\'.$MyDrafts, '/drafts', FALSE, array('class' => 'MyDrafts'));
    NEW;$Sender->Menu->AddLink('Discussions', '\\'.$MyDrafts, '/drafts', FALSE, array('class' => 'MyDrafts'));

    OLD: $Sender->Menu->AddLink(Gdn::Translate('Discussions'), 'New Discussion', '/post/discussion', FALSE);
    New: $Sender->Menu->AddLink('Discussions', Gdn::Translate('New Discussion'), '/post/discussion', FALSE);
Sign In or Register to comment.