Opened 15 years ago

Last modified 13 years ago

#79 new defect

scripts/send-quarantine-reminders.pl - locales on templates

Reported by: dnauck Owned by: rjl
Priority: high Milestone: 1.1.0
Component: Perl scripts Version: 1.0.0 RC6
Severity: normal Keywords:
Cc:

Description

make scripts/send-quarantine-reminders.pl work with locales

get language of every user from the database and sende a localizied reminder.tpl

Change History (2)

comment:1 Changed 15 years ago by dnauck

a simple change in the perlscript, and we could use the format:

/var/amavisd/maia/templates/en/reminder.tpl /var/amavisd/maia/templates/de/reminder.tpl [...]

so we have to renome the "reminder_template_file" field in db to reminder_template_path.

the perlscript simply use: $reminder_template_file = $reminder_template_path + $lang + "/reminder.tpl" open TEMPLATEFILE, "<" . $reminder_template_file ...

comment:2 Changed 13 years ago by dmorton

  • Milestone changed from 1.0.0 RC6 to 1.1.0
  • Severity changed from major to normal
Note: See TracTickets for help on using tickets.