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.
Best way to rename "Discussions" menu link to "Forums"?
I can think of one or two ways to do this, but I was wondering if anyone had any feedback or could suggest a commit to help fix this. While Garden's main menu structure is inside the default.master.php view which I've overridden in a template, unfortunately the "Discussions" link is not there. Instead, it's in vanilla/settings/hooks.php in the Base_Render_Before function. So while I can easily change it there, for the sake of making future upgrades easier (since Vanilla is still very cutting-edge), what other ways might I be able to change the Discussions link to say something else. It's kind of odd to put such text/translation in the hooks file, since it's really something that belongs better in a view file somewhere.
Any thoughts from others?
Any thoughts from others?
0
Comments
And, oddly enough, hooks.php doesn't translate Site Settings or Add-ons, making me wonder how their menus have such headings in the first place, though perhaps I've missed something. Also, cssthemes plugin doesn't translate Colors either. I have to wonder at seeing Translate so often. Why not translate within the Menu output instead?
And Vanilla seems to use '\\' at the start of submenu names, but the rest don't, so ... is that for backwards-compatibility?