source: git/lib/mailmsgs.pl@ 81aea4e

RELEASE/1.1 RELEASE/1.2 debug-ci debug-ci-sanitisers faster-cavernlog log-select main stereo stereo-2025 walls-data walls-data-hanging-as-warning warn-only-for-hanging-survey
Last change on this file since 81aea4e was a2336a4, checked in by Olly Betts <olly@…>, 21 years ago

Updated Roberto's email

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

  • Property mode set to 100755
File size: 946 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',
[e7839be]15 'ca' => 'jep@redestb.es',
[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.