Open kb-1000 opened 6 years ago
I'd prefer in most cases to not directly show jgit messages to the user, but rather catch jgit exceptions and then display errors from MGits string resources. @kaeptblaubaer1000 can you think of any cases where that approach wouldn't work?
@maks "Receiving objects", "Resolving deltas" and "Updating references", but there are many others.
Ah ok, so these are status messages. Hmm, ok in that case it does make sense to provide localised strings to show users, I'm open to either option, or even better a sample implementation PR 🙂
JGit uses ResourceBundle. This means we have two choices to do this:
.properties
filesstrings.xml
files and creating a custom ResourceBundle implementation