strings refactoring to resources