Doc cleanup
parent
f367f0e5cf
commit
e5fb12b5bd
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue