Description: Fix typos and grammar

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

--- a/pagure/internal/__init__.py
+++ b/pagure/internal/__init__.py
@@ -61,7 +61,7 @@ MERGE_OPTIONS = {
 
 
 def internal_access_only(function):
-    """Decorator used to check if the request is iternal or not.
+    """Decorator used to check if the request is internal or not.
 
     The request must either come from one of the addresses listed
     in IP_ALLOWED_INTERNAL or it must have the "Authentication"
--- a/pagure/lib/git.py
+++ b/pagure/lib/git.py
@@ -2440,7 +2440,7 @@ def update_pull_ref(request, repo):
 
 
 def get_git_tags(project, with_commits=False):
-    """Returns the list of tags created in the git repositorie of the
+    """Returns the list of tags created in the git repository of the
     specified project.
     """
     repopath = pagure.utils.get_repo_path(project)
@@ -2466,7 +2466,7 @@ def get_git_tags(project, with_commits=F
 
 
 def new_git_tag(project, tagname, target, user, message=None, force=False):
-    """Create a new git tag in the git repositorie of the specified project.
+    """Create a new git tag in the git repository of the specified project.
 
     :arg project: the project in which we want to create a git tag
     :type project: pagure.lib.model.Project
@@ -2505,7 +2505,7 @@ def new_git_tag(project, tagname, target
 
 def get_git_tags_objects(project):
     """Returns the list of references of the tags created in the git
-    repositorie the specified project.
+    repository of the specified project.
     The list is sorted using the time of the commit associated to the tag"""
     repopath = pagure.utils.get_repo_path(project)
     repo_obj = PagureRepo(repopath)
--- a/pagure/lib/model.py
+++ b/pagure/lib/model.py
@@ -529,7 +529,7 @@ class Project(BASE):
 
     @property
     def mail_id(self):
-        """Return a unique representation of the project as string that
+        """Return a unique representation of the project as a string that
         can be used when sending emails.
         """
         return "%s-project-%s" % (self.fullname, self.id)
@@ -1507,7 +1507,7 @@ class Issue(BASE):
 
     @property
     def mail_id(self):
-        """Return a unique reprensetation of the issue as string that
+        """Return a unique representation of the issue as a string that
         can be used when sending emails.
         """
         return "%s-ticket-%s" % (self.project.name, self.uid)
@@ -1721,7 +1721,7 @@ class IssueComment(BASE):
 
     @property
     def mail_id(self):
-        """Return a unique reprensetation of the issue as string that
+        """Return a unique representation of the issue as a string that
         can be used when sending emails.
         """
         return "%s-ticket-%s-%s" % (
@@ -2175,7 +2175,7 @@ class PullRequest(BASE):
 
     @property
     def isa(self):
-        """ A string to allow finding out that this is an pull-request. """
+        """ A string to allow finding out that this is a pull-request. """
         return "pull-request"
 
     @property
@@ -2185,7 +2185,7 @@ class PullRequest(BASE):
 
     @property
     def mail_id(self):
-        """Return a unique reprensetation of the issue as string that
+        """Return a unique representation of the issue as a string that
         can be used when sending emails.
         """
         return "%s-pull-request-%s" % (self.project.name, self.uid)
@@ -2391,7 +2391,7 @@ class PullRequestComment(BASE):
 
     @property
     def mail_id(self):
-        """Return a unique representation of the issue as string that
+        """Return a unique representation of the issue as a string that
         can be used when sending emails.
         """
         return "%s-pull-request-%s-%s" % (
@@ -2509,7 +2509,7 @@ class PullRequestFlag(BASE):
 
     @property
     def mail_id(self):
-        """Return a unique representation of the flag as string that
+        """Return a unique representation of the flag as a string that
         can be used when sending emails.
         """
         return "%s-pull-request-%s-%s" % (
@@ -2605,7 +2605,7 @@ class CommitFlag(BASE):
 
     @property
     def mail_id(self):
-        """Return a unique representation of the flag as string that
+        """Return a unique representation of the flag as a string that
         can be used when sending emails.
         """
         return "%s-commit-%s-%s" % (
--- a/pagure/lib/query.py
+++ b/pagure/lib/query.py
@@ -5841,7 +5841,7 @@ def get_project_family(session, project)
 
 
 def link_pr_issue(session, issue, request, origin="commit"):
-    """Associate the specified issue with the specified pull-requets.
+    """Associate the specified issue with the specified pull-requests.
 
     :arg session: The SQLAlchemy session to use
     :type session: sqlalchemy.orm.session.Session
--- a/pagure/ui/repo.py
+++ b/pagure/ui/repo.py
@@ -2488,7 +2488,7 @@ def renew_api_token(repo, token_id, user
 @is_admin_sess_timedout
 @is_repo_admin
 def revoke_api_token(repo, token_id, username=None, namespace=None):
-    """Revokie a token to a specified project."""
+    """Revoke a token to a specified project."""
 
     repo = flask.g.repo
 
--- a/pagure/utils.py
+++ b/pagure/utils.py
@@ -368,7 +368,7 @@ def get_user_repo_access(repo_obj, usern
 
 
 def login_required(function):
-    """Flask decorator to retrict access to logged in user.
+    """Flask decorator to restrict access to logged in users.
     If the auth system is ``fas`` it will also require that the user sign
     the FPCA.
     """
