Code

Patch for Win32 bug 176750 - Envelope and Perspective scripts report "empty string...
[inkscape.git] / share / extensions / lorem_ipsum.inx
index 6adc4a91a1481db8ebda1976b182203f58abb7c1..b36ff079e2681b0da4510172361b07639e7f76e8 100644 (file)
@@ -1,18 +1,20 @@
-<inkscape-extension>\r
-       <_name>Lorem ipsum</_name>\r
-       <id>com.kaioa.lorem_ipsum</id>\r
-       <dependency type="executable" location="extensions">lorem_ipsum.py</dependency>\r
-       <dependency type="executable" location="extensions">inkex.py</dependency>\r
-       <param name="num" type="int" min="1" max="1000" _gui-text="Number of paragraphs">5</param>\r
-       <param name="sentencecount" type="int" min="2" max="100" _gui-text="Sentences per paragraph">16</param>\r
-       <param name="fluctuation" type="int" min="1" max="100" _gui-text="Paragraph length fluctuation (sentences)">4</param>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+       <_name>Lorem ipsum</_name>
+       <id>com.kaioa.lorem_ipsum</id>
+       <dependency type="executable" location="extensions">lorem_ipsum.py</dependency>
+       <dependency type="executable" location="extensions">inkex.py</dependency>
+  <_param name="title" type="description">This effect creates the standard "Lorem Ipsum" pseudolatin placeholder text. If a flowed text is selected, Lorem Ipsum is added to it; otherwise a new flowed text object, the size of the page, is created in a new layer.</_param>
+       <param name="num" type="int" min="1" max="1000" _gui-text="Number of paragraphs">5</param>
+       <param name="sentencecount" type="int" min="2" max="100" _gui-text="Sentences per paragraph">16</param>
+       <param name="fluctuation" type="int" min="1" max="100" _gui-text="Paragraph length fluctuation (sentences)">4</param>
     <effect>
         <object-type>all</object-type>
         <effects-menu>
-            <submenu _name="Render"/>
+            <submenu _name="Text"/>
         </effects-menu>
     </effect>
-    <script>\r
-       <command reldir="extensions" interpreter="python">lorem_ipsum.py</command>\r
-    </script>\r
-</inkscape-extension>
\ No newline at end of file
+    <script>
+       <command reldir="extensions" interpreter="python">lorem_ipsum.py</command>
+    </script>
+</inkscape-extension>