Skip to content

Commit

Permalink
Fixed all grammatical issues in the project (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat-Jain authored and mariobehling committed Aug 10, 2018
1 parent 3d16ed7 commit c268615
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 46 deletions.
20 changes: 10 additions & 10 deletions README.md
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/fossasia/susi_skill_cms.svg?branch=master)](https://travis-ci.org/fossasia/susi_skill_cms)

A web application framework to edit susi skills
A web application framework to edit SUSI Skills

## Communication

Expand All @@ -27,22 +27,22 @@ Our chat channel is on gitter here: https://gitter.im/fossasia/susi_server
### Running on localhost:
* **Step 1:** Fork [susi_skill_cms](https://github.com/fossasia/susi_skill_cms) repository and clone it to your desktop
* **Step 2:** Then cd into that cloned folder
* **Step 3:** Install all the dependencies by running :```$ npm install```
* **Step 4:** Run on http://localhost:3000 by running :```$ npm run start```
* **Step 5:** Build locally by running : ```$ npm run build ```
* **Step 6:** To deploy at a url use : ```$ npm run deploy ```
* **Step 3:** Install all the dependencies by running: ```$ npm install```
* **Step 4:** Run on http://localhost:3000 by running: ```$ npm run start```
* **Step 5:** Build locally by running: ```$ npm run build ```
* **Step 6:** To deploy at a url use: ```$ npm run deploy ```

### For deploying with [Surge](https://surge.sh/):

Surge will automatically generate deployment link whenever a pull request passes Travis CI.

* **Step 1:** Install Surge:```$ npm install -g surge```
* **Step 1:** Install Surge: ```$ npm install -g surge```
* **Step 2:** Then cd into that cloned folder of susi_skill_cms .
* **Step 3:** Run the App build:```$ npm run build```
* **Step 4:** Switch into the build directory:```cd build```
* **Step 5:** Run surge:```surge```
* **Step 3:** Run the App build: ```$ npm run build```
* **Step 4:** Switch into the build directory: ```cd build```
* **Step 5:** Run surge: ```surge```
* **Step 6:** Follow the prompts and provide an email and a password.
* **Step 7:** Go to URL that appears after the above process and provide this link in PR for testing your Changes.
* **Step 7:** Go to URL that appears after the above process and provide this link in PR for testing your changes.

### Learn the skill language

Expand Down
8 changes: 4 additions & 4 deletions docs/DisplayingSkills.md
Expand Up @@ -6,11 +6,11 @@
This endpoint accepts `POST` request with data supplied in the following parameters.

>- model:general (default)
>- group:All (default)
>- language:en (default)
>- model: general (default)
>- group: All (default)
>- language: en (default)
The [Skill Browser Component](https://github.com/fossasia/susi_skill_cms/tree/master/src/components/BrowseSkill) we send request to the a forementioned endpoint to display all the skills in a category and language.
The [Skill Browser Component](https://github.com/fossasia/susi_skill_cms/tree/master/src/components/BrowseSkill) we send request to the aforementioned endpoint to display all the skills in a category and language.

To Browse skills,
- Go to [http://skills.susi.ai](http://skills.susi.ai)
Expand Down
30 changes: 15 additions & 15 deletions docs/ModifyingSkills.md
Expand Up @@ -6,15 +6,15 @@
This endpoint accepts `POST` request with data supplied in the following parameters.

>- OldModel:general
>- OldGroup:Knowledge
>- OldLanguage:en
>- OldSkill:github
>- NewModel:general
>- NewGroup:Knowledge
>- NewLanguage:en
>- NewSkill:github
>- changelog:change image name
>- OldModel: general
>- OldGroup: Knowledge
>- OldLanguage: en
>- OldSkill: github
>- NewModel: general
>- NewGroup: Knowledge
>- NewLanguage: en
>- NewSkill: github
>- changelog: change image name
>- content:
::name GitHub
::author Chirag Wadhera
Expand All @@ -29,14 +29,14 @@ This endpoint accepts `POST` request with data supplied in the following paramet
!expect:mariobehling is github username of Mario Behling
!console:$1$ is github username of $object$
{
"url":"https://api.github.com/users/$1$",
"path":"$.name"
"url": "https://api.github.com/users/$1$",
"path": "$.name"
}
eol
>- imageChanged:false
>- old_image_name:github.png
>- new_image_name:Github.png
>- image_name_changed:true
>- imageChanged: false
>- old_image_name: github.png
>- new_image_name: Github.png
>- image_name_changed: true
>- image: <image oject>

Expand Down
2 changes: 1 addition & 1 deletion docs/SkillVersionControl.md
@@ -1,6 +1,6 @@
# Skill Version Control in SUSI Skill CMS

With SUSI Skill CMS, users can browse through all the previous revisions of a skill and roll back to a selected version. Users can modify existing skills and push the changes. So a skill could have been edited many times by the same or different users and so have many revisions. The version control functionalities help users to :
With SUSI Skill CMS, users can browse through all the previous revisions of a skill and roll back to a selected version. Users can modify existing skills and push the changes. So a skill could have been edited many times by the same or different users and so have many revisions. The version control functionalities help users to:

- Browse through all the revisions of a selected skill
- View the content of a selected revision
Expand Down
2 changes: 1 addition & 1 deletion docs/Skill_Tutorial.md
Expand Up @@ -548,7 +548,7 @@ We will learn here how to connect those instances to each other so they can talk
Every skill can be given an example query using the bang-notion which always starts with a '!' followed by 'example:' and then the example query for the skill:

```
what is your name ? | What's your name ? | Who are you ?| what should i call you ? | do you have a name
what is your name? | What's your name? | Who are you?| what should i call you? | do you have a name
!example:what is your name?
My name is SUSI.
```
Expand Down
16 changes: 8 additions & 8 deletions src/components/Admin/Admin.js
Expand Up @@ -156,37 +156,37 @@ class Admin extends Component {
}}
>
<p>
Anonymous :{' '}
Anonymous:{' '}
{this.state.userStats.anonymous
? this.state.userStats.anonymous
: 0}
</p>
<p>
Users :{' '}
Users:{' '}
{this.state.userStats.users
? this.state.userStats.users
: 0}
</p>
<p>
Reviewers :{' '}
Reviewers:{' '}
{this.state.userStats.reviewers
? this.state.userStats.reviewers
: 0}
</p>
<p>
Operators :{' '}
Operators:{' '}
{this.state.userStats.operators
? this.state.userStats.operators
: 0}
</p>
<p>
Admins :{' '}
Admins:{' '}
{this.state.userStats.admins
? this.state.userStats.admins
: 0}
</p>
<p>
Super Admins :{' '}
Super Admins:{' '}
{this.state.userStats.superAdmins
? this.state.userStats.superAdmins
: 0}
Expand Down Expand Up @@ -380,13 +380,13 @@ class Admin extends Component {
}}
>
<p>
Editable :{' '}
Editable:{' '}
{this.state.skillStats.editableSkills
? this.state.skillStats.editableSkills
: 0}
</p>
<p>
Non Editable :{' '}
Non Editable:{' '}
{this.state.skillStats.nonEditableSkills
? this.state.skillStats.nonEditableSkills
: 0}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Admin/ListSkills/ListSkills.js
Expand Up @@ -661,7 +661,7 @@ class ListSkills extends React.Component {
open={this.state.showDeleteDialog}
>
<div>
Are you sure you want to delete {this.state.skillName} ?
Are you sure you want to delete {this.state.skillName}?
</div>
</Dialog>
<Dialog
Expand All @@ -671,7 +671,7 @@ class ListSkills extends React.Component {
open={this.state.showRestoreDialog}
>
<div>
Are you sure you want to restore {this.state.skillName} ?
Are you sure you want to restore {this.state.skillName}?
</div>
</Dialog>
<Dialog
Expand Down
4 changes: 2 additions & 2 deletions src/components/BrowseSkill/BrowseSkill.js
Expand Up @@ -1094,7 +1094,7 @@ export default class BrowseSkill extends React.Component {
</b>
{this.props.routeValue && (
<div style={{ display: 'flex' }}>
&nbsp;:&nbsp;<div
:&nbsp;<div
style={{ color: '#4286f4', fontWeight: 'bold' }}
>
{this.props.routeValue}
Expand All @@ -1103,7 +1103,7 @@ export default class BrowseSkill extends React.Component {
)}
{this.state.searchQuery.length > 0 && (
<div style={{ display: 'flex' }}>
&nbsp;:&nbsp;<div
:&nbsp;<div
style={{ color: '#4286f4', fontWeight: 'bold' }}
>
&quot;{this.state.searchQuery}&quot;
Expand Down
2 changes: 1 addition & 1 deletion src/components/SkillFeedbackCard/SkillFeedbackCard.js
Expand Up @@ -298,7 +298,7 @@ class SkillFeedbackCard extends Component {
open={this.state.openDeleteDialog}
onRequestClose={this.handleEditClose}
>
Are you sure, you want to delete your feedback ?
Are you sure, you want to delete your feedback?
</Dialog>
</Paper>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/SkillFeedbackPage/SkillFeedbackPage.js
Expand Up @@ -809,7 +809,7 @@ class SkillFeedbackPage extends Component {
open={this.state.openDeleteDialog}
onRequestClose={this.handleEditClose}
>
Are you sure, you want to delete your feedback ?
Are you sure, you want to delete your feedback?
</Dialog>
<div>
<AuthorSkills
Expand Down
2 changes: 1 addition & 1 deletion src/components/SkillVersion/SkillVersion.js
Expand Up @@ -306,7 +306,7 @@ class SkillVersion extends Component {
<div style={{ textTransform: 'capitalize' }}>
{this.state.skillMeta.skillName.split('_').join(' ')}
</div>
&nbsp;:&nbsp;Revision History
:&nbsp;Revision History
</h1>
<p>
<span>
Expand Down

0 comments on commit c268615

Please sign in to comment.