Browse Source

meta(typo): Fix multiple typos (#15197)

* fix: Fix multiple typos

Fixes typos in comments, string literals, test names, etc.

* Revert intentional typo

Revert localhost -> lolcalhost

* Update src/sentry/db/models/query.py

Co-Authored-By: Alberto Leal <mail4alberto@gmail.com>
Co-Authored-By: Min ho Kim
Billy Vong 5 years ago
parent
commit
6589c16bdb

+ 1 - 1
CHANGES

@@ -273,7 +273,7 @@ Version 8.18
 - Removed support for global dsyms.
 - Moved Queue admin page to React.
 - Replaced usage of jQuery Flot library with internal graphs.
-- Expanded ignore actions to include deltas and rates for both occurances and
+- Expanded ignore actions to include deltas and rates for both occurrences and
   users impacted.
 - Add a new option (`auth.allow-registration`) for determining whether registration
   is allowed on an installation.

+ 1 - 1
docs-ui/components/form.stories.js

@@ -401,7 +401,7 @@ storiesOf('Forms|Fields', module)
   )
   .add(
     'Without a parent Form',
-    withInfo('New form fields used withing having a parent Form')(() => {
+    withInfo('New form fields used without having a parent Form')(() => {
       return (
         <div>
           <TextField

+ 1 - 1
docs-ui/components/getDynamicText.stories.js

@@ -9,7 +9,7 @@ storiesOf('Utility|getDynamicText', module).add(
   withInfo(
     `
     Use this to wrap dynamic content (i.e. dates) for acceptance/snapshot tests.
-    Currently checks for existance of PERCY_TOKEN env var.
+    Currently checks for existence of PERCY_TOKEN env var.
     (storybook webpack config has webpack.DefinePlugin for "process.env.IS_PERCY")
     `
   )(() => {

+ 1 - 1
src/debug_toolbar/settings.py

@@ -157,7 +157,7 @@ def check_middleware():
         warnings.warn(
             "Please use an explicit setup with the "
             "debug_toolbar.middleware.DebugToolbarMiddleware "
-            "after django.middleware.gzip.GZipMiddlware "
+            "after django.middleware.gzip.GZipMiddleware "
             "in MIDDLEWARE_CLASSES.",
             Warning,
         )

+ 1 - 1
src/sentry/api/endpoints/group_integration_details.py

@@ -245,7 +245,7 @@ class GroupIntegrationDetailsEndpoint(GroupEndpoint):
         if not self._has_issue_feature(group.organization, request.user):
             return Response({"detail": MISSING_FEATURE_MESSAGE}, status=400)
 
-        # note here externalIssue refers to `ExternalIssue.id` wheras above
+        # note here externalIssue refers to `ExternalIssue.id` whereas above
         # it refers to the id from the provider
         external_issue_id = request.GET.get("externalIssue")
         if not external_issue_id:

+ 1 - 1
src/sentry/api/endpoints/project_processingissues.py

@@ -15,7 +15,7 @@ from sentry.utils.http import absolute_uri
 class ProjectProcessingIssuesDiscardEndpoint(ProjectEndpoint):
     def delete(self, request, project):
         """
-        This dicards all open processing issues
+        This discards all open processing issues
         """
         ProcessingIssue.objects.discard_all_processing_issue(project=project)
         return Response(status=200)

+ 1 - 1
src/sentry/api/endpoints/project_reprocessing.py

@@ -11,7 +11,7 @@ class ProjectReprocessingEndpoint(ProjectEndpoint):
 
     def post(self, request, project):
         """
-        Triggers the reporcessing process as a task
+        Triggers the reprocessing process as a task
         """
         trigger_reprocessing(project)
         return Response(status=200)

+ 1 - 1
src/sentry/api/endpoints/project_user_reports.py

@@ -122,7 +122,7 @@ class ProjectUserReportsEndpoint(ProjectEndpoint, EnvironmentMixin):
 
         report = serializer.validated_data
 
-        # XXX(dcramer): enforce case insensitivty by coercing this to a lowercase string
+        # XXX(dcramer): enforce case insensitivity by coercing this to a lowercase string
         report["event_id"] = report["event_id"].lower()
         report["project"] = project
 

+ 1 - 1
src/sentry/api/endpoints/shared_group_details.py

@@ -24,7 +24,7 @@ class SharedGroupDetailsEndpoint(Endpoint, EnvironmentMixin):
 
             {method} {path}
 
-        Note: This is not the equivilant of what you'd receive with the standard
+        Note: This is not the equivalent of what you'd receive with the standard
         group details endpoint. Data is more restrictive and designed
         specifically for sharing.
 

+ 1 - 1
src/sentry/api/endpoints/user_authenticator_details.py

@@ -140,7 +140,7 @@ class UserAuthenticatorDetailsEndpoint(UserEndpoint):
             authenticator.delete()
 
             # if we delete an actual authenticator and all that
-            # remainds are backup interfaces, then we kill them in the
+            # remains are backup interfaces, then we kill them in the
             # process.
             if not interface.is_backup_interface:
                 interfaces = Authenticator.objects.all_interfaces_for_user(user)

Some files were not shown because too many files changed in this diff