source: git/lib/mailmsgs.pl @ d4d6909

RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change on this file since d4d6909 was 540b5d2, checked in by Olly Betts <olly@…>, 18 years ago

Update Josep's email address.

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

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