Bug 556182 – Could you please explain a few strings [I18N]

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.


svn path=/trunk/; revision=27272
This commit is contained in:
Sven Neumann 2008-10-13 20:33:31 +00:00 committed by Sven Neumann
parent 3f256652e6
commit af64515e53
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,9 @@
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.
2008-10-13 Sven Neumann <sven@gimp.org>
* app/Makefile.am

View File

@ -396,16 +396,17 @@ End of the part generated by GIMP
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 @@ End of the part generated by GIMP
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 @@ register(
(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)
],
[],