Re: [Gimp-developer] Need help with Python on GIMP 2.8 for bug fixing
- From: Ofnuts <ofnuts laposte net>
- To: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Need help with Python on GIMP 2.8 for bug fixing
- Date: Fri, 02 Aug 2013 21:41:36 +0200
On 08/02/2013 08:33 PM, bart neeneenee de wrote:
Dear GIMP devs,
i'm the author of "CMYK Tiff 2 PDF" which is an addon for GIMP and the
Seperate+ plugin.
My script is part of the plugin registry too.
But it seems it doesn't show up in GIMP 2.8./ Ubuntu.
I changed the pythin script registration to:
register(
"python-fu-cmyk-tiff-2-pdf",
"CMYK Tiff 2 PDF",
"CMYK Tiff 2 PDF 20130802\nCreating a CMYK PDF for prepress from a
CMYK Tiff image.",
"Eckhard M. Jaeger, http://my.opera.com/area42/blog/",
"GPL V2 License",
"2013",
"*",
"*",
[
(PF_FILENAME, "this_file1", _("CMYK Tiff Images"), ""),
(PF_FILENAME, "this_file2", _(" "), ""),
(PF_RADIO, "this_compress", _("Compression"), "0",
(("JPEG 95% Quality","0"), ("Zip Full Quality","2"), ("No
Compression","4"))),
(PF_SPINNER, "this_dpi", _("Resolution (dpi)"), 300,
(0,2400,50)),
(PF_TOGGLE, "delete_files", _("Delete Images\nafter PDF
creation"), False),
(PF_TOGGLE, "start_viewer", _("Start PDF Viewer\nafter
export"), True),
],
[],
python_fu_cmyk_tiff_2_pdf,
domain=("gimp20-python", gimp.locale_directory),
menu="<Image>/Image/Separate/"
)
main()
But i didn't get it running.
Any help or idea?
_______________________________________________
File "/home/me/.gimp-2.8/plug-ins/testreg.py", line 17, in <module>
(PF_FILENAME, "this_file1", _("CMYK Tiff Images"), ""),
NameError: name '_' is not defined
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]