Skip to content

Commit 1db5a85

Browse files
committed
Tweak error messages
1 parent c2ff01d commit 1db5a85

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

assets/javascripts/templates/error_tmpl.coffee

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ error = (title, text = '', links = '') ->
66
back = '<a href="javascript:history.back()" class="_error-link">Go back</a>'
77

88
app.templates.notFoundPage = ->
9-
error """ Oops, that page doesn't exist. """,
9+
error """ Page not found. """,
1010
""" It may be missing from the source documentation or this could be a bug. """,
1111
back
1212

1313
app.templates.pageLoadError = ->
14-
error """ Oops, the page failed to load. """,
14+
error """ The page failed to load. """,
1515
""" It may be missing from the server (try reloading the app) or you could be offline.<br>
1616
If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain requests. """,
1717
""" #{back} &middot; <a href="/##{location.pathname}" target="_top" class="_error-link">Reload</a>
1818
&middot; <a href="#" class="_error-link" data-retry>Retry</a> """
1919

2020
app.templates.bootError = ->
21-
error """ Oops, the app failed to load. """,
21+
error """ The app failed to load. """,
2222
""" Check your Internet connection and try <a href="javascript:location.reload()">reloading</a>.<br>
2323
If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain requests. """
2424

@@ -33,7 +33,7 @@ app.templates.offlineError = (reason) ->
3333
""" Unfortunately Safari's implementation of IndexedDB is <a href="https://bugs.webkit.org/show_bug.cgi?id=136937">badly broken</a>.<br>
3434
This message will automatically go away when Apple fix their code. """
3535

36-
error """ Oops, offline mode is unavailable. """,
36+
error """ Offline mode is unavailable. """,
3737
""" DevDocs requires IndexedDB to cache documentations for offline access.<br>#{reason} """
3838

3939
app.templates.unsupportedBrowser = """

assets/javascripts/templates/notif_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ app.templates.notifError = ->
1616
You can also report this issue on <a href="https://github.com/Thibaut/devdocs/issues/new" target="_blank">GitHub</a>. """
1717

1818
app.templates.notifQuotaExceeded = ->
19-
textNotif """ Oops, the offline database has exceeded its size limitation. """,
19+
textNotif """ The offline database has exceeded its size limitation. """,
2020
""" Unfortunately this quota can't be detected programmatically, and the database can't be opened while over the quota, so it had to be reset. """
2121

2222
app.templates.notifInvalidLocation = ->

0 commit comments

Comments
 (0)