a whole bunch of translations and whatever

This commit is contained in:
Nicky Case 2018-05-20 11:47:00 -04:00
parent cd8c385f5b
commit 86d010b906
15 changed files with 54 additions and 20 deletions

View File

@ -50,6 +50,7 @@ so that others know you're working on it!]**
[简体中文](http://ncase.me/crowds/zh-CN.html)
[繁體中文](http://ncase.me/crowds/zh-TW.html)
[日本語](http://ncase.me/crowds/ja.html)
[Español (Mexicano)](http://ncase.me/crowds/es-MX.html)
**Step 1)** Clone this repo!

View File

@ -46,6 +46,19 @@ Good luck, and thanks again!
<meta charset="utf-8">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
<link rel="alternate" href="http://ncase.me/crowds/pt.html" hreflang="pt">
<link rel="alternate" href="http://ncase.me/crowds/ru.html" hreflang="ru">
<link rel="alternate" href="http://ncase.me/crowds/uk.html" hreflang="uk">
<link rel="alternate" href="http://ncase.me/crowds/vi.html" hreflang="vi">
<link rel="alternate" href="http://ncase.me/crowds/zh-CN.html" hreflang="zh-CN">
<link rel="alternate" href="http://ncase.me/crowds/zh-TW.html" hreflang="zh-TW">
<!-- Sharing -->
<meta itemprop="name" content="La Sabiduría y/o Locura de las Masas"> <!-- content="(TRANSLATE this part only)" -->
<meta itemprop="description" content="una guía interactiva a las redes humanas"> <!-- content="(TRANSLATE this part only)" -->
@ -61,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="La Sabiduría y/o Locura de las Masas"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="una guía interactiva a las redes humanas"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/es-MX.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

14
es.html
View File

@ -45,7 +45,19 @@ Good luck, and thanks again!
<meta content="utf-8" http-equiv="encoding">
<meta charset="utf-8">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
<link rel="alternate" href="http://ncase.me/crowds/pt.html" hreflang="pt">
<link rel="alternate" href="http://ncase.me/crowds/ru.html" hreflang="ru">
<link rel="alternate" href="http://ncase.me/crowds/uk.html" hreflang="uk">
<link rel="alternate" href="http://ncase.me/crowds/vi.html" hreflang="vi">
<link rel="alternate" href="http://ncase.me/crowds/zh-CN.html" hreflang="zh-CN">
<link rel="alternate" href="http://ncase.me/crowds/zh-TW.html" hreflang="zh-TW">
<!-- Sharing -->
<meta itemprop="name" content="La sabiduría y/o locura de las masas"> <!-- content="(TRANSLATE this part only)" -->

View File

@ -48,6 +48,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -73,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="La sagesse et/ou folie des foules"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="un guide interactif des réseaux humains"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/fr.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

View File

@ -240,9 +240,9 @@ Good luck, and thanks again!
<script src="js/slideshow/Navigation.js"></script>
<script src="js/slideshow/SimUI.js"></script>
<script src="js/slideshow/SandboxUI.js"></script>
<script src="js/slideshow/Modal.js"></script>
<script src="js/slideshow/Modal.js?v=5"></script>
<script src="js/slideshow/Preloader.js"></script>
<script src="js/slideshow/Translations.js?v=4"></script>
<script src="js/slideshow/Translations.js?v=5"></script>
<script src="js/sim/Peep.js?v=2"></script>
<script src="js/sim/Connection.js"></script>

View File

@ -48,6 +48,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -73,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="La saggezza e la follia delle masse"> <!-- content="(TRANSLATED)" -->
<meta property="og:description" content="una guida interattiva alle reti sociali"> <!-- content="(TRANSLATED)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/it.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

View File

@ -48,6 +48,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -73,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="群衆の英知もしくは狂気"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="人のつながりに関するインタラクティブなガイド"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/ja.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

View File

@ -110,9 +110,6 @@ subscribe("modal/translations", function(){
html += "<div style='height:12px'></div>";
html += _createLinks(" · ");
// ar
html += " · <a href='http://alexanderclay.github.io/crowds/ar.html' style='text-decoration:none'>العربية</a>";
$("#modal_content").innerHTML = html;
// Show in large box

View File

@ -40,10 +40,7 @@ r.onreadystatechange = function () {
html += " <a target='_blank' href='"+window.ADD_YOUR_OWN_LINK+"'>"+getWords("translations_add")+"</a>";
html += " | ";
html += _createLinks(" · ");
// ar
html += " · <a href='http://alexanderclay.github.io/crowds/ar.html' style='text-decoration:none'>العربية</a>";
$("#translations").innerHTML = html;
}
@ -51,6 +48,7 @@ r.onreadystatechange = function () {
r.send();
function _createLinks(separator){
var html = "";
for(var i=0; i<TRANSLATIONS.length; i++){
var t = TRANSLATIONS[i];
@ -61,5 +59,9 @@ function _createLinks(separator){
html += t.lang;
html += "</a>";
}
// Hardcoding the external Arabic translation, oh well
html += " · <a href='http://alexanderclay.github.io/crowds' style='text-decoration:none'>العربية</a>";
return html;
}

View File

@ -48,6 +48,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -73,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="A Sabedoria e/ou Loucura das Multidões"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="um guia interativo das relações humanas"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/pt.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

View File

@ -47,6 +47,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -72,7 +73,7 @@ Good luck, and thanks again!
<meta property="og:title" content="Мудрость и/или безумие толп"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="интерактивное пособие по сетям человеческих взаимоотношений"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/ru.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

View File

@ -48,6 +48,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -73,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="Мудрість та/або Безумство юрби"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="інтерактивний посібник з людських мереж"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/uk.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

View File

@ -48,6 +48,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -73,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="Sự khôn ngoan và/hay sự điên cuồng của đám đông"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="Một trò chơi tương tác giải thích về mạng lưới xã hội của con người"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/vi.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

View File

@ -48,6 +48,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -73,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="群体的智慧与愚蠢"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="人际网络互动指南"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/zh-CN.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->

View File

@ -48,6 +48,7 @@ Good luck, and thanks again!
<link rel="alternate" href="http://ncase.me/crowds/" hreflang="en">
<link rel="alternate" href="http://ncase.me/crowds/es.html" hreflang="es-ES">
<link rel="alternate" href="http://ncase.me/crowds/es-MX.html" hreflang="es-MX">
<link rel="alternate" href="http://ncase.me/crowds/fr.html" hreflang="fr">
<link rel="alternate" href="http://ncase.me/crowds/it.html" hreflang="it">
<link rel="alternate" href="http://ncase.me/crowds/ja.html" hreflang="ja">
@ -73,7 +74,7 @@ Good luck, and thanks again!
<meta property="og:title" content="The Wisdom and/or Madness of Crowds"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:description" content="an interactive guide to human networks"> <!-- content="(TRANSLATE this part only)" -->
<meta property="og:type" content="website">
<meta property="og:url" content="http://ncase.me/crowds/">
<meta property="og:url" content="http://ncase.me/crowds/zh-TW.html">
<meta property="og:image" content="http://ncase.me/crowds/social/thumb.png">
<!-- Styles -->