diff --git a/assets/javascripts/templates/error_tmpl.coffee b/assets/javascripts/templates/error_tmpl.coffee
index 9dc311d9..9c19c0a6 100644
--- a/assets/javascripts/templates/error_tmpl.coffee
+++ b/assets/javascripts/templates/error_tmpl.coffee
@@ -37,10 +37,10 @@ app.templates.offlineError = (reason, exception) ->
""" Your browser appears to be running in private mode.
This prevents DevDocs from caching documentations for offline access."""
when 'exception'
- """ An error occured when trying to open the IndexedDB database:
+ """ An error occurred when trying to open the IndexedDB database:
#{exception.name}: #{exception.message}
"""
when 'cant_open'
- """ An error occured when trying to open the IndexedDB database:
+ """ An error occurred when trying to open the IndexedDB database:
#{exception.name}: #{exception.message}
This could be because you're browsing in private mode or have disallowed offline storage on the domain. """
when 'version'
diff --git a/assets/javascripts/templates/notif_tmpl.coffee b/assets/javascripts/templates/notif_tmpl.coffee
index 0cd8531c..1cc17ff6 100644
--- a/assets/javascripts/templates/notif_tmpl.coffee
+++ b/assets/javascripts/templates/notif_tmpl.coffee
@@ -13,7 +13,7 @@ app.templates.notifUpdateReady = ->
"""Reload the page to use the new version."""
app.templates.notifError = ->
- textNotif """ Oops, an error occured. """,
+ textNotif """ Oops, an error occurred. """,
""" Try reloading, and if the problem persists,
resetting the app.
You can also report this issue on GitHub. """
@@ -31,7 +31,7 @@ app.templates.notifInvalidLocation = ->
""" Otherwise things are likely to break. """
app.templates.notifImportInvalid = ->
- textNotif """ Oops, an error occured. """,
+ textNotif """ Oops, an error occurred. """,
""" The file you selected is invalid. """
app.templates.notifNews = (news) ->