From 3be23d1ae0c97f9b40e88a6e1eb78115f6d10fe8 Mon Sep 17 00:00:00 2001 From: Benjamin Fan Date: Sun, 18 Feb 2024 20:49:30 -0800 Subject: [PATCH] chore(shared): Remove old jargon files --- sites/shared/jargon/de.json | 106 ---------------------------------- sites/shared/jargon/en.json | 106 ---------------------------------- sites/shared/jargon/es.json | 106 ---------------------------------- sites/shared/jargon/fr.json | 106 ---------------------------------- sites/shared/jargon/index.mjs | 7 --- sites/shared/jargon/nl.json | 106 ---------------------------------- sites/shared/jargon/uk.json | 106 ---------------------------------- sites/shared/mdx/load.mjs | 2 - 8 files changed, 645 deletions(-) delete mode 100644 sites/shared/jargon/de.json delete mode 100644 sites/shared/jargon/en.json delete mode 100644 sites/shared/jargon/es.json delete mode 100644 sites/shared/jargon/fr.json delete mode 100644 sites/shared/jargon/index.mjs delete mode 100644 sites/shared/jargon/nl.json delete mode 100644 sites/shared/jargon/uk.json diff --git a/sites/shared/jargon/de.json b/sites/shared/jargon/de.json deleted file mode 100644 index 030350f3871..00000000000 --- a/sites/shared/jargon/de.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "basting": { - "term": "Heften", - "description": "Siehe Heften in der Dokumentation zum Nähen" - }, - "coverlock": { - "term": "Coverlock", - "description": "Siehe Coverlock in der Dokumentation zum Nähen" - }, - "cutting": { - "term": "Zuschnitt", - "description": "Siehe Zuschnitt in der Dokumentation zum Nähen" - }, - "darts": { - "term": "Abnäher", - "description": "Abnäher in der Dokumentation zum Nähen" - }, - "doubleWeltPockets": { - "term": "Doppelpaspeltaschen", - "description": "Siehe Doppelpaspeltasche in der Dokumentation zum Nähen" - }, - "ease": { - "term": "Zugabe", - "description": "Siehe Zugabe in der Dokumentation zum Nähen" - }, - "edgestitch": { - "term": "Nähte absteppen", - "description": "Siehe Nähte absteppen in der Dokumentation zum Nähen" - }, - "fabricGrain": { - "term": "Fadenlauf", - "description": "Siehe Fadenlauf in der Dokumentation zum Nähen" - }, - "goodSidesTogether": { - "term": "rechts auf rechts", - "description": "Siehe rechts auf rechts in der Dokumentation zum Nähen" - }, - "onTheFold": { - "term": "im Stoffbruch", - "description": "Siehe Im Stoffbruch in der Dokumentation zum Nähen" - }, - "hemming": { - "term": "Säumen", - "description": "Siehe Säumen in der Dokumentation zum Nähen" - }, - "jersey": { - "term": "Jersey", - "description": "Siehe Jersey in der Dokumentation zum Nähen" - }, - "knitBinding": { - "term": "Kantenabschluss mit Maschenware", - "description": "Siehe Kantenabschluss mit Maschenware in der Dokumentation zum Nähen" - }, - "knitFabric": { - "term": "Maschenware", - "description": "Siehe Maschenware in der Dokumentation zum Nähen" - }, - "pinning": { - "term": "Stecken", - "description": "Siehe Stecken in der Dokumentation zum Nähen" - }, - "rayon": { - "term": "Rayon", - "description": "Siehe Rayon in der Dokumentation zum Nähen" - }, - "sa": { - "term": "Nahtzugabe", - "description": "Siehe Nahtzugabe in der Dokumentation zum Nähen" - }, - "serger": { - "term": "Overlock", - "description": "Siehe Overlock in der Dokumentation zum Nähen" - }, - "slipstitch": { - "term": "Kettstich", - "description": "Siehe Kettstich in der Dokumentation zum Nähen" - }, - "topstitching": { - "term": "Absteppen", - "description": "Siehe Absteppen in der Dokumentation zum Nähen" - }, - "trimming": { - "term": "Zurückschneiden", - "description": "Siehe Zurückschneiden in der Dokumentation zum Nähen" - }, - "twinNeedle": { - "term": "Zwillingsnadel", - "description": "Siehe Zwillingsnadel in der Dokumentation zum Nähen" - }, - "zigZag": { - "term": "Zickzackstich", - "description": "Siehe Zickzackstich in der Dokumentation zum Nähen" - }, - "freesewing": { - "term": "freesewing", - "description": "FreeSewing ist eine Open-Source Plattform für Schnittmuster nach Maß" - }, - "patternOptions": { - "term": "Schnittmusteroptionen", - "description": "Die Schnittmusteroptionen erlauben es dir, das Design des Schnittmusters anzupassen" - }, - "msf": { - "term": "MSF", - "description": "Médecins Sans Frontières/Ärzte ohne Grenzen - Siehe msf.org" - } -} diff --git a/sites/shared/jargon/en.json b/sites/shared/jargon/en.json deleted file mode 100644 index 5e61498cf2d..00000000000 --- a/sites/shared/jargon/en.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "basting": { - "term": "basting", - "description": "See Basting in the Sewing documentation" - }, - "coverlock": { - "term": "coverlock", - "description": "See Coverlock in the Sewing documentation" - }, - "cutting": { - "term": "cutting", - "description": "See Cutting in the Sewing documentation" - }, - "darts": { - "term": "darts", - "description": "See Darts in the Sewing documentation" - }, - "doubleWeltPockets": { - "term": "double welt pockets", - "description": "See Double welt pockets in the Sewing documentation" - }, - "ease": { - "term": "ease", - "description": "See Ease in the Sewing documentation" - }, - "edgestitch": { - "term": "edgestitch", - "description": "See Edgestitching in the Sewing documentation" - }, - "fabricGrain": { - "term": "fabric grain", - "description": "See Fabric grain in the Sewing documentation" - }, - "goodSidesTogether": { - "term": "good sides together", - "description": "See Good sides together in the Sewing documentation" - }, - "onTheFold": { - "term": "on the fold", - "description": "See On the fold in the Sewing documentation" - }, - "hemming": { - "term": "hemming", - "description": "See Hemming in the Sewing documentation" - }, - "jersey": { - "term": "jersey", - "description": "See Jersey in the Sewing documentation" - }, - "knitBinding": { - "term": "knit binding", - "description": "See Knit binding in the Sewing documentation" - }, - "knitFabric": { - "term": "knit fabric", - "description": "See Knit fabric in the Sewing documentation" - }, - "pinning": { - "term": "pinning", - "description": "See Pinning in the Sewing documentation" - }, - "rayon": { - "term": "rayon", - "description": "See Rayon in the Sewing documentation" - }, - "sa": { - "term": "seam allowance", - "description": "See Seam allowance in the Sewing documentation" - }, - "serger": { - "term": "serger", - "description": "See Serger in the Sewing documentation" - }, - "slipstitch": { - "term": "slipstitch", - "description": "See Slipstitch in the Sewing documentation" - }, - "topstitching": { - "term": "topstitching", - "description": "See Topstitching in the Sewing documentation" - }, - "trimming": { - "term": "trimming", - "description": "See Trimming in the Sewing documentation" - }, - "twinNeedle": { - "term": "twin needle", - "description": "See Twin needle in the Sewing documentation" - }, - "zigZag": { - "term": "zig-zag stitch", - "description": "See Zig-zag stitch in the Sewing documentation" - }, - "freesewing": { - "term": "freesewing", - "description": "FreeSewing is an open source platform for made-to-measure sewing patterns" - }, - "patternOptions": { - "term": "pattern options", - "description": "The pattern options allow you to customize the design of the pattern" - }, - "msf": { - "term": "msf", - "description": "Médecins Sans Frontières/Doctors Without Borders - See msf.org" - } -} diff --git a/sites/shared/jargon/es.json b/sites/shared/jargon/es.json deleted file mode 100644 index ca5248a954f..00000000000 --- a/sites/shared/jargon/es.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "basting": { - "term": "hilvanar", - "description": "Ver hilvanar en la documentación de costura" - }, - "coverlock": { - "term": "cubierto", - "description": "Ver Coverlock en la documentación de costura" - }, - "cutting": { - "term": "corte", - "description": "Ver Cortando en la documentación de costura" - }, - "darts": { - "term": "pinzas", - "description": "Ver Dardos en la documentación de costura" - }, - "doubleWeltPockets": { - "term": "bolsillos de doble soldadura", - "description": "Vea Bolsillos de doble soldadura en la documentación de costura" - }, - "ease": { - "term": "facilidad", - "description": "Ve Sube en la documentación de costura" - }, - "edgestitch": { - "term": "pespunte", - "description": "Ver pespunte en la documentación de costura" - }, - "fabricGrain": { - "term": "grano de tela", - "description": "Ver Grano de tela en la documentación de costura" - }, - "goodSidesTogether": { - "term": "lado bueno juntos", - "description": "Ver buenas partes juntas en la documentación de costura" - }, - "onTheFold": { - "term": "en el pliegue", - "description": "Ver En el plegado en la documentación de costura" - }, - "hemming": { - "term": "hemming", - "description": "Ver Hemming en la documentación de coser" - }, - "jersey": { - "term": "jersey", - "description": "Ver Jersey en la documentación de costura" - }, - "knitBinding": { - "term": "unión de tejidos", - "description": "Ver Enlace de Knit en la documentación de costura" - }, - "knitFabric": { - "term": "tejido de tejidos", - "description": "Ver Tela de Knit en la documentación de costura" - }, - "pinning": { - "term": "fijar", - "description": "Ver Fijar en la documentación de costura" - }, - "rayon": { - "term": "rayon", - "description": "Ver Rayon en la documentación de costura" - }, - "sa": { - "term": "margen de costura", - "description": "Ver Permiso de costura en la documentación de costura" - }, - "serger": { - "term": "serrador", - "description": "Ver Serger en la documentación de costura" - }, - "slipstitch": { - "term": "punto deslizado", - "description": "Ver punto deslizado en la documentación de costura" - }, - "topstitching": { - "term": "topstitching", - "description": "Ver Topstitching en la documentación de costura" - }, - "trimming": { - "term": "rascacielos", - "description": "Ver Trimming en la documentación de costura" - }, - "twinNeedle": { - "term": "aguja gemela", - "description": "Ver aguja gemela en la documentación de costura" - }, - "zigZag": { - "term": "zig-zag stitch", - "description": "Ver Zig-zag stitch en la documentación de cobertura" - }, - "freesewing": { - "term": "freesewing", - "description": "FreeSewing es una plataforma de código abierto para patrones de costura hechos a medida" - }, - "patternOptions": { - "term": "opciones del patrón", - "description": "Las opciones de patrón te permiten personalizar el diseño del patrón" - }, - "msf": { - "term": "msf", - "description": "Médicos Sin Fronteras/Médecins Sans Frontières - Ver msf.org" - } -} diff --git a/sites/shared/jargon/fr.json b/sites/shared/jargon/fr.json deleted file mode 100644 index ce0bfb59edf..00000000000 --- a/sites/shared/jargon/fr.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "basting": { - "term": "bâtir", - "description": "Voir Bâtir dans la documentation de Couture" - }, - "coverlock": { - "term": "recouvreuse", - "description": "Voir Recouvreuse dans la documentation de Couture" - }, - "cutting": { - "term": "coupe", - "description": "Voir Coupe dans la documentation de Couture" - }, - "darts": { - "term": "pinces", - "description": "Voir Pinces dans la documentation de Couture" - }, - "doubleWeltPockets": { - "term": "poche passepoilée", - "description": "Voir Poches passepoilées dans la documentation de Couture" - }, - "ease": { - "term": "aisance", - "description": "Voir Aisance dans la documentation de Couture" - }, - "edgestitch": { - "term": "couture nervure", - "description": "Voir Couture nervure dans la documentation de Couture" - }, - "fabricGrain": { - "term": "droit fil", - "description": "Voir Droit fil dans la documentation de Couture" - }, - "goodSidesTogether": { - "term": "endroit contre endroit", - "description": "Voir Endroit contre endroit dans la documentation de Couture" - }, - "onTheFold": { - "term": "au pli", - "description": "Voir Au pli dans la documentation de couture" - }, - "hemming": { - "term": "ourlet", - "description": "Voir Ourlet dans la documentation de Couture" - }, - "jersey": { - "term": "jersey", - "description": "Voir Jersey dans la documentation de Couture" - }, - "knitBinding": { - "term": "biais de jersey", - "description": "Voir Biais de jersey dans la documentation de Couture" - }, - "knitFabric": { - "term": "tissu Maille", - "description": "Voir Tissu maille dans la documentation de Couture" - }, - "pinning": { - "term": "épingler", - "description": "Voir Épingler dans la documentation de Couture" - }, - "rayon": { - "term": "rayonne ou viscose", - "description": "Voir Rayonne ou Viscose dans la documentation de Couture" - }, - "sa": { - "term": "marge de couture", - "description": "Voir Marge de couture dans la documentation de Couture" - }, - "serger": { - "term": "surjeteuse", - "description": "Voir Surgeteuse dans la documentation de Couture" - }, - "slipstitch": { - "term": "point glissé", - "description": "Voir Point glissé dans la documentation de Couture" - }, - "topstitching": { - "term": "surpiqûre", - "description": "Voir Surpiqûre dans la documentation de Couture" - }, - "trimming": { - "term": "dégarnir", - "description": "Voir Dégarnir dans la documentation de Couture" - }, - "twinNeedle": { - "term": "aiguilles doubles", - "description": "Voir Aiguilles doubles dans la documentation de Couture" - }, - "zigZag": { - "term": "point zig-zag", - "description": "Voir Point zig-zag dans la documentation de Couture" - }, - "freesewing": { - "term": "freesewing", - "description": "FreeSewing est une plate-forme open source pour des patrons de couture sur-mesure" - }, - "patternOptions": { - "term": "options du patron", - "description": "Les options de patron vous permettent de personnaliser le design du patron" - }, - "msf": { - "term": "MSF", - "description": "Médecins Sans Frontières/Doctors Sans Frontières - Voir msf.org" - } -} diff --git a/sites/shared/jargon/index.mjs b/sites/shared/jargon/index.mjs deleted file mode 100644 index dd2ebb13b4b..00000000000 --- a/sites/shared/jargon/index.mjs +++ /dev/null @@ -1,7 +0,0 @@ -import en from './en.json' assert { type: 'json' } -import de from './de.json' assert { type: 'json' } -import es from './es.json' assert { type: 'json' } -import fr from './fr.json' assert { type: 'json' } -import nl from './nl.json' assert { type: 'json' } - -export const jargon = { en, de, es, fr, nl } diff --git a/sites/shared/jargon/nl.json b/sites/shared/jargon/nl.json deleted file mode 100644 index 61ffde9c02a..00000000000 --- a/sites/shared/jargon/nl.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "basting": { - "term": "driegen", - "description": "Zie Driegen in deDocumentatie naaien" - }, - "coverlock": { - "term": "coverlock", - "description": "Zie Coverlock in deDocumentatie naaien" - }, - "cutting": { - "term": "knippen", - "description": "Zie Knippen in deDocumentatie naaien" - }, - "darts": { - "term": "nepen", - "description": "Zie Nepen in deDocumentatie naaien" - }, - "doubleWeltPockets": { - "term": "dubbele paspelzak", - "description": "Zie Dubbele paspelzak in deDocumentatie naaien" - }, - "ease": { - "term": "overwijdte", - "description": "Zie Overwijdte in deDocumentatie naaien" - }, - "edgestitch": { - "term": "kantsteek", - "description": "Zie Kantstikken in de Naaidocumentatie" - }, - "fabricGrain": { - "term": "draadrichting", - "description": "Zie Draadrichting in deDocumentatie naaien" - }, - "goodSidesTogether": { - "term": "goede kanten op elkaar", - "description": "Zie Goede kanten op elkaar in deDocumentatie naaien" - }, - "onTheFold": { - "term": "aan de stofvouw", - "description": "Zie Aan de stofvouw bij de Documentatie naaien" - }, - "hemming": { - "term": "zomen", - "description": "Zie Zomen in deDocumentatie naaien" - }, - "jersey": { - "term": "jersey", - "description": "Zie Jersey in deDocumentatie naaien" - }, - "knitBinding": { - "term": "jersey biezen", - "description": "Zie Jersey biezen in deDocumentatie naaien" - }, - "knitFabric": { - "term": "gebreide stof", - "description": "Zie Gebreide stof in deDocumentatie naaien" - }, - "pinning": { - "term": "spelden", - "description": "Zie Spelden in deDocumentatie naaien" - }, - "rayon": { - "term": "rayon", - "description": "Zie Rayon in deDocumentatie naaien" - }, - "sa": { - "term": "naadtoeslag", - "description": "Zie Naadtoeslag in deDocumentatie naaien" - }, - "serger": { - "term": "serger/overlock", - "description": "Zie Serger/Overlock in deDocumentatie naaien" - }, - "slipstitch": { - "term": "slipsteek", - "description": "Zie Slipsteek in de Naaidocumentatie" - }, - "topstitching": { - "term": "sierstiksel", - "description": "Zie Sierstiksel in deDocumentatie naaien" - }, - "trimming": { - "term": "bijknippen", - "description": "Zie Bijknippen in deDocumentatie naaien" - }, - "twinNeedle": { - "term": "tweelingnaald", - "description": "Zie Tweelingnaald in deDocumentatie naaien" - }, - "zigZag": { - "term": "zigzagsteek", - "description": "Zie Zigzagsteek in deDocumentatie naaien" - }, - "freesewing": { - "term": "freesewing", - "description": "FreeSewing is een open source platform voor naaipatronen op maat" - }, - "patternOptions": { - "term": "patroon opties", - "description": "De patroon opties staan je toe het ontwerp van het patroon aan te passen" - }, - "msf": { - "term": "msf", - "description": "Médecins Sans Frontières/Artsen Zonder Grenzen - Ziemsf.org" - } -} diff --git a/sites/shared/jargon/uk.json b/sites/shared/jargon/uk.json deleted file mode 100644 index 24d216317ed..00000000000 --- a/sites/shared/jargon/uk.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "basting": { - "term": "зметування", - "description": "Дивіться зметування в документації до шиття" - }, - "coverlock": { - "term": "коверлок", - "description": "Дивіться коверлок у документації до шиття" - }, - "cutting": { - "term": "крій", - "description": "Дивіться крій у документації до шиття" - }, - "darts": { - "term": "виточки", - "description": "Дивіться виточки в документації до шиття" - }, - "doubleWeltPockets": { - "term": "кишеня з подвійною листочкою", - "description": "Дивіться кишеню з подвійною листочкою в документації до шиття" - }, - "ease": { - "term": "свобода облягання", - "description": "Дивіться свободу облягання в документації до шиття" - }, - "edgestitch": { - "term": "закріплювальний шов", - "description": "Дивіться закріплення краю в документації до шиття" - }, - "fabricGrain": { - "term": "структура ниток", - "description": "Дивіться тканинне зерно в документації до шиття" - }, - "goodSidesTogether": { - "term": "лицьові сторони одна до одної", - "description": "Дивіться \"Лицьові сторони одна до одної\" в документації до шиття" - }, - "onTheFold": { - "term": "на згині", - "description": "Дивіться \"На згині\" в документації до шиття" - }, - "hemming": { - "term": "підшивання краю", - "description": "Дивіться підшивання краю в документації до шиття" - }, - "jersey": { - "term": "джерсі", - "description": "Дивіться джерсі в документації до шиття" - }, - "knitBinding": { - "term": "трикотажна бийка", - "description": "Дивіться трикотажну бійку в документації до шиття" - }, - "knitFabric": { - "term": "трикотаж", - "description": "Дивіться трикотаж у документації до шиття" - }, - "pinning": { - "term": "зметування булавками", - "description": "Дивіться зметування булавками в документації до шиття" - }, - "rayon": { - "term": "віскоза", - "description": "Дивіться віскозу в документації до шиття" - }, - "sa": { - "term": "припуск на шов", - "description": "Дивіться припуск на шов у документації до шиття" - }, - "serger": { - "term": "машина-оверлок", - "description": "Дивіться оверлок у документації до шиття" - }, - "slipstitch": { - "term": "потайний шов", - "description": "Дивіться Потайний шов у Документація до шиття" - }, - "topstitching": { - "term": "оздоблювальний шов", - "description": "Дивіться Оздоблювальний шов у Документація до шиття" - }, - "trimming": { - "term": "підрізання припусків на шов", - "description": "Дивіться Підрізання припусків на шов у Документації до шиття" - }, - "twinNeedle": { - "term": "подвійна голка", - "description": "Дивіться Подвійна голка у Документація до шиття" - }, - "zigZag": { - "term": "шов \"Зіг-заг\"", - "description": "Дивіться шов \"Зіг-заг\" уДокументація до пошиття" - }, - "freesewing": { - "term": "freesewing", - "description": "FreeSewing є платформою з відкритим кодом для створення швейних викрійок, які адаптуються під виміри користувача" - }, - "patternOptions": { - "term": "налаштування кресленика", - "description": "Налаштування викрійки дозволяє Вам змінити дизайн викрійки за Вашими побажаннями" - }, - "msf": { - "term": "msf", - "description": "Médecins Sans Frontières/Лікарі без кордонів – Більше на msf.org" - } -} diff --git a/sites/shared/mdx/load.mjs b/sites/shared/mdx/load.mjs index c0916b1f3cd..82c6158c50e 100644 --- a/sites/shared/mdx/load.mjs +++ b/sites/shared/mdx/load.mjs @@ -1,7 +1,6 @@ import fs from 'fs' import path from 'path' import { compileMdx } from './compile.mjs' -import { jargon } from 'shared/jargon/index.mjs' import { ghPrefix } from './remark-github-images.mjs' /* @@ -62,7 +61,6 @@ export const loadMdxAsStaticProps = async ({ md, site, slug: val, - jargon: jargon[language], }) result[key] = { ...mdx, slug: val } }