1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-26 04:52:43 +00:00

Add Dutch language to files outside language dir

This commit is contained in:
Maxime van der Smissen
2023-07-13 19:09:52 +02:00
parent f815769ee2
commit 7a511fd4e0
4 changed files with 9 additions and 0 deletions

View File

@@ -91,6 +91,12 @@ jobs:
--run-all-compositor-stages-before-draw --print-to-pdf="${{ github.workspace }}/dist/fr.pdf" \
http://127.0.0.1:8080/fr/a-imprimer/index.html
- name: (NL) Generate PDF from HTML
run: |
google-chrome --headless --print-to-pdf-no-header \
--run-all-compositor-stages-before-draw --print-to-pdf="${{ github.workspace }}/dist/nl.pdf" \
http://127.0.0.1:8080/nl/afdrukbaar/index.html
- name: List dist
run: ls -la ${{ github.workspace }}/dist

View File

@@ -3,6 +3,7 @@ module.exports = exports = [
require('../public/de/_concat.json'),
require('../public/en/_concat.json'),
require('../public/es/_concat.json'),
require('../public/nl/_concat.json'),
require('../public/pt/_concat.json'),
require('../public/fr/_concat.json'),
require('../public/hu/_concat.json'),

View File

@@ -26,6 +26,7 @@ const str2locale = {
'pl': dateFNSLocales.pl,
'pt': dateFNSLocales.pt,
'es': dateFNSLocales.es,
'nl': dateFNSLocales.nl,
};
const markdownEngines = {

View File

@@ -7,4 +7,5 @@
<a href="/pl/" class="{{#is page.lang 'pl'}}active {{/is}}dropdown-item">polski (Polish)</a>
<a href="/pt/" class="{{#is page.lang 'pt'}}active {{/is}}dropdown-item">Português (Portuguese)</a>
<a href="/es/" class="{{#is page.lang 'pt'}}active {{/is}}dropdown-item">Español (Spanish)</a>
<a href="/nl/" class="{{#is page.lang 'pt'}}active {{/is}}dropdown-item">Nederlands (Dutch)</a>
</div>