rascunho

commit 180b5a1f30b47089955de0b50306935b1b68a171

Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>

Humanize from locale config

 core/app.py | 2 +-


diff --git a/core/app.py b/core/app.py
index b35d7be7e67836b407de6221373cd7886a7614de..f89ab0efe004dc5f8ad7abc90e1ccd87e86b0173 100644
--- a/core/app.py
+++ b/core/app.py
@@ -17,7 +17,7 @@
         try:
             # TODO: Use the locale config, from my local package it doesn't
             # work as the package is out-of-date on Arch's Community Repository
-            humanize.i18n.activate("en_US")
+            humanize.i18n.activate(read_from_config("locale"))
             locale.setlocale(locale.LC_ALL, read_from_config("locale"))
             locale.setlocale(locale.LC_TIME, read_from_config("locale"))
         except: