gimp r27272 - in trunk: . plug-ins/pygimp/plug-ins
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27272 - in trunk: . plug-ins/pygimp/plug-ins
- Date: Mon, 13 Oct 2008 20:33:31 +0000 (UTC)
Author: neo
Date: Mon Oct 13 20:33:31 2008
New Revision: 27272
URL: http://svn.gnome.org/viewvc/gimp?rev=27272&view=rev
Log:
2008-10-13 Sven Neumann <sven gimp org>
Bug 556182 â Could you please explain a few strings [I18N]
* plug-ins/pygimp/plug-ins/py-slice.py: added translator
comments.
Modified:
trunk/ChangeLog
trunk/plug-ins/pygimp/plug-ins/py-slice.py
Modified: trunk/plug-ins/pygimp/plug-ins/py-slice.py
==============================================================================
--- trunk/plug-ins/pygimp/plug-ins/py-slice.py (original)
+++ trunk/plug-ins/pygimp/plug-ins/py-slice.py Mon Oct 13 20:33:31 2008
@@ -396,16 +396,17 @@
try:
html_file = open (self.filename)
- #Regular expression to pick everything up to the next doublequote
- #character after finding the sequence 'href="'. The found sequences
- #will be returned as a list by the "findall" method.
+ # Regular expression to pick everything up to the next
+ # doublequote character after finding the sequence 'href="'.
+ # The found sequences will be returned as a list by the
+ # "findall" method.
expr = re.compile (r"""href\=\"([^\"]*?)\"""")
url_list = expr.findall (html_file.read (2 ** 18))
html_file.close()
except:
- #silently ignore any errors parsing this. The file being
- #ovewriten may not be a file genrated by py-slice.
+ # silently ignore any errors parsing this. The file being
+ # overwritten may not be a file created by py-slice.
pass
return url_list
@@ -413,6 +414,7 @@
register(
"python-fu-slice",
+ # table snippet means a small piece of HTML code here
N_("Cuts an image along its guides, creates images and a HTML table snippet"),
"""Add guides to an image. Then run this. It will cut along the guides,
and give you the html to reassemble the resulting images. If you
@@ -440,6 +442,7 @@
(0,15,1)),
(PF_TOGGLE, "animate", _("Javascript for onmouseover and clicked"),
False),
+ # table caps are table cells on the edge of the table
(PF_TOGGLE, "skip-caps", _("Skip animation for table caps"), True)
],
[],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]