[gimp] po-python: install again localization for Python plug-ins.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] po-python: install again localization for Python plug-ins.
- Date: Sun, 28 Jul 2019 19:08:44 +0000 (UTC)
commit 0f0cf4df87088db1cfb99e1ebada553333d9521f
Author: Jehan <jehan girinstud io>
Date: Sun Jul 28 20:29:46 2019 +0200
po-python: install again localization for Python plug-ins.
This used to be deactivated. Let's install them again.
Also activate localization in the palette-to-gradient plug-in.
Makefile.am | 2 +-
configure.ac | 6 ++----
plug-ins/python/palette-to-gradient.py | 4 +---
po-python/POTFILES.in | 3 ++-
4 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 336b9b5f36..ae51c9fcd1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,7 +13,7 @@ SUBDIRS = \
po \
po-libgimp \
po-plug-ins \
-## po-python \
+ po-python \
po-script-fu \
po-tips \
po-windows-installer \
diff --git a/configure.ac b/configure.ac
index f5a76ce9a4..180661bcaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2957,9 +2957,7 @@ m4macros/Makefile
po/Makefile.in
po-libgimp/Makefile.in
po-plug-ins/Makefile.in
-]
-dnl po-python/Makefile.in
-[
+po-python/Makefile.in
po-script-fu/Makefile.in
po-tips/Makefile.in
po-windows-installer/Makefile.in
@@ -3002,7 +3000,7 @@ m4_define([generate_po_makefile], [
])
generate_po_makefile([po-libgimp])
-#generate_po_makefile([po-python])
+generate_po_makefile([po-python])
generate_po_makefile([po-plug-ins])
generate_po_makefile([po-script-fu])
generate_po_makefile([po-tips])
diff --git a/plug-ins/python/palette-to-gradient.py b/plug-ins/python/palette-to-gradient.py
index a96bfae7b4..78e10c1216 100644
--- a/plug-ins/python/palette-to-gradient.py
+++ b/plug-ins/python/palette-to-gradient.py
@@ -102,9 +102,7 @@ def query():
[ param ],
[ retval ])
Gimp.plugin_menu_register("python-fu-palette-to-gradient", "<Palettes>")
-
- #Gimp.plugin_domain_register("gimp20-python", Gimp.locale_directory())
- #gettext.install("gimp20-python", localedir=Gimp.locale_directory(), codeset='utf-8')
+ Gimp.plugin_domain_register("gimp30-python", Gimp.locale_directory())
info = Gimp.PlugInInfo ()
info.set_callbacks (None, None, query, run)
diff --git a/po-python/POTFILES.in b/po-python/POTFILES.in
index a6dcefa165..ae22ec4ed5 100644
--- a/po-python/POTFILES.in
+++ b/po-python/POTFILES.in
@@ -12,8 +12,9 @@ plug-ins/pygimp/plug-ins/histogram-export.py
plug-ins/pygimp/plug-ins/foggify.py
plug-ins/pygimp/plug-ins/palette-offset.py
plug-ins/pygimp/plug-ins/palette-sort.py
-plug-ins/pygimp/plug-ins/palette-to-gradient.py
plug-ins/pygimp/plug-ins/py-slice.py
plug-ins/pygimp/plug-ins/python-console.py
plug-ins/pygimp/plug-ins/shadow_bevel.py
plug-ins/pygimp/plug-ins/spyro_plus.py
+
+plug-ins/python/palette-to-gradient.py
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]