The following commit has been merged in the master branch:
commit 744f0bd2396bb345e4c975134dac50c1bd8c969c
Author: Guillem Jover <[email protected]>
Date:   Thu Mar 11 08:25:30 2010 +0100

    u-a: Mark strings for translation

diff --git a/scripts/update-alternatives.pl b/scripts/update-alternatives.pl
index bc9030d..d511fb6 100755
--- a/scripts/update-alternatives.pl
+++ b/scripts/update-alternatives.pl
@@ -790,7 +790,7 @@ sub load {
         config_helper($fh, $file);
        my $status = gl(_g("status"));
        badfmt(_g("invalid status")) unless $status =~ /^(?:auto|manual)$/;
-       my $link = gl("link");
+       my $link = gl(_g("master link"));
         my (%slaves, @slaves);
        while ((my $slave_name = gl(_g("slave name"))) ne '') {
            my $slave_link = gl(_g("slave link"));
@@ -1027,7 +1027,7 @@ sub prepare_install {
     my ($self, $choice) = @_;
     my ($link, $name) = ($self->link(), $self->name());
     my $fileset = $self->fileset($choice);
-    main::error("can't install unknown choice %s", $choice)
+    main::error(_g("can't install unknown choice %s"), $choice)
         if not defined($choice);
     # Create link in /etc/alternatives
     main::checked_rm("$altdir/$name.dpkg-tmp");

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to