This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
collaborate [2016/09/27 10:27] liz [Collaborative work] |
collaborate [2017/03/23 15:00] (current) liz [Motion detect] |
||
---|---|---|---|
Line 15: | Line 15: | ||
</code> | </code> | ||
+ | ===== Languages ===== | ||
+ | |||
+ | Currently languages are catered for by phrase files that simple swap english words for those in a selected language. Please update or improve any files as needed. | ||
+ | * [[lang:de|]] - German | ||
+ | * [[lang:fr|]] - French | ||
+ | * [[lang:it|]] - Italian | ||
+ | * [[lang:nl|]] - Dutch | ||
+ | |||
+ | You can also add a new language if you like using the same format. Changes made will merge into the system within 24 hours. | ||
+ | |||
+ | We aim to also use your selected language for the options page so expect a new batch of words to be added for translation in the next week. | ||
===== beforeunload event to the task page ===== | ===== beforeunload event to the task page ===== | ||
Guess to do this will need a change to the body html: | Guess to do this will need a change to the body html: | ||
Line 24: | Line 35: | ||
<code> | <code> | ||
<script> | <script> | ||
+ | var ended = false; | ||
function exittask() { | function exittask() { | ||
+ | if (ended == false) { | ||
return "Are you sure you want to leave - if task not finished, Jennifers mood will drop!"; | return "Are you sure you want to leave - if task not finished, Jennifers mood will drop!"; | ||
+ | } | ||
} | } | ||
</script> | </script> |