diff options
author | Jo Michael <me@mynetx.net> | 2012-04-07 22:23:22 +0400 |
---|---|---|
committer | Jo Michael <me@mynetx.net> | 2012-04-07 22:23:22 +0400 |
commit | 6ba62e1b2da72a2c8446c75639ac8b76b1ae3f99 (patch) | |
tree | 92537d3735840219d1fbf9fba25c9605608a1b84 /js | |
parent | 952ca9efca944e65edc748705175e9331ca07a97 (diff) |
Replaced "seperator" with "separator"
Diffstat (limited to 'js')
-rw-r--r-- | js/codemirror/mode/mysql/mysql.js | 2 | ||||
-rw-r--r-- | js/jquery/timepicker.js | 2 | ||||
-rw-r--r-- | js/messages.php | 4 | ||||
-rw-r--r-- | js/server_status.js | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/js/codemirror/mode/mysql/mysql.js b/js/codemirror/mode/mysql/mysql.js index 94b89a5e27..ca07c26f14 100644 --- a/js/codemirror/mode/mysql/mysql.js +++ b/js/codemirror/mode/mysql/mysql.js @@ -25,7 +25,7 @@ CodeMirror.defineMode("mysql", function(config, parserConfig) { // start of string? if (ch == '"' || ch == "'" || ch == '`') return chain(stream, state, tokenString(ch)); - // is it one of the special signs []{}().,;? Seperator? + // is it one of the special signs []{}().,;? separator? else if (/[\[\]{}\(\),;\.]/.test(ch)) return ret(ch, "separator"); // start of a number value? diff --git a/js/jquery/timepicker.js b/js/jquery/timepicker.js index 41e3ea005d..8425ab5b91 100644 --- a/js/jquery/timepicker.js +++ b/js/jquery/timepicker.js @@ -209,7 +209,7 @@ $.extend(Timepicker.prototype, { // the time should come after x number of characters and a space.
// x = at least the length of text specified by the date format
var dp_dateFormat = $.datepicker._get(this.inst, 'dateFormat');
- // escape special regex characters in the seperator
+ // escape special regex characters in the separator
var specials = new RegExp("[.*+?|()\\[\\]{}\\\\]", "g");
regstr = '.{' + dp_dateFormat.length + ',}' + this._defaults.separator.replace(specials, "\\$&") + regstr;
}
diff --git a/js/messages.php b/js/messages.php index bc10c3fd53..16a3d51e17 100644 --- a/js/messages.php +++ b/js/messages.php @@ -69,9 +69,9 @@ $js_messages['strTotal'] = __('Total'); /* l10n: Other, small valued, queries */ $js_messages['strOther'] = __('Other'); /* l10n: Thousands separator */ -$js_messages['strThousandsSeperator'] = __(','); +$js_messages['strThousandsSeparator'] = __(','); /* l10n: Decimal separator */ -$js_messages['strDecimalSeperator'] = __('.'); +$js_messages['strDecimalSeparator'] = __('.'); $js_messages['strChartKBSent'] = __('KiB sent since last refresh'); $js_messages['strChartKBReceived'] = __('KiB received since last refresh'); diff --git a/js/server_status.js b/js/server_status.js index 893fb34d0d..31a9471d81 100644 --- a/js/server_status.js +++ b/js/server_status.js @@ -25,8 +25,8 @@ $(function() { }, format: function(s) { var num = jQuery.tablesorter.formatFloat( - s.replace(PMA_messages['strThousandsSeperator'], '') - .replace(PMA_messages['strDecimalSeperator'], '.') + s.replace(PMA_messages['strThousandsSeparator'], '') + .replace(PMA_messages['strDecimalSeparator'], '.') ); var factor = 1; |