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
37 """ Your browser appears to be running in private mode.<br>37 """ Your browser appears to be running in private mode.<br>
38 This prevents DevDocs from caching documentations for offline access."""38 This prevents DevDocs from caching documentations for offline access."""
39 when 'exception'39 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>
41 <code class="_label">#{exception.name}: #{exception.message}</code> """41 <code class="_label">#{exception.name}: #{exception.message}</code> """
42 when 'cant_open'42 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>
44 <code class="_label">#{exception.name}: #{exception.message}</code><br>44 <code class="_label">#{exception.name}: #{exception.message}</code><br>
45 This could be because you're browsing in private mode or have disallowed offline storage on the domain. """45 This could be because you're browsing in private mode or have disallowed offline storage on the domain. """
46 when 'version'46 when 'version'
assets/javascripts/templates/notif_tmpl.coffee+2−2
@@ -13,7 +13,7 @@ app.templates.notifUpdateReady = -> · 12 unmodified lines
13 """<span data-behavior="reboot"><a href="#" data-behavior="reboot">Reload the page</a> to use the new version.</span>"""13 """<span data-behavior="reboot"><a href="#" data-behavior="reboot">Reload the page</a> to use the new version.</span>"""
14 14
15app.templates.notifError = ->15app.templates.notifError = ->
16 textNotif """ Oops, an error occured. """,16 textNotif """ Oops, an error occurred. """,
17 """ Try <a href="#" data-behavior="hard-reload">reloading</a>, and if the problem persists,17 """ Try <a href="#" data-behavior="hard-reload">reloading</a>, and if the problem persists,
18 <a href="#" data-behavior="reset">resetting the app</a>.<br>18 <a href="#" data-behavior="reset">resetting the app</a>.<br>
19 You can also report this issue on <a href="https://github.com/Thibaut/devdocs/issues/new" target="_blank" rel="noopener">GitHub</a>. """19 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
31 """ Otherwise things are likely to break. """31 """ Otherwise things are likely to break. """
32 32
33app.templates.notifImportInvalid = ->33app.templates.notifImportInvalid = ->
34 textNotif """ Oops, an error occured. """,34 textNotif """ Oops, an error occurred. """,
35 """ The file you selected is invalid. """35 """ The file you selected is invalid. """
36 36
37app.templates.notifNews = (news) ->37app.templates.notifNews = (news) ->