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.
Custom resource overrides in vanilla themes?

Is it possible to include resource string changes bundled into a theme?
There was an error rendering this rich post.
0
Comments
There was an error rendering this rich post.
public function Base_Render_Before($Sender) { Gdn::Locale()->Load(__DIR__ . '/definitions.php'); Gdn::Locale()->SetTranslation('Page Not Found', 'FooBar'); // or set single }
Then in the theme folder created a php file called definitions.php which works the same as a locale file.
Creating in the theme folder /views/modules/newdiscussion.php which you can change the content of the original new discussion module.
This will do for now...
There was an error rendering this rich post.
I don't think these override text explicitly defined in the application's locale... but since those don't actually contain many of the translatable strings, it doesn't impact what I'm trying to do.
I did end up needing to issue a pull request into vanilla... I wanted to change the text of the search button, and it wasn't a translated resource.
There was an error rendering this rich post.