Commit 1e353977 authored by Franco Fichtner's avatar Franco Fichtner

Merge pull request #588 from fabianfrz/translation

translation fix
parents 81e61f0c c3cccbc1
...@@ -76,7 +76,7 @@ include("head.inc"); ...@@ -76,7 +76,7 @@ include("head.inc");
legacy_html_escape_form_data($a_schedules); legacy_html_escape_form_data($a_schedules);
$main_buttons = array( $main_buttons = array(
array('label'=>'Add a new schedule', 'href'=>'firewall_schedule_edit.php'), array('label'=>gettext('Add a new schedule'), 'href'=>'firewall_schedule_edit.php'),
); );
?> ?>
......
...@@ -218,8 +218,8 @@ include("head.inc"); ...@@ -218,8 +218,8 @@ include("head.inc");
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
var daysSelected = ""; var daysSelected = "";
var month_array = ['January','February','March','April','May','June','July','August','September','October','November','December']; var month_array = <?= json_encode($monthArray) ?>;
var day_array = ['Mon','Tues','Wed','Thur','Fri','Sat','Sun']; var day_array = <?= json_encode($dayArray) ?>;
var schCounter = 0; var schCounter = 0;
function rgb2hex(rgb) { function rgb2hex(rgb) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment