nautilus-plugin: Expand the locale path from the build system

This commit is contained in:
Łukasz Jernaś 2011-11-12 15:49:38 +01:00
parent 7aa5c95467
commit 5d70373f42
3 changed files with 3 additions and 2 deletions

View file

@ -12,4 +12,4 @@ NAUTILUS_PYTHON_INSTALL_DIR=$(subst $(NAUTILUS_PREFIX)/,${prefix}/,$(NAUTILUS_PY
extensiondir = $(NAUTILUS_PYTHON_INSTALL_DIR)
extension_SCRIPTS = $(addprefix $(srcdir)/, sparkleshare-nautilus3-extension.py)
endif
EXTRA_DIST = $(SOURCES) sparkleshare-nautilus-extension.py.in
EXTRA_DIST = $(SOURCES) sparkleshare-nautilus-extension.py.in sparkleshare-nautilus3-extension.py.in

View file

@ -25,7 +25,7 @@ from gi.repository import Nautilus, GObject, Gtk, Gdk
SPARKLESHARE_PATH = os.path.join (os.path.expanduser ('~'), "SparkleShare")
import gettext
gettext.bindtextdomain('sparkleshare', '/usr/share/locale')
gettext.bindtextdomain('sparkleshare', '@prefix@/share/locale')
gettext.textdomain('sparkleshare')
_ = gettext.gettext

View file

@ -175,6 +175,7 @@ SparkleShare/Makefile
SparkleShare/Mac/Makefile
SparkleShare/Nautilus/Makefile
SparkleShare/Nautilus/sparkleshare-nautilus-extension.py
SparkleShare/Nautilus/sparkleshare-nautilus3-extension.py
po/Makefile.in
Makefile
])