Commit 505e62af authored by Kliment Yanev's avatar Kliment Yanev

Add gettext import to pronsole

parent 9adefb57
......@@ -4,6 +4,11 @@ import glob, os, time
import sys, subprocess
import math
from math import sqrt
import gettext
if os.path.exists('/usr/share/pronterface/locale'):
gettext.install('pronterface', '/usr/share/pronterface/locale', unicode=1)
else:
gettext.install('pronterface', './locale', unicode=1)
if os.name=="nt":
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment