100 Commits

Author SHA1 Message Date
Jocelyn Badgley
524d321369
added ru to date locales 2024-10-06 11:02:18 -07:00
blankie
166c9614e4
Fix links to headers with symbols (#147) 2024-01-07 10:01:48 -08:00
MaximevanderSmissen
2445cc2199
Dutch translation (#136)
* Add folder for Dutch translation with images

Copied images from English version.
No changes were made at all, _titlecard.png should be changed!

* Add Dutch language to files outside language dir

* Add Dutch nonpage language files and index page

Added files to public/nl/ dir:
  _concat.json
  _disclaimer.hbs
  _menu.hbs
  _strings.js
  index.md

* Add first Dutch pages

Pages:
  wat-is-gender (what-is-gender)
  geschiedenis (history)
  euforie (euphoria)
  fysieke-dysforie (physical-dysphoria)

* Suggestion: Add link for androgyne gender

Add link for androgyne gender to the what-is-gender pages for the
following languages:
  English
  Dutch
  French
  Hungarian
  Portuguese
Missing for languages:
  Chinese (zh)
  German (de)
  Polish (pl)
  Spanish (es)

* Add empty files to enable the build to run

* Add language tags and fix language-menu

Added the 'lang' tag to all .md files for the Dutch language
Fixed bug where Dutch line in language-menu was set to Portuguese class

* Fix language-menu bug for Spanish language

Fixed bug where Spanish line in language-menu was set to Portuguese class

* Update TWEET_DATE_FORMAT

Shortened month (LLL) already contains a period, remove double period

* Complete and review Dutch biochemical-dysphoria

* Add&review Dutch translation for social-dysphoria

* Fix contibution link in disclaimer

Link to contributions page was wrongfully translated

* Add&review Dutch translation of societal-dysphoria

* Add&review Dutch translation for sexual-dysphoria

* Fix broken link to next page

Link to next page (presentationele-dysforie) was broken on newly
translated page (seksuele-dysforie)

* Add&review Dutch translation of presentational-dysphoria

* Add comments for broken link

The presentational-dysphoria page contains a broken YouTube link.
This commit adds HTML comments to the Dutch and English pages notifying
about the broken link.
Should be reverted when
https://github.com/GenderDysphoria/GenderDysphoria.fyi/issues/139 is
fixed.

* Add&review Dutch existential-dysphoria page

* Add&review Dutch managed-dysphoria page

Also rename dutch page file and rename links to the page

* Check translated Dutch files for mixups

Sometimes 'gender' and 'sex' were wrongfully interchanged during
translation.
Fix these mixups for the following pages:
- index.md (index.md)
- wat-is-gender.md (what-is-gender.md)
- geschiedenis.md (history.md)
- euforie.md (euphoria.md)
- fysieke-dysforie.md (physical-dysphoria.md)
- biochemische-dysforie.md (biochemical-dysphoria.md)
- sociale-dysforie.md (social-dysphoria.md)
- maatschappelijke-dysforie.md (societal-dysphoria.md)
- seksuele-dysforie.md (sexual-dysphoria.md)
- presentationele-dysforie.md (presentational-dysphoria.md)
- existentiele-dysforie.md (existential-dysphoria.md)
- beheerste-dysforie.md (managed-dysphoria.md)

* Add&review Dutch impostor-syndrome page

* Add the Dutch translation for the am-i-trans page

Warning! This page hasn't been reviewed yet!

* Add & review Dutch translation for diagnoses page

* Revert "Add comments for broken link"

This reverts commit 6692acb9f7d13663036b1e210584f844e7077046.

* Update broken link in Dutch translation

Fix link from Issue #139 in Dutch translation after new link was
provided and other languages fixed

* Review and update first half of am-i-trans page

Only got to about the first half while on a plane

* Update text&complete review of am-i-trans in Dutch

Update headers to capitalize them correctly
Update all uses of quotes to fix their use
Complete last part of page

* Proposed typo fix in treatment.md

* Add&review Dutch translation of causes page

* Add unreviewed Dutch translation of chromosomes

* Add unreviewed Dutch translation of hormones page

* Review&update Dutch chromosomes page

* Review&update Dutch translation of hormones page

* Add&review Dutch translation of treatment page

* Start Dutch (manual) translation of conclusion

* Update&Review Dutch translation of conclusion page

* Finish reviewing Dutch translation of hormones

* Add unreviewed Dutch translation of masc 2nd pub

* Remove double space from second-puberty-masc page

* Start reviewing Dutch translation of masc puberty

* Complete reviewing  translation of masc puberty

* Small change in the first note on Dutch masc pub

* Add&review Dutch translation of fem 2nd puberty

* Resolve ToDo in Dutch geschiedenis page

Did some research to confirm the meaning of the WV abbreviation in the
quote on the original English page

* Resolve ToDo in Dutch ben-ik-trans page

Resolve ToDo about the translation of a sentence

* Change page name in link to Dutch 2nd fem puberty

Page link from Dutch conclusion page to the previous 2nd fem puberty
page was incorrectly named

* Fix link on Dutch conclusion page

Dutch Conclusion page linked back to the English 2nd fem puberty page

* Fix Dutch printable page view

Dutch version of _concat.json was collecting the pages to the wrong
output
2023-09-21 12:57:10 -07:00
Jocelyn Badgley (Twipped)
9fd4723c1c Update to latest @twipped/eslint-config 2023-01-02 14:58:23 -08:00
Jocelyn Badgley (Twipped)
0ba2defbc2 Updated rollup plugins and fixed winston circular reference error 2023-01-02 14:38:04 -08:00
Bill Garrett
2f90e668cd
Migrate to Node 16 (#118)
* Node 16: fix build dependencies

* Node 16: fix Bootstrap dependency problem

* Node 16: fix error in HTML writer

* Node 16: move await to proper place (h/t alliejones)
2023-01-02 14:03:02 -08:00
Jocelyn Badgley (Twipped)
1fe166c183 Remove slugify 2022-10-23 11:02:05 -07:00
G Queiroz
efe9c502cf
Add Portuguese translation (light version) (#111)
* fix(es): syntax error that prevented compilation

* feat(pt): add main text translation

* feat(pt): add tweets translation

* feat(pt): add PDF generation to GitHub workflow

* fix(pt): add misisng translations and formatting fixes

* fix(css): link fragment overlap with page header

* fix(css): add font Inter before Gothic A1

The Gothic A1 font lacks a few characters necessary for writing Portuguese, namely: á, í, ó, ú, ã, õ, and their upper case versions.

* fix(pt): remove 'Glossário' entry from _menu.hbs

* fix(build): slugify.js

* fix(pt): various typos and a few missing translations.

* chore: add .vscode to .gitignore
2022-10-23 10:49:09 -07:00
Jocelyn Badgley (Twipped)
c015fb8ba7 Revert pdf links 2022-06-24 12:02:00 -07:00
Jocelyn Badgley (Twipped)
54e27a349b Removing the timestamp check on cache so that hopefully the builds will take less time. 2022-06-24 10:38:48 -07:00
Jocelyn Badgley (Twipped)
e229e14dca Addressing issues that came up in eslint 2022-06-22 15:45:08 -07:00
G Queiroz
93743fc532
Added tweet translation mechanism (#96)
* Added tweet translation mechanism.

* Removed test translation.

It was done via Google Translate which I don't trust for this application.
2022-05-31 20:06:53 -07:00
Muráncsik Adéna
98082317b3
French translation (#92) 2022-04-23 17:55:57 -07:00
Muráncsik Adéna
25cd86590f
Hungarian translation (#83)
* Hungarian translation for GenderDysphoria.fyi page.

* Adding hungarian in build/_concats.js.

Co-authored-by: Jocelyn Badgley <github@twipped.com>
2022-03-03 16:26:50 -08:00
ErdaradunGaztea
f72129b30a
Polish translation (#84)
* create pl\disclaimer

* create pl\syndrom-oszusta

* add italics and better wording

* create intro part of pl\dysforia-fizyczna

* finish pl\dysforia-fizyczna

* create pl\dysforia-biochemiczna

* create pl\dysforia-spoleczna

* implement basic tweet translation template

* translate some tweets

* fix wrongly displayed header

* add pl lang to translated pages

* Add files via upload

Do zrobienia: zaembedować tweety z oryginału

* fix typo

* add metadata and change filename of pl\euforia

* add missing lang: pl

* Polish menu and string constants

Need more translation still, but they are here to, well, be here already and just have them fixed later.

I really do hope we won't forget about 'em...

* more tweets translated

* even more tweets translated

* create pl\przyczyny

* translate another series of tweets

* create pl\chromosomy

* translate a tweet chain

* add pl/index for easier navigation

* create pl/hormony

* add pl/czy-jestem-trans to the index

* scss font update for pl language

* fix typo

* create pl/czy-jestem-trans

* fix wording

* define _concat.json for PL version

* update pl/hormony page description

* create pl/leczenie

* translate "Egg Prime Directive" as "prawo jajecznicy"

* translate a few more tweets

* translate even more tweets

* standardize PL chapters' attribute order

* loremipsumize not-yet-translated PL chapters

* add pl printable to the build file

* fix missing lang attribute

* add introduction in Polish

copied from Word file supplied by Nat

* add pl/dysforia-roli-spolecznej

reformatted Markdown file supplied by Nikola (@aksenzia)

* normalize header levels

* create pl/diagnoza, ICD-11 left for later

* translate translegalism to pl

* translate 2nd puberty with T to pl

tweet translations still yet to be done

* include more pl tweet translations (as HTML comments for now)

* hide tweet translations as HTML comments until a framework is created

* change file name

* translate pl/dysforia-prezencji

* translate pl/podsumowanie

* remove tweet translation scss (need some better solution)

* change pl file name

* fix https links

* add images to pl, some even translated

* translate pl strings

* rewrite pl/euforia for better flow

* slight wording changes to pl/chromosomy

* translate pl/czym-jest-gender

* change file name

* change title to a shorter one

* create pl/drugie-dojrzewanie-E

* update syndrom oszusta

* create pl/dysforia-egzystencjalna

* translated Male Gaze to pl

* pl chapter 8 check W.I.P.

* translated whole pl/dysforia-seksualna

* update pl/podsumowanie with new text

* change chapter title

* translate pl/mechanizmy-obronne

* translate pl/historia

Yay, that was the last one! :D Now, just check if everything's correct and it's gonna be publish-ready!

* verified others' translations

* fix not translated "Source"

* remove unused file

Co-authored-by: aksenzia <92644704+aksenzia@users.noreply.github.com>
Co-authored-by: Laura <erdaradun.gaztea@gmail.com>
2022-03-03 16:24:27 -08:00
Jocelyn Badgley (Twipped)
4dee7fe17c Migrate the concat structures into their respective language folders 2021-11-10 09:15:32 -08:00
Jocelyn Badgley (Twipped)
e659b38dcf Added Am-I-trans page 2021-10-28 11:19:33 -07:00
Jocelyn Badgley (Twipped)
9679fd01a4 Add a printable chinese build 2021-09-20 15:34:03 -07:00
Jocelyn Badgley (Twipped)
b08e4c1d5a trying to give better feedback on failures 2021-08-30 21:48:22 -07:00
Jocelyn Badgley (Twipped)
d542e8b23d Fix the broken header links 2021-08-27 11:53:38 -07:00
Jocelyn Badgley (Twipped)
219680d783 Fix some issues with tweet video caching 2021-08-27 11:40:01 -07:00
Jocelyn Badgley (Twipped)
5992501a01 Ensure that video/gif embeds in tweets are also cached locally 2021-08-27 11:32:44 -07:00
Jocelyn Badgley (Twipped)
84ec899957 Not sure why this keeps happening, but here's another small patch 2021-08-25 11:35:54 -07:00
Jocelyn Badgley (Twipped)
b5851b4c38 Fallback to local duplicate when a fetch fails, if available 2021-08-25 11:23:31 -07:00
Jocelyn Badgley (Twipped)
5322027e65 Found a case where quoted tweets might get missed pulling into twitter cache from backup 2021-08-25 10:58:14 -07:00
Jocelyn Badgley (Twipped)
9bfa5c4690 Pulled in the twitter content backup functionality from curvyandtrans.com
Sadly, lost the images from one of Emmy_Zje's deleted tweets.
2021-08-25 09:45:21 -07:00
Jocelyn Badgley (Twipped)
2ea8297dd5 eslint corrections 2021-08-25 08:53:42 -07:00
Jocelyn Badgley (Twipped)
a49d9bf21c Moved the i18n strings into their respective folders 2021-08-11 13:48:29 -07:00
Jocelyn Badgley (Twipped)
6aa3db858d Fix broken headers 2021-08-11 13:27:52 -07:00
Jocelyn Badgley (Twipped)
ac51aa04d9 Moving files around for better support for translations
/gdb is now /en
/gdb/es is now /es
2021-08-11 13:13:05 -07:00
Jocelyn Badgley (Twipped)
d106cb7fe0 Fix glitch in page description 2021-08-11 12:09:59 -07:00
Jocelyn Badgley (Twipped)
81fd26d2e4 Dependency bump 2021-08-11 12:09:59 -07:00
Jocelyn Badgley (Twipped)
59e4380906 Adding more internationalization support 2021-08-11 11:40:11 -07:00
Jocelyn Badgley (Twipped)
f4e45758b6 Ammending a small bug that came up in the curvyandtrans codebase 2021-08-11 10:21:00 -07:00
G. Queiroz
1b2208ae5b
Structure for Spanish pretty much done 2021-08-04 22:18:52 -03:00
G. Queiroz
537ab0d40e
Fixed lang attribute in <html> tag 2021-08-04 21:26:05 -03:00
Jocelyn Badgley (Twipped)
f045b91a3b Renamed /gdb/historical-dysphoria to it’s correct page url
Added support for page redirects.
2021-04-14 19:22:34 -07:00
Jocelyn Badgley (Twipped)
08478f5a81 Linking in the new hormone pages 2021-03-25 14:11:11 -07:00
Jocelyn Badgley (Twipped)
d121de5309 Add disclaimer to the longform page 2021-03-25 14:05:29 -07:00
Jocelyn Badgley (Twipped)
b919a7cf11 Fixing icons not obeying the size attribute 2021-03-25 14:04:59 -07:00
Jocelyn Badgley (Twipped)
7eb3bfe69a Make external links open in a new browser window 2021-03-25 14:04:43 -07:00
Jocelyn Badgley (Twipped)
74b9de01ab Fix deprecation notice from rollup-plugin-replace 2021-03-23 09:45:40 -07:00
Jocelyn Badgley (Twipped)
a83bbdd885 Added support for svgs 2021-03-23 09:29:11 -07:00
Jocelyn Badgley (Twipped)
ab28508bca Dependency updates 2021-02-27 20:43:18 -08:00
Jocelyn Badgley (Twipped)
fb95010e80 Created the page-concatinator build module
This produces a single unified version of the entire GDB on one page at /gdb/printable
2021-02-10 14:25:17 -08:00
Jocelyn Badgley (Twipped)
4889ee81d0 Dependency updates 2020-10-12 15:16:27 -07:00
Jocelyn Badgley (Twipped)
5d1a8796a4 dependency bumps 2020-06-30 17:16:48 -07:00
Jocelyn Badgley (Twipped)
5e625ce381 Code Alignment 2020-05-13 12:29:39 -07:00
Jocelyn Badgley (Twipped)
2beec58657 Switched from Handlebars to Handybars 2020-05-13 11:46:14 -07:00
Jocelyn Badgley (Twipped)
caa4c0687b Accidentally added some stuff from curvyandtrans 2020-04-07 10:44:39 -07:00