Showing the changes to assets/javascripts (2 of 2 files). Show all
Unified · Split
| @@ -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' |
| @@ -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 | ||
| 15 | app.templates.notifError = -> | 15 | app.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 | ||
| 33 | app.templates.notifImportInvalid = -> | 33 | app.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 | ||
| 37 | app.templates.notifNews = (news) -> | 37 | app.templates.notifNews = (news) -> |