Browse Source

Remove locale calls

tags/version-0.9.3
Piotr Orzechowski 2 years ago
parent
commit
e95624944f
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      src/GSummer.py

+ 0
- 3
src/GSummer.py View File

@@ -28,7 +28,6 @@ from hashlib import md5, sha1, sha224, sha256, sha384, sha512
from threading import Thread

import gettext
import locale

import gi
gi.require_version('Gtk', '3.0')
@@ -38,8 +37,6 @@ APP = 'gsummer'
ROOT_DIR = abspath(dirname(__file__))
LOCALE_DIR = join(ROOT_DIR, 'locale')

locale.setlocale(locale.LC_ALL, '')
locale.bindtextdomain(APP, LOCALE_DIR)
gettext.bindtextdomain(APP, LOCALE_DIR)
gettext.textdomain(APP)
_ = gettext.gettext

Loading…
Cancel
Save