Skip to content
Snippets Groups Projects
Commit ba9836af authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[brubru] Load LOCALEDIR from configure (with defs.py). see #4770

parent ef25dd10
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,7 @@ AC_SUBST([PYTHON_INCLUDES])
AS_AC_EXPAND(DATADIR, "${datadir}")
AS_AC_EXPAND(LIBDIR, "${libdir}")
AS_AC_EXPAND(DOCDIR, "${docdir}")
AS_AC_EXPAND(LOCALEDIR, "${localedir}")
AC_SUBST(VERSION)
AC_SUBST(PACKAGE)
......
......@@ -5,3 +5,5 @@ docdir = "@DOCDIR@"
datadir = "@DATADIR@"
version = "@VERSION@"
localedir = "@LOCALEDIR@"
......@@ -25,6 +25,7 @@
docdir = '../'
datadir = '../'
localedir = '../po'
version = '0.12.1.2-svn'
......
......@@ -24,12 +24,10 @@
import locale
import gettext
import os
import defs
APP = 'gajim'
if os.path.isdir('../po'):
DIR = '../po'
else:
DIR = '../../locale'
DIR = defs.localedir
# set '' so each part of the locale that should be modified is set
# according to the environment variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment