nautilus-plugin: Expand the locale path from the build system
This commit is contained in:
parent
7aa5c95467
commit
5d70373f42
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue