fossology / FOSSologyUI

Repository to hold the new UI framework for FOSSology built with React
https://fossology.github.io/FOSSologyUI/
GNU General Public License v2.0
49 stars 88 forks source link

Move texts/messages to a constant file #156

Closed sjha2048 closed 3 years ago

sjha2048 commented 3 years ago

At several places, we have hardcoded error messages, these can be moved to a separate constants file.

caffeinated-pixels commented 3 years ago

Hi. I've just had a quick look and I believe this is something I could take on if you want to assign me?

Just to clarify: you want me to find all the hardcoded error messages, move them to a single constants file, and then import the messages as variables where needed?

Also, do you only want this doing for error messages or do you want it done for all types of messages, such as things like "Successfully created the license"?

Thanks Stevie

sjha2048 commented 3 years ago

Hey @caffeinated-pixels, yes, you are correct, we want to do it for all kinds of messages.