Merge pull request #58 from AlexanderClay/patch-2

Hardcode link to Arabic (ar) repo #26
This commit is contained in:
Nicky Case 2018-05-20 11:32:47 -04:00 committed by GitHub
commit cd8c385f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

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

View File

@ -40,6 +40,10 @@ r.onreadystatechange = function () {
html += " <a target='_blank' href='"+window.ADD_YOUR_OWN_LINK+"'>"+getWords("translations_add")+"</a>"; html += " <a target='_blank' href='"+window.ADD_YOUR_OWN_LINK+"'>"+getWords("translations_add")+"</a>";
html += " | "; html += " | ";
html += _createLinks(" · "); html += _createLinks(" · ");
// ar
html += " · <a href='http://alexanderclay.github.io/crowds/ar.html' style='text-decoration:none'>العربية</a>";
$("#translations").innerHTML = html; $("#translations").innerHTML = html;
} }
@ -58,4 +62,4 @@ function _createLinks(separator){
html += "</a>"; html += "</a>";
} }
return html; return html;
} }