From 7a4fde5ec94c378d6e41f48cfc21a10042488643 Mon Sep 17 00:00:00 2001
From: 928234269 <longfei.shang@daocloud.io>
Date: Tue, 20 Aug 2019 12:28:03 +0800
Subject: [PATCH] fixt typo "an user" to "a user"

Signed-off-by: 928234269 <longfei.shang@daocloud.io>
---
 docs/swagger.yaml                        | 2 +-
 src/core/controllers/oidc.go             | 2 +-
 src/portal/src/i18n/lang/en-us-lang.json | 2 +-
 src/portal/src/i18n/lang/es-es-lang.json | 2 +-
 src/portal/src/i18n/lang/fr-fr-lang.json | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index d4149635c..0e13b0aaa 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -5054,7 +5054,7 @@ definitions:
         description: the role id
       entity_id:
         type: integer
-        description: 'the id of entity, if the member is an user, it is user_id in user table. if the member is an user group, it is the user group''s ID in user_group table.'
+        description: 'the id of entity, if the member is a user, it is user_id in user table. if the member is a user group, it is the user group''s ID in user_group table.'
       entity_type:
         type: string
         description: 'the entity''s type, u for user entity, g for group entity.'
diff --git a/src/core/controllers/oidc.go b/src/core/controllers/oidc.go
index 903b99954..2f3d4f746 100644
--- a/src/core/controllers/oidc.go
+++ b/src/core/controllers/oidc.go
@@ -144,7 +144,7 @@ func (oc *OIDCController) Callback() {
 	}
 }
 
-// Onboard handles the request to onboard an user authenticated via OIDC provider
+// Onboard handles the request to onboard a user authenticated via OIDC provider
 func (oc *OIDCController) Onboard() {
 	u := &onboardReq{}
 	if err := oc.DecodeJSONReq(u); err != nil {
diff --git a/src/portal/src/i18n/lang/en-us-lang.json b/src/portal/src/i18n/lang/en-us-lang.json
index 82eb7df78..bb7926899 100644
--- a/src/portal/src/i18n/lang/en-us-lang.json
+++ b/src/portal/src/i18n/lang/en-us-lang.json
@@ -275,7 +275,7 @@
         "USERS": "Users",
         "EMAIL": "Email",
         "ADD_USER": "Add User",
-        "NEW_USER_INFO": "Add an user to be a member of this project with specified role",
+        "NEW_USER_INFO": "Add a user to be a member of this project with specified role",
         "NEW_GROUP": "New Group",
         "IMPORT_GROUP": "Add Group Member",
         "NEW_GROUP_INFO": "Add an existing user group or select a user group from LDAP/AD to project member",
diff --git a/src/portal/src/i18n/lang/es-es-lang.json b/src/portal/src/i18n/lang/es-es-lang.json
index 2c9c5e02e..5d476558b 100644
--- a/src/portal/src/i18n/lang/es-es-lang.json
+++ b/src/portal/src/i18n/lang/es-es-lang.json
@@ -276,7 +276,7 @@
         "USERS": "Users",
         "EMAIL": "Email",
         "ADD_USER": "Add User",
-        "NEW_USER_INFO": "Add an user to be a member of this project with specified role",
+        "NEW_USER_INFO": "Add a user to be a member of this project with specified role",
         "NEW_GROUP": "New Group",
         "IMPORT_GROUP": "Add Group Member",
         "NEW_GROUP_INFO": "Add an existing user group or select a user group from LDAP to project member",
diff --git a/src/portal/src/i18n/lang/fr-fr-lang.json b/src/portal/src/i18n/lang/fr-fr-lang.json
index bd948d912..1ccaac808 100644
--- a/src/portal/src/i18n/lang/fr-fr-lang.json
+++ b/src/portal/src/i18n/lang/fr-fr-lang.json
@@ -259,7 +259,7 @@
         "EMAIL": "Email",
         "ROLE": "RĂ´le",
         "ADD_USER": "Add User",
-        "NEW_USER_INFO": "Add an user to be a member of this project with specified role",
+        "NEW_USER_INFO": "Add a user to be a member of this project with specified role",
         "NEW_GROUP": "New Group",
         "IMPORT_GROUP": "Add Group Member",
         "NEW_GROUP_INFO": "Add an existing user group or select a user group from LDAP/AD to project member",