You did it the right way, code in your custom project should use resources from your custom project and the resource files you create in your project cannot duplicate names for resource files in other features or they would overwrite one another and cause errors.
Hope it helps,
Joe