Refactoring translation of plugin options in the main plugin module and even plugin type.