lint: Check for spelling of organization and fix errors.

This commit is contained in:
Tim Abbott 2016-12-27 17:25:01 -08:00
parent 8e3f1e1745
commit 1c5e8cd47b
4 changed files with 11 additions and 7 deletions

View File

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 113 KiB

View File

@ -1,10 +1,12 @@
# Change the default language
Default langauge of the organisation can only be changed by an administrator
Default langauge of the organization can only be changed by an administrator.
Follow the steps given below to change the default language of your organisation using an administrator account:
Follow the steps given below to change the default language of your
organization using an administrator account:
* Click on the cog (![cog](/static/images/help/cog.png)) icon in the upper right corner of the sidebar
* Click on the cog (![cog](/static/images/help/cog.png)) icon in the
upper right corner of the sidebar
* Choose the **Administration** option in the panel shown below:
@ -14,8 +16,8 @@ Follow the steps given below to change the default language of your organisation
![admin-window](/static/images/help/admin-window.png)
* Scroll down to find **Default Language** option in the **Organisation Settings** section:
* Scroll down to find **Default Language** option in the **Organization Settings** section:
![default-language-organisation](/static/images/help/default-language-organisation.png)
![default-language-organization](/static/images/help/default-language-organization.png)
* Choose the langauge that you would like to change to and then click on **Save changes**.
* Choose the language that you would like to change to and then click on **Save changes**.

View File

@ -1,6 +1,6 @@
# Set default streams for new users
Default streams for an organisation are set by an administrator.
Default streams for an organization are set by an administrator.
Follow the steps given below to set the default streams for new users
using an administrator account:

View File

@ -367,6 +367,8 @@ def build_custom_checkers(by_lang):
'description': "javascript should be spelled JavaScript"},
{'pattern': '[^\/\-\.\"\'\_\=\>]([gG]ithub)[^\.\-\_\"\<]', # exclude usage in hrefs/divs
'description': "github should be spelled GitHub"},
{'pattern': '[oO]rganisation', # exclude usage in hrefs/divs
'description': "Organization is spelled with a z"},
] # type: RuleList
html_rules = whitespace_rules + prose_style_rules + [
{'pattern': 'placeholder="[^{]',