Fix misspellings in tuskar-ui

Fix misspellings detected by:
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

Change-Id: Ifbab9b69f16a81a208298d2f2cc48680e0029887
Closes-Bug: #1257295
This commit is contained in:
Shane Wang 2014-02-07 16:21:41 +08:00
parent ca2f3792e4
commit 050595a2fe
5 changed files with 7 additions and 7 deletions

View File

@ -409,7 +409,7 @@ less.Parser = function Parser(env) {
// string, so we've got a parsing error. // string, so we've got a parsing error.
// //
// We try to extract a \n delimited string, // We try to extract a \n delimited string,
// showing the line where the parse error occured. // showing the line where the parse error occurred.
// We split it up into two parts (the part which parsed, // We split it up into two parts (the part which parsed,
// and the part which didn't), so we can color them differently. // and the part which didn't), so we can color them differently.
if (i < input.length - 1) { if (i < input.length - 1) {
@ -880,7 +880,7 @@ less.Parser = function Parser(env) {
// //
// A Rule terminator. Note that we use `peek()` to check for '}', // A Rule terminator. Note that we use `peek()` to check for '}',
// because the `block` rule will be expecting it, but we still need to make sure // because the `block` rule will be expecting it, but we still need to make sure
// it's there, if ';' was ommitted. // it's there, if ';' was omitted.
// //
end: function () { end: function () {
return $(';') || peek('}'); return $(';') || peek('}');

View File

@ -14,7 +14,7 @@ tree.Operation.prototype.eval = function (env) {
temp = b, b = a, a = temp; temp = b, b = a, a = temp;
} else { } else {
throw { name: "OperationError", throw { name: "OperationError",
message: "Can't substract or divide a color from a number" }; message: "Can't subtract or divide a color from a number" };
} }
} }
return a.operate(this.op, b); return a.operate(this.op, b);

View File

@ -27,7 +27,7 @@ TEMPLATE_DEBUG = DEBUG
#SESSION_COOKIE_SECURE = True #SESSION_COOKIE_SECURE = True
# Overrides for OpenStack API versions. Use this setting to force the # Overrides for OpenStack API versions. Use this setting to force the
# OpenStack dashboard to use a specfic API version for a given service API. # OpenStack dashboard to use a specific API version for a given service API.
# NOTE: The version should be formatted as it appears in the URL for the # NOTE: The version should be formatted as it appears in the URL for the
# service API. For example, The identity service APIs have inconsistent # service API. For example, The identity service APIs have inconsistent
# use of the decimal point, so valid options would be "2.0" or "3". # use of the decimal point, so valid options would be "2.0" or "3".

View File

@ -25,7 +25,7 @@
data-size="22"> data-size="22">
</div> </div>
There are controll elements for the cirles chart, implementing some commands There are control elements for the cirles chart, implementing some commands
that will be executed over the chart. that will be executed over the chart.
1. The selectbox for time change, implements ChangeTime command. It has to 1. The selectbox for time change, implements ChangeTime command. It has to

View File

@ -226,7 +226,7 @@ horizon.d3_single_bar_chart = {
var self = this; var self = this;
self.base_component = base_component; self.base_component = base_component;
// FIXME woud be good to abstract all atributes and resolve orientation inside // FIXME would be good to abstract all attributes and resolve orientation inside
if (base_component.horizontal_orientation()){ if (base_component.horizontal_orientation()){
// Horizontal Bars // Horizontal Bars
self.y = 0; self.y = 0;
@ -278,7 +278,7 @@ horizon.d3_single_bar_chart = {
var self = this; var self = this;
self.base_component = base_component; self.base_component = base_component;
// FIXME woud be good to abstract all atributes and resolve orientation inside // FIXME would be good to abstract all attributes and resolve orientation inside
if (base_component.horizontal_orientation()){ if (base_component.horizontal_orientation()){
// Horizontal Bars // Horizontal Bars
self.y = 1; self.y = 1;