X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/95c8b2a01dcf6a9735ac3772a2e0d8bb86a4e561..e37008c7bf8614d806e7d15eafbe7dba91d0cbc7:/script/locale/merge-from-translatewiki diff --git a/script/locale/merge-from-translatewiki b/script/locale/merge-from-translatewiki old mode 100644 new mode 100755 index 1dadb4ff3..706ec45b3 --- a/script/locale/merge-from-translatewiki +++ b/script/locale/merge-from-translatewiki @@ -351,7 +351,7 @@ sub get_language_from_translatewiki my ($lang) = @_; my $mech = WWW::Mechanize->new; - $mech->get("http://translatewiki.net/w/i.php?title=Special%3ATranslate&task=export-to-file&group=out-osm&language=$lang"); + $mech->get("http://translatewiki.net/w/i.php?title=Special%3ATranslate&task=export-to-file&group=out-osm-site&language=$lang"); die "Couldn't get lang $lang lang from Translatewiki" unless $mech->success; @@ -366,7 +366,7 @@ sub translatewiki_languages { my $mech = WWW::Mechanize->new; - $mech->get('http://translatewiki.net/wiki/Translating:OpenStreetMap/stats/trunk'); + $mech->get('http://translatewiki.net/wiki/Translating:OpenStreetMap/stats/trunk/site'); die "Couldn't get translatewiki table" unless $mech->success;