Showing the changes to assets/javascripts (2 of 2 files). Show all
Unified · Split
| @@ -6,19 +6,19 @@ error = (title, text = '', links = '') -> · 5 unmodified lines | |||
| 6 | back = '<a href="javascript:history.back()" class="_error-link">Go back</a>' | 6 | back = '<a href="javascript:history.back()" class="_error-link">Go back</a>' |
| 7 | 7 | ||
| 8 | app.templates.notFoundPage = -> | 8 | app.templates.notFoundPage = -> |
| 9 | error """ Oops, that page doesn't exist. """, | 9 | error """ Page not found. """, |
| 10 | """ It may be missing from the source documentation or this could be a bug. """, | 10 | """ It may be missing from the source documentation or this could be a bug. """, |
| 11 | back | 11 | back |
| 12 | 12 | ||
| 13 | app.templates.pageLoadError = -> | 13 | app.templates.pageLoadError = -> |
| 14 | error """ Oops, the page failed to load. """, | 14 | error """ The page failed to load. """, |
| 15 | """ It may be missing from the server (try reloading the app) or you could be offline.<br> | 15 | """ It may be missing from the server (try reloading the app) or you could be offline.<br> |
| 16 | If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain requests. """, | 16 | If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain requests. """, |
| 17 | """ #{back} · <a href="/##{location.pathname}" target="_top" class="_error-link">Reload</a> | 17 | """ #{back} · <a href="/##{location.pathname}" target="_top" class="_error-link">Reload</a> |
| 18 | · <a href="#" class="_error-link" data-retry>Retry</a> """ | 18 | · <a href="#" class="_error-link" data-retry>Retry</a> """ |
| 19 | 19 | ||
| 20 | app.templates.bootError = -> | 20 | app.templates.bootError = -> |
| 21 | error """ Oops, the app failed to load. """, | 21 | error """ The app failed to load. """, |
| 22 | """ Check your Internet connection and try <a href="javascript:location.reload()">reloading</a>.<br> | 22 | """ Check your Internet connection and try <a href="javascript:location.reload()">reloading</a>.<br> |
| 23 | If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain requests. """ | 23 | If you keep seeing this, you're likely behind a proxy or firewall that blocks cross-domain requests. """ |
| 24 | 24 | ||
| @@ -33,7 +33,7 @@ app.templates.offlineError = (reason) -> · 8 unmodified lines | |||
| 33 | """ Unfortunately Safari's implementation of IndexedDB is <a href="https://bugs.webkit.org/show_bug.cgi?id=136937">badly broken</a>.<br> | 33 | """ Unfortunately Safari's implementation of IndexedDB is <a href="https://bugs.webkit.org/show_bug.cgi?id=136937">badly broken</a>.<br> |
| 34 | This message will automatically go away when Apple fix their code. """ | 34 | This message will automatically go away when Apple fix their code. """ |
| 35 | 35 | ||
| 36 | error """ Oops, offline mode is unavailable. """, | 36 | error """ Offline mode is unavailable. """, |
| 37 | """ DevDocs requires IndexedDB to cache documentations for offline access.<br>#{reason} """ | 37 | """ DevDocs requires IndexedDB to cache documentations for offline access.<br>#{reason} """ |
| 38 | 38 | ||
| 39 | app.templates.unsupportedBrowser = """ | 39 | app.templates.unsupportedBrowser = """ |
| @@ -16,7 +16,7 @@ app.templates.notifError = -> · 15 unmodified lines | |||
| 16 | You can also report this issue on <a href="https://github.com/Thibaut/devdocs/issues/new" target="_blank">GitHub</a>. """ | 16 | You can also report this issue on <a href="https://github.com/Thibaut/devdocs/issues/new" target="_blank">GitHub</a>. """ |
| 17 | 17 | ||
| 18 | app.templates.notifQuotaExceeded = -> | 18 | app.templates.notifQuotaExceeded = -> |
| 19 | textNotif """ Oops, the offline database has exceeded its size limitation. """, | 19 | textNotif """ The offline database has exceeded its size limitation. """, |
| 20 | """ 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. """ | 20 | """ 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. """ |
| 21 | 21 | ||
| 22 | app.templates.notifInvalidLocation = -> | 22 | app.templates.notifInvalidLocation = -> |