Doc cleanup

master
Guillaume Seguin 2012-08-04 10:15:54 +02:00
parent f367f0e5cf
commit e5fb12b5bd
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -15,8 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with Printrun. If not, see <http://www.gnu.org/licenses/>.
# 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