Merge branch 'master' into master

This commit is contained in:
Nicky Case 2018-05-05 09:04:16 +01:00 committed by GitHub
commit 6394b5c223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 1971 additions and 283 deletions

562
fr.html

File diff suppressed because it is too large Load Diff

View File

@ -230,7 +230,7 @@ Good luck, and thanks again!
<script src="js/slideshow/SandboxUI.js"></script>
<script src="js/slideshow/Modal.js"></script>
<script src="js/slideshow/Preloader.js"></script>
<script src="js/slideshow/Translations.js?v=3"></script>
<script src="js/slideshow/Translations.js?v=4"></script>
<script src="js/sim/Peep.js?v=2"></script>
<script src="js/sim/Connection.js"></script>

View File

@ -233,6 +233,7 @@ SLIDES.push(
{
remove:[
{type:"box", id:"complex_cascade"},
{type:"box", id:"complex_cascade_feel_free"},
{type:"box", id:"end"}
],
move:[

View File

@ -12,12 +12,12 @@ r.onreadystatechange = function () {
var response = r.responseText;
var lines = response.split("\n");
var available = lines.filter(function(line){
return (/^\w\w\:?\s+(.+)/).test(line); // ww: wwwwww
return (/^[a-z]{2}(?:-[A-Z]{2})?\:?\s+(.+)/).test(line); // ww: wwwwww
});
for(var i=0; i<available.length; i++){
var a = available[i];
var code = a.match(/\w\w/)[0];
var lang = a.match(/^\w\w\:?\s+(.+)/)[1];
var code = a.match(/[a-z]{2}(?:-[A-Z]{2})?/)[0];
var lang = a.match(/^[a-z]{2}(?:-[A-Z]{2})?\:?\s+(.+)/)[1];
if(code=="en") continue; // English is just an example
TRANSLATIONS.push({
code: code,

1681
pt.html Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@ -28,7 +28,7 @@
/////////////////////////////
en: English
=======
pt: Português
it: Italiano
fr: Français
es: Español (Castellano)