diff --git a/data/plugins/Makefile.am b/data/plugins/Makefile.am
index d87282b9..8bf7b4ab 100644
--- a/data/plugins/Makefile.am
+++ b/data/plugins/Makefile.am
@@ -1,16 +1,23 @@
+dist_plugins_in_files = \
+ bitbucket.xml.in \
+ github.xml.in \
+ gitorious.xml.in \
+ gnome.xml.in \
+ own-server.xml.in
+
dist_plugins_DATA = \
- github.xml \
- github.png \
- gitorious.xml \
+ $(dist_plugins_in_files:.xml.in=.xml) \
+ github.png \
gitorious.png \
- bitbucket.xml \
bitbucket.png \
- gnome.xml \
gnome.png \
- own-server.xml \
own-server.png
+@INTLTOOL_XML_RULE@
+
pluginsdir = $(pkgdatadir)/plugins/
+EXTRA_DIST=$(xml_in_files) $(xml_DATA)
+
MAINTAINERCLEANFILES = \
Makefile.in
diff --git a/data/plugins/bitbucket.xml b/data/plugins/bitbucket.xml.in
similarity index 68%
rename from data/plugins/bitbucket.xml
rename to data/plugins/bitbucket.xml.in
index f889e337..800b8bcb 100644
--- a/data/plugins/bitbucket.xml
+++ b/data/plugins/bitbucket.xml.in
@@ -2,8 +2,8 @@
- Bitbucket
- Free code hosting for Git and Mercurial
+ <_name>Bitbucket
+ <_description>Free code hosting for Git and Mercurial
bitbucket.png
Git
@@ -13,7 +13,7 @@
- /username/project
+ <_example>/username/project
diff --git a/data/plugins/github.xml b/data/plugins/github.xml.in
similarity index 65%
rename from data/plugins/github.xml
rename to data/plugins/github.xml.in
index 83d371b4..442a7f2b 100644
--- a/data/plugins/github.xml
+++ b/data/plugins/github.xml.in
@@ -2,8 +2,8 @@
- Github
- Free public Git repositories with collaborator management
+ <_name>Github
+ <_description>Free public Git repositories with collaborator management
github.png
Git
@@ -13,7 +13,7 @@
- /username/project
+ <_example>/username/project
diff --git a/data/plugins/gitorious.xml b/data/plugins/gitorious.xml.in
similarity index 65%
rename from data/plugins/gitorious.xml
rename to data/plugins/gitorious.xml.in
index 2abc3ae8..d581fd10 100644
--- a/data/plugins/gitorious.xml
+++ b/data/plugins/gitorious.xml.in
@@ -2,8 +2,8 @@
- Gitorious
- Open source infrastructure for hosting open source projects
+ <_name>Gitorious
+ <_description>Open source infrastructure for hosting open source projects
gitorious.png
Git
@@ -13,7 +13,7 @@
- /project/repository
+ <_example>/project/repository
diff --git a/data/plugins/gnome.xml b/data/plugins/gnome.xml.in
similarity index 67%
rename from data/plugins/gnome.xml
rename to data/plugins/gnome.xml.in
index 716cbd10..721b2cae 100644
--- a/data/plugins/gnome.xml
+++ b/data/plugins/gnome.xml.in
@@ -2,8 +2,8 @@
- The GNOME Project
- A free and easy interface for your computer
+ <_name>The GNOME Project
+ <_description>A free and easy interface for your computer
gnome.png
Git
@@ -13,7 +13,7 @@
- /project
+ <_example>/project
diff --git a/data/plugins/own-server.xml b/data/plugins/own-server.xml.in
similarity index 69%
rename from data/plugins/own-server.xml
rename to data/plugins/own-server.xml.in
index 5c74d131..678cddff 100644
--- a/data/plugins/own-server.xml
+++ b/data/plugins/own-server.xml.in
@@ -2,8 +2,8 @@
- On my own server
- Everything under my control
+ <_name>On my own server
+ <_description>Everything under my control
own-server.png
Git
@@ -13,7 +13,7 @@
- /path/to/project
+ <_example>/path/to/project
diff --git a/data/plugins/redhat.xml b/data/plugins/redhat.xml.in
similarity index 69%
rename from data/plugins/redhat.xml
rename to data/plugins/redhat.xml.in
index b96493cb..8334a13d 100644
--- a/data/plugins/redhat.xml
+++ b/data/plugins/redhat.xml.in
@@ -2,8 +2,8 @@
- Red Hat UX Team Hub
- Internal server for the UX team
+ <_name>Red Hat UX Team Hub
+ <_description>Internal server for the UX team
redhat.png
Git
@@ -13,7 +13,7 @@
- /project
+ <_example>/project
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a059d4a7..0d8059da 100755
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,12 @@
# Please keep this file in alphabetical order; run ./sort-potfiles
# after adding files here.
[encoding: UTF-8]
+data/plugins/bitbucket.xml.in
+data/plugins/github.xml.in
+data/plugins/gitorious.xml.in
+data/plugins/gnome.xml.in
+data/plugins/own-server.xml.in
+data/plugins/redhat.xml.in
SparkleShare/Mac/SparkleStatusIcon.cs
SparkleShare/Mac/SparkleUI.cs
SparkleShare/Nautilus/sparkleshare-nautilus-extension.py.in