[Debian-l10n-commits] dl10n branch master updated. 07c6f76ab38718d18c40397f3e24a1f6e7fc7c97

David Prévot taffit at alioth.debian.org
Sat Jul 13 14:45:57 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "dl10n".

The branch, master has been updated
       via  07c6f76ab38718d18c40397f3e24a1f6e7fc7c97 (commit)
      from  6fafe9d05864a3a0e4cfd8eb661f6bad31700022 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

http://anonscm.debian.org/gitweb/?p=debian-l10n/dl10n.git;a=commitdiff;h=07c6f76ab38718d18c40397f3e24a1f6e7fc7c97

commit 07c6f76ab38718d18c40397f3e24a1f6e7fc7c97
Author: David Prévot <taffit at debian.org>
Date:   Sat Jul 13 10:44:06 2013 -0400

    Anchor ID shouldn’t start with a number

-----------------------------------------------------------------------

Summary of changes:
 dl10n-pts |    1 +
 1 file changed, 1 insertion(+)

diff --git a/dl10n-pts b/dl10n-pts
index 9d7451d..4e2384a 100755
--- a/dl10n-pts
+++ b/dl10n-pts
@@ -400,6 +400,7 @@ EOF
     # avoid deprecated characters in anchors
     my $pkgid = $pkg;
     $pkgid =~ s/\+/plus/;
+    $pkgid =~ s/^\d/p_$&/;
 
     foreach my $lang (sort keys %{$langs{$pkg}}) {
         if ($lang ne "_" and $lang ne "__") {
-----------------------------------------------------------------------


hooks/post-receive
-- 
dl10n



More information about the Debian-l10n-commits mailing list