From ea970889e5cdf8c24d3b0948055667c3716482f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 28 Sep 2009 20:27:50 +0000 Subject: [PATCH] Report on download progress --- script/locale/merge-from-translatewiki | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/script/locale/merge-from-translatewiki b/script/locale/merge-from-translatewiki index e1616ce5f..6f0120a45 100644 --- a/script/locale/merge-from-translatewiki +++ b/script/locale/merge-from-translatewiki @@ -306,9 +306,12 @@ sub get_translatewiki_translations } my %translatewiki_languages; - say "All languages are: @languages"; + my $all_count = scalar @languages; + say "Translatewiki has $all_count languages I'm about to get"; + my $count = 0; for my $lang (@languages) { - say STDERR "Getting language $lang from Translatewiki"; + $count ++; + say STDERR "Getting language $count/$all_count ($lang) from Translatewiki"; my $yaml = get_language_from_translatewiki($lang); my $flat_data = load_and_flatten_yaml($yaml); -- 2.39.5