[gimp] plug-ins: fix generated common plug-in files and file-wbmp localization.



commit 32501f502b7387e915cfef1c453237e3a8c5fade
Author: Jehan <jehan girinstud io>
Date:   Thu Jul 7 21:27:39 2022 +0200

    plug-ins: fix generated common plug-in files and file-wbmp localization.
    
    The Makefile.am was apparently updated by hand in !662.
    
    Also fixing plug-in label and doc localization, since this changed
    recently and must now be localized directly on plug-in side.

 plug-ins/common/.gitignore     | 2 ++
 plug-ins/common/file-wbmp.c    | 6 +++---
 plug-ins/common/gimprc.common  | 1 +
 plug-ins/common/plugin-defs.pl | 1 +
 4 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/.gitignore b/plug-ins/common/.gitignore
index abaac0333e..e15b7582ac 100644
--- a/plug-ins/common/.gitignore
+++ b/plug-ins/common/.gitignore
@@ -98,6 +98,8 @@
 /file-svg.exe
 /file-tga
 /file-tga.exe
+/file-wbmp
+/file-wbmp.exe
 /file-wmf
 /file-wmf.exe
 /file-xbm
diff --git a/plug-ins/common/file-wbmp.c b/plug-ins/common/file-wbmp.c
index 2e8f278127..c3211fc32a 100644
--- a/plug-ins/common/file-wbmp.c
+++ b/plug-ins/common/file-wbmp.c
@@ -113,11 +113,11 @@ wbmp_create_procedure (GimpPlugIn  *plug_in,
                                            GIMP_PDB_PROC_TYPE_PLUGIN,
                                            wbmp_load, NULL, NULL);
 
-      gimp_procedure_set_menu_label (procedure, N_("Wireless BMP image"));
+      gimp_procedure_set_menu_label (procedure, _("Wireless BMP image"));
 
       gimp_procedure_set_documentation (procedure,
-                                        "Loads files of Wireless BMP file format",
-                                        "Loads files of Wireless BMP file format",
+                                        _("Loads files of Wireless BMP file format"),
+                                        _("Loads files of Wireless BMP file format"),
                                         name);
       gimp_procedure_set_attribution (procedure,
                                       "Kevin Toyle",
diff --git a/plug-ins/common/gimprc.common b/plug-ins/common/gimprc.common
index ff4dc1710d..2f4e774933 100644
--- a/plug-ins/common/gimprc.common
+++ b/plug-ins/common/gimprc.common
@@ -46,6 +46,7 @@ file_raw_data_RC = file-raw-data.rc.o
 file_sunras_RC = file-sunras.rc.o
 file_svg_RC = file-svg.rc.o
 file_tga_RC = file-tga.rc.o
+file_wbmp_RC = file-wbmp.rc.o
 file_wmf_RC = file-wmf.rc.o
 file_xbm_RC = file-xbm.rc.o
 file_xmc_RC = file-xmc.rc.o
diff --git a/plug-ins/common/plugin-defs.pl b/plug-ins/common/plugin-defs.pl
index dd39401b71..140fba934c 100644
--- a/plug-ins/common/plugin-defs.pl
+++ b/plug-ins/common/plugin-defs.pl
@@ -47,6 +47,7 @@
     'file-sunras' => { ui => 1, gegl => 1 },
     'file-svg' => { ui => 1, gegl => 1, libs => 'SVG_LIBS', cflags => 'SVG_CFLAGS' },
     'file-tga' => { ui => 1, gegl => 1 },
+    'file-wbmp' => { ui => 1, gegl => 1 },
     'file-wmf' => { ui => 1, gegl => 1, optional => 1, libs => 'WMF_LIBS', cflags => 'WMF_CFLAGS' },
     'file-xbm' => { ui => 1, gegl => 1 },
     'file-xmc' => { ui => 1, gegl => 1, optional => 1, libs => 'XMC_LIBS' },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]