Closed BoweFrankema closed 9 years ago
If you're overwriting plugin templates, with template files in your theme, then those strings should be changed to your theme text domain. The fact that they happen to be the same strings is just a coincidence - if BuddyPress release a new version without those strings in, then the ones in your template files will be orphaned if they still use BuddyPress text domain.
grunt-checktextdomain may help you find the strings you are looking for.
Hi @BoweFrankema. Like @GaryJones mentioned, you should probably go ahead and update the text domain in those BuddyPress templates and include the strings in your theme's POT file. The addtextdomain
task can help you do that.
Otherwise, if you'd really like to ignore those templates, take a look at the include
and exclude
options for the makepot
task.
Good luck and let us know if you run into any issues.
I was wondering if it's possible to scan a folder for strings containing only a specific text domain? I'm asking because my theme also contains other text domains (BuddyPress ones) because I have to overwrite certain BuddyPress templates. When I used Grunt-Pot these strings are picked up again and I'd like to find a way around this. The developer of Grunt Pot kindly pointed me to this set of tools, but before I dive in I thought it'd ask first :-)