[debian-edu-commits] debian-edu/ 01/02: Use correct msgid when swaping.

Petter Reinholdtsen pere at moszumanska.debian.org
Wed Apr 15 09:12:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository debian-edu-itil-doc-nb.

commit 1699ec2dbd4ca72866f121adc2e0893a2e26d085
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Wed Apr 15 11:12:39 2015 +0200

    Use correct msgid when swaping.
---
 documentation/itil/po-swap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/itil/po-swap b/documentation/itil/po-swap
index 85146d0..4a4d567 100755
--- a/documentation/itil/po-swap
+++ b/documentation/itil/po-swap
@@ -10,8 +10,8 @@ my $nbpofile=Locale::Po4a::Po->new();
 $nbpofile->set_charset("UTF-8");
 $enpofile->read('itil.en.po');
 for my $msgid ( keys %{$enpofile->{po}}) {
-    my $msgstr = $enpofile->gettext($msgid);
     $msgid = remap($msgid);
+    my $msgstr = $enpofile->gettext($msgid);
     $msgstr = remap($msgstr);
     if (defined $msgstr ) { # && $msgid ne $msgstr) {
         print("push $msgstr -> $msgid\n");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/debian-edu-itil-doc-nb.git



More information about the debian-edu-commits mailing list