These strings "should" end up in a language file.
'name' => __( 'My Gallery', 'buddypress' )
'slug' => 'my-gallery'
'default_subnav_slug' => 'my-gallery' (Not sure where this is used)
echo 'My Gallery' (It could use 'name'?)
You are getting the gallery slug instead of the actual name of the gallery!
(more of a cosmetic issue, but since i´m here writing... ;)
Is there a way to "clean up" the gallery name and description?
Now both ends up in a <h4>
There is no need to show the page title "My Gallery" above the gallery's since it is already displayed in the "My Gallery" tab.
Keep up your excellent work!