+[%- USE T8 %]
[% USE HTML %]<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
<script type="text/javascript">
<!--
function set_subject() {
- var subject_template = "<translate>Backup of dataset</translate>";
+ var subject_template = "[% 'Backup of dataset' | $T8 %]";
var subject = document.Form.subject.value;
if ((subject == "") || (subject.substr(0, subject_template.length) == subject_template)) {
<h2>[% title %]</h2>
[% IF NO_DATABSES %]
- <translate>No databases have been found on this server.</translate>
+ [% 'No databases have been found on this server.' | $T8 %]
[% ELSE %]
<input type="hidden" name="dbpasswd" value="[% HTML.escape(dbpasswd) %]">
<p>
- <translate>Please select the database you want to backup</translate>:
+ [% 'Please select the database you want to backup' | $T8 %]:
<select name="dbname" onchange="set_subject()">[% FOREACH row = DATABASES %]<option>[% HTML.escape(row.dbname) %]</option>[% END %]</select>
</p>
<table>
<tr>
<td valign="top"><input type="radio" name="destination" id="destination_download" value="download" checked></td>
- <td valign="top"><label for="destination_download"><translate>Download the backup</translate></label></td>
+ <td valign="top"><label for="destination_download">[% 'Download the backup' | $T8 %]</label></td>
</tr>
<tr>
<td valign="top"><input type="radio" name="destination" id="destination_email" value="email"></td>
<td valign="top">
- <label for="destination_email"><translate>Send the backup via Email</translate></label><br>
+ <label for="destination_email">[% 'Send the backup via Email' | $T8 %]</label><br>
<table>
<tr>
- <td valign="top" align="right"><translate>From</translate></td>
+ <td valign="top" align="right">[% 'From' | $T8 %]</td>
<td valign="top"><input name="from" size="40" value="[% HTML.escape(from) %]"></td>
</tr>
<tr>
- <td valign="top" align="right"><translate>To</translate></td>
+ <td valign="top" align="right">[% 'To' | $T8 %]</td>
<td valign="top"><input name="to" size="40"></td>
</tr>
<tr>
- <td valign="top" align="right"><translate>Cc</translate></td>
+ <td valign="top" align="right">[% 'Cc' | $T8 %]</td>
<td valign="top"><input name="cc" size="40"></td>
</tr>
<tr>
- <td valign="top" align="right"><translate>Subject</translate></td>
+ <td valign="top" align="right">[% 'Subject' | $T8 %]</td>
<td valign="top"><input name="subject" size="40"></td>
</tr>
<tr>
- <td valign="top" align="right"><translate>Message</translate></td>
+ <td valign="top" align="right">[% 'Message' | $T8 %]</td>
<td valign="top"><textarea name="message" cols="40" rows="10"></textarea></td>
</tr>
<br>
- <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">
- <input type="submit" class="submit" name="action" value="<translate>Back</translate>">
+ <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
+ <input type="submit" class="submit" name="action" value="[% 'Back' | $T8 %]">
</form>