diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 3d6a3a8e1c..883ed7fa1d 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-24  Ramon Novoa  <rnovoa@artica.es>
+
+	* godmode/alerts/configure_alert_template.php: Fixed a translation that
+	  broke the javascript.
+
 2013-07-24 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
 
 	* include/functions_forecast.php: Avoid timeout in prediction date
diff --git a/pandora_console/godmode/alerts/configure_alert_template.php b/pandora_console/godmode/alerts/configure_alert_template.php
index 3822d33a6c..1f2c4d9864 100644
--- a/pandora_console/godmode/alerts/configure_alert_template.php
+++ b/pandora_console/godmode/alerts/configure_alert_template.php
@@ -739,7 +739,7 @@ ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascri
 <script type="text/javascript">
 /* <![CDATA[ */
 var matches = <?php echo "'" . __("The alert would fire when the value matches <span id=\"value\"></span>") . "'";?>;
-var matches_not = <?php echo "'" . __("The alert would fire when the value doesn\'t match <span id=\"value\"></span>") . "'";?>;
+var matches_not = <?php echo "\"" . __("The alert would fire when the value doesn\'t match %s", "<span id='value'></span>") . "\"";?>;
 var is = <?php echo "'" . __("The alert would fire when the value is <span id=\"value\"></span>") . "'";?>;
 var is_not = <?php echo "'" . __("The alert would fire when the value is not <span id=\"value\"></span>") . "'";?>;
 var between = <?php echo "'" . __("The alert would fire when the value is between <span id=\"min\"></span> and <span id=\"max\"></span>") . "'";?>;