Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added some Translation file error handling. #2050

Merged
merged 7 commits into from
Aug 2, 2016
Merged

Added some Translation file error handling. #2050

merged 7 commits into from
Aug 2, 2016

Conversation

Andrerm124
Copy link
Contributor

Found an issue with translation files throwing unhandled errors whenever typos are made.
Currently this commit can only resolve EN files, however it will alert the user of fatal errors for other languages.

Changed so that if an error occurs in the loading of a translation file.

This often occurred if a type was made in the Key of a file. Currently
it can only resolve issues with the EN file however will display issues
with alternate languages.

I've also created a ThrowFatalError method which I quite like.
# Conflicts:
#	PoGo.NecroBot.Logic/Common/Translations.cs
@recon88 recon88 added the ready label Aug 2, 2016
@BornSupercharged BornSupercharged merged commit fd9c7f1 into NecronomiconCoding:master Aug 2, 2016
schnapster pushed a commit to schnapster/NecroBot that referenced this pull request Dec 8, 2016
Added some Translation file error handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants