Completed translation to EN/RU

HTML need to be fixed, configurable language need to be added to user
settings, need to change some API answers to translate RRD Graphics.
This commit is contained in:
ZonD Eighty 2013-01-16 15:36:57 +04:00
commit a2d33b72ec
23 changed files with 1631 additions and 1287 deletions

View file

@ -2,7 +2,7 @@
<tr>
<td style="padding: 12px 0 8px 6px">
<div style="float:left">
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/cron/'"> Add Cron Job </button>
<button style="width:120px; padding: 2px 0px;" onclick="location.href='/add/cron/'"> <?php print _('Add Cron Job');?> </button>
</div>
<div style="text-align: right; float: right;">
<form action="/search/" method="get" >
@ -14,8 +14,8 @@
<form action="/bulk/cron/" method="post" id="objects">
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
<select style="margin:0 2px 0 0px;" name="action">
<option>apply to selected</option>
<option>delete</option>
<option><?php print _('apply to selected');?></option>
<option><?php print _('delete');?></option>
</select>
<input type="submit" name="ok" value="" class="button" style="width: 37px; font-size: 12px; height: 24px;">
</div>
@ -46,20 +46,20 @@
<table class="data-col1">
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="job[]" value="<?php echo $data[$key]['JOB'] ?>" ></td></tr>
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE'])) ?></td></tr>
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
<tr><td class="data-<?php echo $status ?>"><b><?php echo _($status); ?></b></td></tr>
</table>
</td>
<td class="data-dotted" width="830px" style="vertical-align:top;">
<table width="830px">
<tr>
<td></td>
<td class="data-controls" width="50px"><a href="/edit/cron/?job=<?php echo $data[$key]['JOB'] ?>"><img src="/images/edit.png" width="8px" height="8px"> edit</a></td>
<td class="data-controls" width="50px"><a href="/edit/cron/?job=<?php echo $data[$key]['JOB'] ?>"><img src="/images/edit.png" width="8px" height="8px"> <?php print _('edit');?></a></td>
<td class="data-controls do_delete" width="70px">
<img src="/images/delete.png" width="7px" height="7px" class="do_delete">
<a id="delete_link_<?php echo $i ?>" class="do_delete"> delete</a>
<a id="delete_link_<?php echo $i ?>" class="do_delete"> <?php print _('delete');?></a>
<input type="hidden" name="delete_url" value="/delete/cron/?job=<?php echo $data[$key]['JOB']; ?>" />
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="Confirmation">
<p class="counter-value">Are you sure you want to delete cron job?</p>
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print _('Confirmation');?>">
<p class="counter-value"><?php print _('CRON_ACTION_CONFIRMATION',_('delete'));?></p>
</div>
</td>
</tr>
@ -76,7 +76,7 @@
<table>
<tr>
<td class="cron-counter-name">
Min
<?php print _('Min');?>
</td>
</tr>
<tr>
@ -90,7 +90,7 @@
<table>
<tr>
<td class="cron-counter-name">
Hour
<?php print _('Hour');?>
</td>
</tr>
<tr>
@ -104,7 +104,7 @@
<table>
<tr>
<td class="cron-counter-name">
Day
<?php print _('Day');?>
</td>
</tr>
<tr>
@ -118,7 +118,7 @@
<table>
<tr>
<td class="cron-counter-name">
Month
<?php print _('Month');?>
</td>
</tr>
<tr>
@ -132,7 +132,7 @@
<table>
<tr>
<td class="cron-counter-name">
Day of Week
<?php print _('Day of week');?>
</td>
</tr>
<tr>
@ -159,9 +159,9 @@
<td>
<?php
if ( $i == 1) {
echo "1 cron job ";
echo _('one cron job');
} else {
echo "$i cron jobs ";
echo _('%s cron jobs',$i);
}
?>
</td>