summaryrefslogtreecommitdiffstats
path: root/credits2po
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-14 19:49:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-14 19:49:23 +0000
commit11fd4189b4be18b47b8b9fbca2d243bf88a0d8be (patch)
tree6ee3a1e3eba008aced2fa0cf846c7558c391c6dc /credits2po
parent0fb859bc08a2991438a4111ca598ed64dc50fb4b (diff)
downloadcontrol-center-11fd4189b4be18b47b8b9fbca2d243bf88a0d8be.tar
control-center-11fd4189b4be18b47b8b9fbca2d243bf88a0d8be.tar.gz
control-center-11fd4189b4be18b47b8b9fbca2d243bf88a0d8be.tar.bz2
control-center-11fd4189b4be18b47b8b9fbca2d243bf88a0d8be.tar.xz
control-center-11fd4189b4be18b47b8b9fbca2d243bf88a0d8be.zip
- remove trailled eol
- generate extractable descriptions
Diffstat (limited to 'credits2po')
-rwxr-xr-xcredits2po4
1 files changed, 3 insertions, 1 deletions
diff --git a/credits2po b/credits2po
index 06e6e497..bc7bdb68 100755
--- a/credits2po
+++ b/credits2po
@@ -12,7 +12,9 @@ use common;
),
(map {
my ($contributor, $descr) = split(', ', $_, 2);
- qq(\tN("$contributor") => N(qq($descr)),);
+ chomp($descr);
+ $descr =~ s/(["@$])/\$1/g;
+ qq(\tN("$contributor") => N("$descr"),);
} cat_(glob("/usr/share/doc/mandrake-release-*/CREDITS"))),
"}"
)