diff options
author | EuAndreh <eu@euandre.org> | 2020-10-30 16:36:29 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-10-30 16:36:29 -0300 |
commit | e60179152b319f0aa0b5212158525e2c4d53daf0 (patch) | |
tree | 97f576a134c0878ca7ddf41c199eab98cb8dfd5a | |
parent | assert-spelling.sh: Enable --trace by default when doing Jekyll builds (diff) | |
download | euandre.org-e60179152b319f0aa0b5212158525e2c4d53daf0.tar.gz euandre.org-e60179152b319f0aa0b5212158525e2c4d53daf0.tar.xz |
Add esperanto dictionary and spellcheck website
Diffstat (limited to '')
-rw-r--r-- | _config.yml | 2 | ||||
-rw-r--r-- | default.nix | 2 | ||||
-rw-r--r-- | scripts/spelling/en.txt | 1 | ||||
-rw-r--r-- | scripts/spelling/eo.txt | 10 | ||||
-rw-r--r-- | scripts/spelling/international.txt | 9 | ||||
-rw-r--r-- | scripts/spelling/pt.txt | 2 | ||||
-rw-r--r-- | utils-i18n.nix | 7 |
7 files changed, 29 insertions, 4 deletions
diff --git a/_config.yml b/_config.yml index a4e4e78..01fccb9 100644 --- a/_config.yml +++ b/_config.yml @@ -190,7 +190,7 @@ t: en: "Icon for showing link to this header" pt: "Ícone para mostrar link para esse cabeçalho" fr: "Icône pour afficher le lien vers cet en-tête" - eo: "Ikono por montri ligon al ĉi tiu kaplinio" + eo: "Ikono por montri ligon al ĉi tiu rubriko" footer: en: >- The content for this site is licensed under <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>. The <a href="https://git.euandreh.xyz/website">code</a> is <a href="https://git.euandreh.xyz/website/tree/LICENSE">AGPLv3 or later</a>. Patches welcome. diff --git a/default.nix b/default.nix index 6da4f1c..b4799c5 100644 --- a/default.nix +++ b/default.nix @@ -20,7 +20,7 @@ let shellcheck jq niv - (hunspellWithDicts (with utils-i18n.dicts; [ en pt fr ])) + (hunspellWithDicts (with utils-i18n.dicts; [ en pt fr eo ])) ]; in rec { site = pkgs.stdenv.mkDerivation { diff --git a/scripts/spelling/en.txt b/scripts/spelling/en.txt index 2afb067..2d9584f 100644 --- a/scripts/spelling/en.txt +++ b/scripts/spelling/en.txt @@ -5,6 +5,7 @@ analytics aren autocommit backend +balancer barcode behaviour chargeback diff --git a/scripts/spelling/eo.txt b/scripts/spelling/eo.txt index e69de29..aa19e9f 100644 --- a/scripts/spelling/eo.txt +++ b/scripts/spelling/eo.txt @@ -0,0 +1,10 @@ +- +CC +CD +EC +H +HML +L +M +ernis +odiaŭ diff --git a/scripts/spelling/international.txt b/scripts/spelling/international.txt index 70ee0e2..10be311 100644 --- a/scripts/spelling/international.txt +++ b/scripts/spelling/international.txt @@ -10,6 +10,7 @@ AGPLv AGPLv3 André +Anna Atom B1 BN @@ -39,10 +40,12 @@ Gmail GoCD GuixSD HN +HTML HTTPS Halloway Haskell Hodgson +I IPs IndexedDB JS @@ -78,6 +81,7 @@ Spacemacs StackOverflow Staltz Sten +T TAB TBs TILs @@ -105,8 +109,11 @@ datalog datom datoms dl +e +earned edn en +eo euandre euandreh eval @@ -143,6 +150,7 @@ no-brainer node2nix noinform npm +oday org pastebin pastebins @@ -157,6 +165,7 @@ sourcehut sr swift2nix systemd +só touchpad txt v8 diff --git a/scripts/spelling/pt.txt b/scripts/spelling/pt.txt index 65d4ac8..ce4dae7 100644 --- a/scripts/spelling/pt.txt +++ b/scripts/spelling/pt.txt @@ -1,6 +1,5 @@ Abaixo Agosto -Anna Aprendi Atualizado Blog @@ -80,6 +79,7 @@ mandar mande me mensagem +mostrar na navegador no diff --git a/utils-i18n.nix b/utils-i18n.nix index 379cd3b..95ae312 100644 --- a/utils-i18n.nix +++ b/utils-i18n.nix @@ -24,7 +24,7 @@ sha256 = affSHA256; }; in pkgs.stdenv.mkDerivation { - name = "x-bindgen-dict-${lang}"; + name = "website-dict-${lang}"; builder = builtins.toFile "builder.sh" '' source $stdenv/setup install -dm755 $out/share/hunspell @@ -48,5 +48,10 @@ dicSHA256 = "10p6jlk9j117mjd1z3dp3vfszcvxqha11kfvksqhvrq4ld9xwzbn"; affSHA256 = "0d6k608h7gm1za3vdq1fhlwqzz2zxg1z0bx1bfvi0spg4a2mn09p"; }; + eo = mkDict { + lang = "eo"; + dicSHA256 = "1hbs8f67kq953llcx8pm0rwi2ln2y693pva952fb9mjc4l99ic3m"; + affSHA256 = "198jaiab98xks5srizi3ww7sg5biqhjl7acjhrsrmcycp8jvns56"; + }; }; } |