[PATCH xrandr 1/3] po4a: handle translated xrandr(1) manpage #37612

David Prévot taffit at debian.org
Thu May 26 16:57:08 PDT 2011


This is a first part in order to fix #37612: po4a config files in order
to handle a translated manpage with po4a.

In order to create the POT file for translators, one just need to
execute (from the man/directory):

  touch po4a/po/xrandr.pot
  po4a po4a/po4a.cfg

The POT file doesn't need to be stored in VCS, but could be distributed
to translators in the source tarball. The name of the POT file doesn't
matter.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=37612

Signed-off-by: David Prévot <taffit at debian.org>
---
 man/po4a/po/.gitignore |    1 +
 man/po4a/po4a.cfg      |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100644 man/po4a/po/.gitignore
 create mode 100644 man/po4a/po4a.cfg

diff --git a/man/po4a/po/.gitignore b/man/po4a/po/.gitignore
new file mode 100644
index 0000000..7ced889
--- /dev/null
+++ b/man/po4a/po/.gitignore
@@ -0,0 +1 @@
+xrandr.pot
diff --git a/man/po4a/po4a.cfg b/man/po4a/po4a.cfg
new file mode 100644
index 0000000..90931a9
--- /dev/null
+++ b/man/po4a/po4a.cfg
@@ -0,0 +1,5 @@
+[po_directory] po4a/po/
+
+[type: man] xrandr.man \
+	$lang:$lang/xrandr.man \
+        add_$lang:?po4a/add_$lang/$lang.add
-- 
1.7.5.1



More information about the xorg-devel mailing list