source: git/lib/mailmsgs.pl @ ce0093f

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-datawalls-data-hanging-as-warning
Last change on this file since ce0093f was ce0093f, checked in by Olly Betts <olly@…>, 20 years ago

New address for it translator

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@2586 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100755
File size: 875 bytes
RevLine 
[e7839be]1#!/usr/bin/perl -w
2require 5.004;
3use strict;
4
5use integer;
6
[45ae755]7my $version =`sed 's/^AM_INIT.*(.*, *\\([0-9][0-9\\.]*\\)).*/\\1/p;d' ../configure.in`;
8
[e7839be]9my %email = (
[4649d3a]10 'de' => 'Gerhard Niklasch <nikl@mathematik.tu-muenchen.de>, <niklasch@consol.de>',
[e7839be]11 'fr' => 'Eric.Madelaine@sophia.inria.fr',
[ce0093f]12 'it' => 'robywack@tin.it', # was zoom7@freemail.it
[510ac63]13# 'es' => 'nobody@localhost',
[e7839be]14 'ca' => 'jep@redestb.es',
[510ac63]15 'pt' => 'leandro@dybal.eti.br',
16 'sk' => 'martinsluka@mac.com'
[e7839be]17);
18
[b462168]19#system "rm *.todo";
[e7839be]20
[b462168]21#system "./makemsgs.pl messages.txt";
[e7839be]22
23for my $lang (sort keys %email) {
24   #$email{$lang} = 'olly@mantis.co.uk';
25   if (-s "$lang.todo") {
26      print "Mailing $lang.todo to $email{$lang}\n";
[b462168]27      system "mutt -s 'Survex $version: Messages Requiring Translation' \Q$email{$lang}\E < \Q$lang.todo\E";
[e7839be]28      unlink "$lang.todo";
29   } else {
30      print "$lang is up to date\n";
31   }
32}
Note: See TracBrowser for help on using the repository browser.