From 11a8915d20b0525ee6561ac7f7ce56ebd61101ab Mon Sep 17 00:00:00 2001 From: Alex Clay Date: Wed, 16 May 2018 17:44:35 -0400 Subject: [PATCH 1/2] add link to Arabic repo --- js/slideshow/Modal.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/slideshow/Modal.js b/js/slideshow/Modal.js index 97d2376..25cd17a 100644 --- a/js/slideshow/Modal.js +++ b/js/slideshow/Modal.js @@ -109,6 +109,10 @@ subscribe("modal/translations", function(){ html += " "+getWords("translations_original")+""; html += "
"; html += _createLinks(" · "); + + // ar + html += " · العربية"; + $("#modal_content").innerHTML = html; // Show in large box From 468487bef2c89b3fccf9dc6657fda623f8a0f8a1 Mon Sep 17 00:00:00 2001 From: Alex Clay Date: Wed, 16 May 2018 17:46:07 -0400 Subject: [PATCH 2/2] hardcode arabic link in Translation.js --- js/slideshow/Translations.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/slideshow/Translations.js b/js/slideshow/Translations.js index 41ef4d0..24f726a 100644 --- a/js/slideshow/Translations.js +++ b/js/slideshow/Translations.js @@ -40,6 +40,10 @@ r.onreadystatechange = function () { html += " "+getWords("translations_add")+""; html += " | "; html += _createLinks(" · "); + + // ar + html += " · العربية"; + $("#translations").innerHTML = html; } @@ -58,4 +62,4 @@ function _createLinks(separator){ html += ""; } return html; -} \ No newline at end of file +}