Skip to content

Commit

Permalink
scope.chargement is not always null (#172)
Browse files Browse the repository at this point in the history
* Added starts of language detection. French users will have "Chargement" while everyone else will show "Loading"

Now it doesn't have the Open & Close principle. (https://en.wikipedia.org/wiki/Open/closed_principle)
Open for extension and closed for modification.
This should make it easy for future language translations to be added by
individiuals going forward.

* Made into switch and added more languages

This is perfect now. Together we made perfection

* scope.chargement is not always null, so checking for not may work better.
  • Loading branch information
AlexSwensen authored and rickerd committed Sep 19, 2016
1 parent 1688562 commit 54c5f6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Loading

0 comments on commit 54c5f6f

Please sign in to comment.