History

fix misspelled "occured" to "occurred"

Kyan committed 8 years ago

Commit df0f5861 parent 28aeb112 files · +4 −4Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/error_tmpl.coffee +2 −2
  2. assets/javascripts/templates/notif_tmpl.coffee +2 −2
assets/javascripts/templates/error_tmpl.coffee+2−2
@@ -37,10 +37,10 @@ app.templates.offlineError = (reason, exception) -> · 36 unmodified lines
3737 """ Your browser appears to be running in private mode.<br>
3838 This prevents DevDocs from caching documentations for offline access."""
3939 when 'exception'
40− """ An error occured when trying to open the IndexedDB database:<br>
40+ """ An error occurred when trying to open the IndexedDB database:<br>
4141 <code class="_label">#{exception.name}: #{exception.message}</code> """
4242 when 'cant_open'
43− """ An error occured when trying to open the IndexedDB database:<br>
43+ """ An error occurred when trying to open the IndexedDB database:<br>
4444 <code class="_label">#{exception.name}: #{exception.message}</code><br>
4545 This could be because you're browsing in private mode or have disallowed offline storage on the domain. """
4646 when 'version'
assets/javascripts/templates/notif_tmpl.coffee+2−2
@@ -13,7 +13,7 @@ app.templates.notifUpdateReady = -> · 12 unmodified lines
1313 """<span data-behavior="reboot"><a href="#" data-behavior="reboot">Reload the page</a> to use the new version.</span>"""
1414
1515 app.templates.notifError = ->
16− textNotif """ Oops, an error occured. """,
16+ textNotif """ Oops, an error occurred. """,
1717 """ Try <a href="#" data-behavior="hard-reload">reloading</a>, and if the problem persists,
1818 <a href="#" data-behavior="reset">resetting the app</a>.<br>
1919 You can also report this issue on <a href="https://github.com/Thibaut/devdocs/issues/new" target="_blank" rel="noopener">GitHub</a>. """
@@ -31,7 +31,7 @@ app.templates.notifInvalidLocation = -> · 11 unmodified lines
3131 """ Otherwise things are likely to break. """
3232
3333 app.templates.notifImportInvalid = ->
34− textNotif """ Oops, an error occured. """,
34+ textNotif """ Oops, an error occurred. """,
3535 """ The file you selected is invalid. """
3636
3737 app.templates.notifNews = (news) ->