From 8dc11bf075bfe5a70dd68e1f2e10dfcc0d790506 Mon Sep 17 00:00:00 2001 From: inknos Date: Sat, 7 Sep 2019 13:24:30 +0200 Subject: [PATCH] Javascript License Table (#39) * added javascript license table * Modified PR to add translations, move the html file and change styles * Small plural error it.json --- assets/html/javascript.html | 54 ++++++++++++++++++++++++++++++++ default.hbs | 4 +++ locales/bg.json | 3 +- locales/de-informal.json | 3 +- locales/de.json | 3 +- locales/en.json | 3 +- locales/es.json | 3 +- locales/fr-informal.json | 3 +- locales/fr.json | 3 +- locales/it.json | 3 +- locales/pt.json | 3 +- locales/vi.json | 3 +- package.json | 2 +- partials/footer.hbs | 4 +++ src/sass/components/_footer.scss | 5 +++ 15 files changed, 88 insertions(+), 11 deletions(-) create mode 100644 assets/html/javascript.html diff --git a/assets/html/javascript.html b/assets/html/javascript.html new file mode 100644 index 0000000..0fc1118 --- /dev/null +++ b/assets/html/javascript.html @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Javascript fileLicense canonical URLOriginal file
manifest.jsExpatmanifest.js
polyfill.jsExpatpolyfill.js
app.jsExpatapp.js
vendor.jsExpatvendor.js
home.jsExpathome.js
page.jsExpatpage.js
post.jsExpatpost.js
webfont.jsApache-2.0webfont.js
diff --git a/default.hbs b/default.hbs index 5df2d96..50185f2 100644 --- a/default.hbs +++ b/default.hbs @@ -22,11 +22,14 @@ {{!-- This variable is used to make the search form work --}} {{!-- This script loads the Google fornt asynchronously --}} diff --git a/locales/bg.json b/locales/bg.json index aca542c..cf55474 100644 --- a/locales/bg.json +++ b/locales/bg.json @@ -34,5 +34,6 @@ "Among with": "
Сред с ", "Among with no break line": "Сред с ", "Type to search": "Въведете за търсене", - "No results for your search, try something different.": "Няма резултати за твоето търсене, опитай с нещо различно." + "No results for your search, try something different.": "Няма резултати за твоето търсене, опитай с нещо различно.", + "JavaScript license information": "Информация за лиценз на JavaScript" } diff --git a/locales/de-informal.json b/locales/de-informal.json index 489abb6..259c1a1 100644 --- a/locales/de-informal.json +++ b/locales/de-informal.json @@ -34,5 +34,6 @@ "Among with": "
zusammen mit ", "Among with no break line": "zusammen mit ", "Type to search": "Schreiben um zu suchen", - "No results for your search, try something different.": "Keine Ergebnisse für deine Suche gefunden, versuche es mit etwas anderem." + "No results for your search, try something different.": "Keine Ergebnisse für deine Suche gefunden, versuche es mit etwas anderem.", + "JavaScript license information": "JavaScript-Lizenzinformationen" } diff --git a/locales/de.json b/locales/de.json index f842597..1a7c8c0 100644 --- a/locales/de.json +++ b/locales/de.json @@ -34,5 +34,6 @@ "Among with": "
zusammen mit ", "Among with no break line": "zusammen mit ", "Type to search": "Schreiben Sie um zu suchen", - "No results for your search, try something different.": "Keine Ergebnisse für Ihre Suche gefunden, versuchen Sie es mit etwas anderem." + "No results for your search, try something different.": "Keine Ergebnisse für Ihre Suche gefunden, versuchen Sie es mit etwas anderem.", + "JavaScript license information": "JavaScript-Lizenzinformationen" } diff --git a/locales/en.json b/locales/en.json index ff2dc50..1bd4453 100644 --- a/locales/en.json +++ b/locales/en.json @@ -34,5 +34,6 @@ "Among with": "
Among with ", "Among with no break line": "Among with ", "Type to search": "Type to search", - "No results for your search, try something different.": "No results for your search, try something different." + "No results for your search, try something different.": "No results for your search, try something different.", + "JavaScript license information": "JavaScript license information" } diff --git a/locales/es.json b/locales/es.json index 8b59267..b76de60 100644 --- a/locales/es.json +++ b/locales/es.json @@ -34,5 +34,6 @@ "Among with": "
Junto con ", "Among with no break line": "Junto con ", "Type to search": "Escribe para buscar", - "No results for your search, try something different.": "No hay resultados para tu búsqueda, prueba algo diferente." + "No results for your search, try something different.": "No hay resultados para tu búsqueda, prueba algo diferente.", + "JavaScript license information": "Información de licencia JavaScript" } diff --git a/locales/fr-informal.json b/locales/fr-informal.json index 78c17f4..6e10af1 100644 --- a/locales/fr-informal.json +++ b/locales/fr-informal.json @@ -34,5 +34,6 @@ "Among with": "
Avec ", "Among with no break line": "Avec ", "Type to search": "Écris pour rechercher", - "No results for your search, try something different.": "Pas de résultat pour ta recherche, essaie autre chose." + "No results for your search, try something different.": "Pas de résultat pour ta recherche, essaie autre chose.", + "JavaScript license information": "Informations sur la licence JavaScript" } diff --git a/locales/fr.json b/locales/fr.json index 8750cd3..52e6d85 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -34,5 +34,6 @@ "Among with": "
Avec ", "Among with no break line": "Avec ", "Type to search": "Écrivez pour rechercher", - "No results for your search, try something different.": "Pas de résultat pour votre recherche, essayez autre chose." + "No results for your search, try something different.": "Pas de résultat pour votre recherche, essayez autre chose.", + "JavaScript license information": "Informations sur la licence JavaScript" } diff --git a/locales/it.json b/locales/it.json index f4f53ce..28aa7d0 100644 --- a/locales/it.json +++ b/locales/it.json @@ -34,5 +34,6 @@ "Among with": "
Insieme a ", "Among with no break line": "Insieme a ", "Type to search": "Cerca", - "No results for your search, try something different.": "Nessun risultato, prova con qualcos'altro." + "No results for your search, try something different.": "Nessun risultato, prova con qualcos'altro.", + "JavaScript license information": "Informazioni sulle licenze JavaScript" } diff --git a/locales/pt.json b/locales/pt.json index 024ae2b..19e607f 100644 --- a/locales/pt.json +++ b/locales/pt.json @@ -34,5 +34,6 @@ "Among with": "
Junto com ", "Among with no break line": "Junto com ", "Type to search": "Escreve para pesquisar", - "No results for your search, try something different.": "Não há resultados para a tua pesquisa, tenta algo diferente." + "No results for your search, try something different.": "Não há resultados para a tua pesquisa, tenta algo diferente.", + "JavaScript license information": "Informações sobre a licença JavaScript" } diff --git a/locales/vi.json b/locales/vi.json index 7c7df08..220f1ba 100644 --- a/locales/vi.json +++ b/locales/vi.json @@ -34,5 +34,6 @@ "Among with": "
Cùng với ", "Among with no break line": "Cùng với ", "Type to search": "Nhập để tìm kiếm", - "No results for your search, try something different.": "Không tìm thấy kết quả, bạn hãy thử một từ khác nhé" + "No results for your search, try something different.": "Không tìm thấy kết quả, bạn hãy thử một từ khác nhé", + "JavaScript license information": "Thông tin giấy phép JavaScript" } diff --git a/package.json b/package.json index 39763f4..35304fa 100644 --- a/package.json +++ b/package.json @@ -54,5 +54,5 @@ "desktop": "assets/screenshot-desktop.jpg", "mobile": "assets/screenshot-mobile.jpg" }, - "version": "0.3.0" + "version": "0.3.1" } diff --git a/partials/footer.hbs b/partials/footer.hbs index 7174c53..85f0f9b 100644 --- a/partials/footer.hbs +++ b/partials/footer.hbs @@ -9,6 +9,7 @@ This footer template is shared across all the pages.   •   {{t "Published with"}} Ghost

+ + diff --git a/src/sass/components/_footer.scss b/src/sass/components/_footer.scss index dcf79f8..226cb8d 100644 --- a/src/sass/components/_footer.scss +++ b/src/sass/components/_footer.scss @@ -36,12 +36,17 @@ } } } + + &.jslicense { + margin-bottom: 0; + } } .m-footer-social { display: flex; align-items: center; justify-content: center; + margin-bottom: 20px; a { display: inline-block;