diff --git a/printrun/printrun_utils.py b/printrun/printrun_utils.py index 4adb25f..8d599c8 100644 --- a/printrun/printrun_utils.py +++ b/printrun/printrun_utils.py @@ -1,6 +1,8 @@ import os import gettext +# Set up Internationalization using gettext +# searching for installed locales on /usr/share; uses relative folder if not found (windows) def install_locale(domain): if os.path.exists('/usr/share/pronterface/locale'): gettext.install(domain, '/usr/share/pronterface/locale', unicode=1) diff --git a/pronterface.py b/pronterface.py index c6ba3a1..98780b9 100755 --- a/pronterface.py +++ b/pronterface.py @@ -15,8 +15,6 @@ # You should have received a copy of the GNU General Public License # along with Printrun. If not, see . -# Set up Internationalization using gettext -# searching for installed locales on /usr/share; uses relative folder if not found (windows) import os, Queue, re from printrun.printrun_utils import install_locale