From 2e63d0a81a2ad455c21831795e7d045c6eb54e76 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Sat, 7 Sep 2019 12:38:01 +0200 Subject: [PATCH] Modified PR to add translations, move the html file and change styles --- assets/html/javascript.html | 54 ++++++++++++++++++++++++++++++++ assets/javascript.html | 54 -------------------------------- default.hbs | 8 ++--- 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 | 6 ++-- src/sass/components/_footer.scss | 5 +++ 16 files changed, 87 insertions(+), 72 deletions(-) create mode 100644 assets/html/javascript.html delete mode 100644 assets/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/assets/javascript.html b/assets/javascript.html deleted file mode 100644 index dff8ff3..0000000 --- a/assets/javascript.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 8f085ef..50185f2 100644 --- a/default.hbs +++ b/default.hbs @@ -23,13 +23,13 @@ {{!-- 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..189bcf5 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 sulla licenza 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 6a59760..85f0f9b 100644 --- a/partials/footer.hbs +++ b/partials/footer.hbs @@ -22,8 +22,8 @@ This footer template is shared across all the pages. {{/if}} - + 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;