Code

Extensions. XAML export improvements.
[inkscape.git] / share / extensions / color_replace.inx
index d305ec3299c4b982d0750b43d1e05b397f064bc0..289c4424d0339ad94dda4a7bd891231b84dbde41 100644 (file)
@@ -1,18 +1,19 @@
-<inkscape-extension>\r
-       <_name>Replace color...</_name>\r
-       <id>org.inkscape.color.replacecolor</id>\r
-       <dependency type="executable" location="extensions">coloreffect.py</dependency>\r
-       <dependency type="executable" location="extensions">color_replace.py</dependency>\r
-       <dependency type="executable" location="extensions">simplestyle.py</dependency>\r
-       <param name="from_color" type="string" gui-text="Replace color (RRGGBB hex):">000000</param>
-       <param name="to_color" type="string" gui-text="By color (RRGGBB hex):">000000</param>
-       <effect>\r
-               <object-type>all</object-type>\r
-               <effects-menu>\r
-                       <submenu _name="Color"/>\r
-               </effects-menu>\r
-       </effect>\r
-       <script>\r
-               <command reldir="extensions" interpreter="python">color_replace.py</command>\r
-       </script>\r
-</inkscape-extension>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+       <_name>Replace color</_name>
+       <id>org.inkscape.color.replacecolor</id>
+       <dependency type="executable" location="extensions">coloreffect.py</dependency>
+       <dependency type="executable" location="extensions">color_replace.py</dependency>
+       <dependency type="executable" location="extensions">simplestyle.py</dependency>
+       <param name="from_color" type="string" max_length="6" _gui-text="Replace color (RRGGBB hex):" _gui-description="Color to replace">000000</param>
+       <param name="to_color" type="string" max_length="6" _gui-text="By color (RRGGBB hex):" _gui-description="New color">000000</param>
+       <effect>
+               <object-type>all</object-type>
+               <effects-menu>
+                       <submenu _name="Color"/>
+               </effects-menu>
+       </effect>
+       <script>
+               <command reldir="extensions" interpreter="python">color_replace.py</command>
+       </script>
+</inkscape-extension>