Wrong usage of "an"

Wrong usage of "an" in the mesages:
"Width an height of the chart will be taken from chart wrapper"
"an flavor. By default this will return the flavors"
"allocate an floating IP"
"Each item is an namespace"

Should be:
"Width and height of the chart will be taken from chart wrapper"
"a flavor. By default this will return the flavors"
"allocate a floating IP"
"Each item is a namespace"

Totally 5 occasions in Horizon base code.

Change-Id: I154257da9c93b33fc7353e2e642e9e406978162b
This commit is contained in:
hgangwx 2015-12-28 15:08:25 +08:00
parent f89247d436
commit 5e855ddba8
5 changed files with 5 additions and 5 deletions

View File

@ -707,7 +707,7 @@ horizon.d3_bar_chart = {
var svg = jquery_element.find('svg');
svg.hide();
// Width an height of the chart will be taken from chart wrapper,
// Width and height of the chart will be taken from chart wrapper,
// that can be styled by css.
var width = jquery_element.width();

View File

@ -337,7 +337,7 @@ horizon.d3_line_chart = {
svg.hide();
/*
Width an height of the chart will be taken from chart wrapper,
Width and height of the chart will be taken from chart wrapper,
that can be styled by css.
*/
self.width = jquery_element.width();

View File

@ -71,7 +71,7 @@ class FloatingIpManager(object):
"""Allocates a floating IP to the tenant.
You must provide a pool name or id for which you would like to
allocate an floating IP.
allocate a floating IP.
"""
pass

View File

@ -241,7 +241,7 @@ class Flavors(generic.View):
"""Get a list of flavors.
The listing result is an object with property "items". Each item is
an flavor. By default this will return the flavors for the user's
a flavor. By default this will return the flavors for the user's
current project. If the user is admin, public flavors will also be
returned.

View File

@ -290,7 +290,7 @@
* http://docs.openstack.org/developer/glance/metadefs-concepts.html
*
* The listing result is an object with property "items". Each item is
* an namespace.
* a namespace.
*
* @description
* Get a list of namespaces.