diff --git a/docs/LANGUAGES.md b/docs/LANGUAGES.md index e65156da5992..c98b9d13069f 100644 --- a/docs/LANGUAGES.md +++ b/docs/LANGUAGES.md @@ -21,15 +21,19 @@ The contents of the file should be as follows: { "name": string, "rightToLeft": boolean, - "ligatures": boolean, + "cursiveScript": boolean, "orderedByFrequency": boolean, "bcp47": string, "words": string[] } ``` -It is recommended that you familiarize yourselves with JSON before adding a language. For the `name` field, put the name of your language. `rightToLeft` indicates how the language is written. If it is written right to left then put `true`, otherwise put `false`. -`ligatures` A ligature occurs when multiple letters are joined together to form a character [more details](). If there's joining in the words, which is the case in languages like (Arabic, Malayalam, Persian, Sanskrit, Central_Kurdish... etc.), then set the value to `true`, otherwise set it to `false`. For `bcp47` put your languages [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag). If the words you're adding are ordered by frequency (most common words at the top, least at the bottom) set the value of `orderedByFrequency` to `true`, otherwise `false`. Finally, add your list of words to the `words` field. +It is recommended that you familiarize yourselves with JSON before adding a language. For the `name` field, put the name of your language. +`rightToLeft` indicates how the language is written. If it is written right to left then put `true`, otherwise put `false`. +`cursiveScript` indicates whether the language requires cursive joining to render correctly. Set it to `true` if characters must join with surrounding characters or if their shapes change based on position in a word (initial, medial, final, or isolated). Otherwise, set it to `false.` +For `bcp47` put your languages [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag). +If the words you're adding are ordered by frequency (most common words at the top, least at the bottom) set the value of `orderedByFrequency` to `true`, otherwise `false`. +Finally, add your list of words to the `words` field. Then, go to `packages/schemas/src/languages.ts` and add your new language name at the _end_ of the `LanguageSchema` enum. Make sure to end the line with a comma. Make sure to add all your language names if you have created multiple word lists of differing lengths in the same language. diff --git a/frontend/src/styles/test.scss b/frontend/src/styles/test.scss index 317e16f7b67e..478084eb7c48 100644 --- a/frontend/src/styles/test.scss +++ b/frontend/src/styles/test.scss @@ -324,7 +324,7 @@ unicode-bidi: bidi-override; } } - &.withLigatures { + &.cursiveScript { .word { overflow-wrap: anywhere; padding-bottom: 0.05em; // compensate for letter border @@ -536,8 +536,8 @@ &.typed-effect-dots { /* transform already typed letters into appropriately colored dots */ - &:not(.withLigatures) .word, - &.withLigatures .word.broken-ligatures { + &:not(.cursiveScript) .word, + &.cursiveScript .word.broken-cursive { letter { position: relative; display: inline-block; @@ -555,17 +555,17 @@ } } // unify dot spacing - &.withLigatures .word.broken-ligatures { + &.cursiveScript .word.broken-cursive { letter { width: 0.4em; } } - .word.broken-ligatures:not(.needs-wrap) { + .word.broken-cursive:not(.needs-wrap) { white-space: nowrap; } - &:not(.withLigatures) .word.typed, - &.withLigatures .word.broken-ligatures.typed { + &:not(.cursiveScript) .word.typed, + &.cursiveScript .word.broken-cursive.typed { letter { color: var(--bg-color); animation: typedEffectToDust 200ms ease-out 0ms 1 forwards !important; @@ -576,18 +576,18 @@ } } - &:not(.withLigatures):not(.blind) { + &:not(.cursiveScript):not(.blind) { .word letter.incorrect::after { background: var(--c-dot--error); } } - &.withLigatures:not(.blind) .word.broken-ligatures letter.incorrect::after { + &.cursiveScript:not(.blind) .word.broken-cursive letter.incorrect::after { background: var(--c-dot--error); } @media (prefers-reduced-motion) { - &:not(.withLigatures) .word.typed, - &.withLigatures .word.broken-ligatures.typed { + &:not(.cursiveScript) .word.typed, + &.cursiveScript .word.broken-cursive.typed { letter { animation: none !important; transform: scale(0.4); @@ -880,7 +880,7 @@ unicode-bidi: bidi-override; } } - &.withLigatures { + &.cursiveScript { .word { overflow-wrap: anywhere; padding-bottom: 2px; // compensate for letter border diff --git a/frontend/src/ts/test/break-ligatures.ts b/frontend/src/ts/test/break-cursive.ts similarity index 72% rename from frontend/src/ts/test/break-ligatures.ts rename to frontend/src/ts/test/break-cursive.ts index 7d6c5b1d19a4..8c42b74624df 100644 --- a/frontend/src/ts/test/break-ligatures.ts +++ b/frontend/src/ts/test/break-cursive.ts @@ -3,9 +3,9 @@ import { ElementWithUtils } from "../utils/dom"; function canBreak(wordEl: ElementWithUtils): boolean { if (Config.typedEffect !== "dots") return false; - if (wordEl.hasClass("broken-ligatures")) return false; + if (wordEl.hasClass("broken-cursive")) return false; - return wordEl.getParent()?.hasClass("withLigatures") ?? false; + return wordEl.getParent()?.hasClass("cursiveScript") ?? false; } function applyIfNeeded(wordEl: ElementWithUtils): void { @@ -25,28 +25,25 @@ function applyIfNeeded(wordEl: ElementWithUtils): void { wordEl.setStyle({ width: "" }); wordEl.addClass("needs-wrap"); } - wordEl.addClass("broken-ligatures"); + wordEl.addClass("broken-cursive"); } function reset(wordEl: ElementWithUtils): void { - if (!wordEl.hasClass("broken-ligatures")) return; - wordEl.removeClass("broken-ligatures"); + if (!wordEl.hasClass("broken-cursive")) return; + wordEl.removeClass("broken-cursive"); wordEl.removeClass("needs-wrap"); wordEl.setStyle({ width: "" }); } -export function set( - wordEl: ElementWithUtils, - areLigaturesBroken: boolean, -): void { - areLigaturesBroken ? applyIfNeeded(wordEl) : reset(wordEl); +export function set(wordEl: ElementWithUtils, cursiveBroken: boolean): void { + cursiveBroken ? applyIfNeeded(wordEl) : reset(wordEl); } export function update(key: string, wordsEl: ElementWithUtils): void { const words = wordsEl.qsa(".word.typed"); const shouldReset = - !wordsEl.hasClass("withLigatures") || + !wordsEl.hasClass("cursiveScript") || Config.typedEffect !== "dots" || key === "fontFamily" || key === "fontSize"; diff --git a/frontend/src/ts/test/funbox/funbox-functions.ts b/frontend/src/ts/test/funbox/funbox-functions.ts index 1c65da0b870a..73caebae602c 100644 --- a/frontend/src/ts/test/funbox/funbox-functions.ts +++ b/frontend/src/ts/test/funbox/funbox-functions.ts @@ -745,7 +745,7 @@ const list: Partial> = { lang.name, { noLazyMode: lang.noLazyMode, - ligatures: lang.ligatures, + cursiveScript: lang.cursiveScript, rightToLeft: lang.rightToLeft, additionalAccents: lang.additionalAccents, }, diff --git a/frontend/src/ts/test/funbox/funbox.ts b/frontend/src/ts/test/funbox/funbox.ts index de19d9a93452..09b22b93ff35 100644 --- a/frontend/src/ts/test/funbox/funbox.ts +++ b/frontend/src/ts/test/funbox/funbox.ts @@ -115,8 +115,8 @@ export async function activate( return false; } - if (language.ligatures) { - if (isFunboxActiveWithProperty("noLigatures")) { + if (language.cursiveScript) { + if (isFunboxActiveWithProperty("noCursive")) { showNoticeNotification( "Current language does not support this funbox mode", ); diff --git a/frontend/src/ts/test/test-logic.ts b/frontend/src/ts/test/test-logic.ts index 3ce10c09a91a..aa36f0ee9990 100644 --- a/frontend/src/ts/test/test-logic.ts +++ b/frontend/src/ts/test/test-logic.ts @@ -515,7 +515,7 @@ async function init(): Promise { let wordsHaveTab = false; let wordsHaveNewline = false; let allRightToLeft: boolean | undefined = undefined; - let allLigatures: boolean | undefined = undefined; + let allCursiveScript: boolean | undefined = undefined; let generatedWords: string[] = []; let generatedSectionIndexes: number[] = []; try { @@ -524,7 +524,7 @@ async function init(): Promise { generatedSectionIndexes = gen.sectionIndexes; wordsHaveTab = gen.hasTab; wordsHaveNewline = gen.hasNewline; - ({ allRightToLeft, allLigatures } = gen); + ({ allRightToLeft, allCursiveScript } = gen); } catch (e) { hideLoaderBar(); if (e instanceof WordGenError || e instanceof Error) { @@ -588,7 +588,7 @@ async function init(): Promise { ); } Funbox.toggleScript(TestWords.words.getCurrent()); - TestUI.setLigatures(allLigatures ?? language.ligatures ?? false); + TestUI.setCursiveClass(allCursiveScript ?? language.cursiveScript ?? false); const isLanguageRTL = allRightToLeft ?? language.rightToLeft ?? false; TestState.setIsLanguageRightToLeft(isLanguageRTL); diff --git a/frontend/src/ts/test/test-ui.ts b/frontend/src/ts/test/test-ui.ts index 71e3ca0fa80c..5dd03f61871d 100644 --- a/frontend/src/ts/test/test-ui.ts +++ b/frontend/src/ts/test/test-ui.ts @@ -52,7 +52,7 @@ import * as MonkeyPower from "../elements/monkey-power"; import * as SlowTimer from "../legacy-states/slow-timer"; import * as CompositionDisplay from "../elements/composition-display"; import * as AdController from "../controllers/ad-controller"; -import * as Ligatures from "./break-ligatures"; +import * as Cursive from "./break-cursive"; import * as LayoutfluidFunboxTimer from "../test/funbox/layoutfluid-funbox-timer"; import * as Keymap from "../elements/keymap"; import * as ThemeController from "../controllers/theme-controller"; @@ -147,7 +147,7 @@ export function updateActiveElement( if (previousActiveWord !== null) { if (direction === "forward") { previousActiveWord.addClass("typed"); - Ligatures.set(previousActiveWord, true); + Cursive.set(previousActiveWord, true); } else if (direction === "back") { // } @@ -164,7 +164,7 @@ export function updateActiveElement( newActiveWord.addClass("active"); newActiveWord.removeClass("error"); newActiveWord.removeClass("typed"); - Ligatures.set(newActiveWord, false); + Cursive.set(newActiveWord, false); activeWordTop = newActiveWord.getOffsetTop(); activeWordHeight = newActiveWord.getOffsetHeight(); @@ -1240,15 +1240,15 @@ export async function lineJump( return; } -export function setLigatures(isEnabled: boolean): void { +export function setCursiveClass(isEnabled: boolean): void { if (isEnabled || Config.mode === "custom" || Config.mode === "zen") { - wordsEl.addClass("withLigatures"); - qs("#resultWordsHistory .words")?.addClass("withLigatures"); - qs("#resultReplay .words")?.addClass("withLigatures"); + wordsEl.addClass("cursiveScript"); + qs("#resultWordsHistory .words")?.addClass("cursiveScript"); + qs("#resultReplay .words")?.addClass("cursiveScript"); } else { - wordsEl.removeClass("withLigatures"); - qs("#resultWordsHistory .words")?.removeClass("withLigatures"); - qs("#resultReplay .words")?.removeClass("withLigatures"); + wordsEl.removeClass("cursiveScript"); + qs("#resultWordsHistory .words")?.removeClass("cursiveScript"); + qs("#resultReplay .words")?.removeClass("cursiveScript"); } } @@ -2083,7 +2083,7 @@ configEvent.subscribe(({ key, newValue }) => { ) { if (key !== "fontFamily") updateWordWrapperClasses(); if (["typedEffect", "fontFamily", "fontSize"].includes(key)) { - Ligatures.update(key, wordsEl); + Cursive.update(key, wordsEl); } } if (["tapeMode", "tapeMargin"].includes(key)) { diff --git a/frontend/src/ts/test/words-generator.ts b/frontend/src/ts/test/words-generator.ts index 4302df510bfe..dd7d08e1bd74 100644 --- a/frontend/src/ts/test/words-generator.ts +++ b/frontend/src/ts/test/words-generator.ts @@ -602,7 +602,7 @@ type GenerateWordsReturn = { hasTab: boolean; hasNewline: boolean; allRightToLeft?: boolean; - allLigatures?: boolean; + allCursiveScript?: boolean; }; let previousRandomQuote: QuoteWithTextSplit | null = null; @@ -625,7 +625,7 @@ export async function generateWords( hasTab: false, hasNewline: false, allRightToLeft: language.rightToLeft, - allLigatures: language.ligatures ?? false, + allCursiveScript: language.cursiveScript ?? false, }; isCurrentlyUsingFunboxSection = isFunboxActiveWithFunction("pullSection"); @@ -661,10 +661,10 @@ export async function generateWords( if (result instanceof PolyglotWordset) { const polyglotResult = result; currentWordset = polyglotResult; - // set allLigatures if any language in languageProperties has ligatures true - ret.allLigatures = Array.from( + // set allCursiveScript if any language in languageProperties has cursiveScript: true + ret.allCursiveScript = Array.from( polyglotResult.languageProperties.values(), - ).some((props) => !!props.ligatures); + ).some((props) => !!props.cursiveScript); } else { currentWordset = result; } diff --git a/frontend/src/ts/utils/json-data.ts b/frontend/src/ts/utils/json-data.ts index 3151e9ce5daa..b8399a53a2a5 100644 --- a/frontend/src/ts/utils/json-data.ts +++ b/frontend/src/ts/utils/json-data.ts @@ -82,7 +82,7 @@ export async function getLayout(layoutName: string): Promise { // used for polyglot wordset language-specific properties export type LanguageProperties = Pick< LanguageObject, - "noLazyMode" | "ligatures" | "rightToLeft" | "additionalAccents" + "noLazyMode" | "cursiveScript" | "rightToLeft" | "additionalAccents" >; let currentLanguage: LanguageObject; diff --git a/frontend/static/funbox/backwards.css b/frontend/static/funbox/backwards.css index 10d73f96a7e9..4577de481fbd 100644 --- a/frontend/static/funbox/backwards.css +++ b/frontend/static/funbox/backwards.css @@ -6,6 +6,6 @@ direction: ltr; } -#words.withLigatures .word { +#words.cursiveScript .word { unicode-bidi: bidi-override; } diff --git a/frontend/static/funbox/choo_choo.css b/frontend/static/funbox/choo_choo.css index 93d62a478f9b..a8ba19e493a8 100644 --- a/frontend/static/funbox/choo_choo.css +++ b/frontend/static/funbox/choo_choo.css @@ -18,6 +18,6 @@ } #words letter, -#words.withLigatures .word letter { +#words.cursiveScript .word letter { display: inline-block; } diff --git a/frontend/static/funbox/earthquake.css b/frontend/static/funbox/earthquake.css index 3a4b59749050..c29d4ef86731 100644 --- a/frontend/static/funbox/earthquake.css +++ b/frontend/static/funbox/earthquake.css @@ -42,6 +42,6 @@ } #words letter, -#words.withLigatures .word letter { +#words.cursiveScript .word letter { display: inline-block; } diff --git a/frontend/static/languages/amharic.json b/frontend/static/languages/amharic.json index cba7650a902f..e133f190742c 100644 --- a/frontend/static/languages/amharic.json +++ b/frontend/static/languages/amharic.json @@ -1,6 +1,5 @@ { "name": "amharic", - "ligatures": false, "bcp47": "am-ET", "words": [ "እግዚአብሔር", diff --git a/frontend/static/languages/amharic_1k.json b/frontend/static/languages/amharic_1k.json index b9938163b0af..c03a367d48a7 100644 --- a/frontend/static/languages/amharic_1k.json +++ b/frontend/static/languages/amharic_1k.json @@ -1,6 +1,5 @@ { "name": "amharic_1k", - "ligatures": false, "bcp47": "am-ET", "words": [ "መለየት", diff --git a/frontend/static/languages/amharic_5k.json b/frontend/static/languages/amharic_5k.json index d5f6efabde61..a06e6fe6e283 100644 --- a/frontend/static/languages/amharic_5k.json +++ b/frontend/static/languages/amharic_5k.json @@ -1,6 +1,5 @@ { "name": "amharic_5k", - "ligatures": false, "bcp47": "am-ET", "words": [ "ሙዚቀኝነት", diff --git a/frontend/static/languages/arabic.json b/frontend/static/languages/arabic.json index 9a08dd1dfcb7..a8aff6acb609 100644 --- a/frontend/static/languages/arabic.json +++ b/frontend/static/languages/arabic.json @@ -1,7 +1,7 @@ { "name": "arabic", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "ar-SA", "words": [ "أَتَمَنَّى", diff --git a/frontend/static/languages/arabic_10k.json b/frontend/static/languages/arabic_10k.json index 7f0b0929c70f..3f166d03321e 100644 --- a/frontend/static/languages/arabic_10k.json +++ b/frontend/static/languages/arabic_10k.json @@ -1,7 +1,7 @@ { "name": "arabic_10k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "ar-SA", "words": [ " اِكْتَشَفَ", diff --git a/frontend/static/languages/arabic_egypt.json b/frontend/static/languages/arabic_egypt.json index 88fb632835e0..ca51307b014d 100644 --- a/frontend/static/languages/arabic_egypt.json +++ b/frontend/static/languages/arabic_egypt.json @@ -1,7 +1,7 @@ { "name": "arabic_egypt", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "ar-EG", "words": [ "ازيك", diff --git a/frontend/static/languages/arabic_egypt_1k.json b/frontend/static/languages/arabic_egypt_1k.json index aa65be1b2b7c..e03432e1f0ba 100644 --- a/frontend/static/languages/arabic_egypt_1k.json +++ b/frontend/static/languages/arabic_egypt_1k.json @@ -1,7 +1,7 @@ { "name": "arabic_egypt_1k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "ar-EG", "words": [ "بلاش", diff --git a/frontend/static/languages/arabic_morocco.json b/frontend/static/languages/arabic_morocco.json index 7304ee3ab8a9..b9fb3f5fa471 100644 --- a/frontend/static/languages/arabic_morocco.json +++ b/frontend/static/languages/arabic_morocco.json @@ -1,7 +1,7 @@ { "name": "arabic_morocco", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "orderedByFrequency": false, "bcp47": "ar-MA", "words": [ diff --git a/frontend/static/languages/bangla.json b/frontend/static/languages/bangla.json index ce50e41930b3..553a0eec8997 100644 --- a/frontend/static/languages/bangla.json +++ b/frontend/static/languages/bangla.json @@ -1,6 +1,6 @@ { "name": "bangla", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "bn-BD", "words": [ diff --git a/frontend/static/languages/bangla_10k.json b/frontend/static/languages/bangla_10k.json index 418810697afd..45babf6e8b72 100644 --- a/frontend/static/languages/bangla_10k.json +++ b/frontend/static/languages/bangla_10k.json @@ -1,6 +1,6 @@ { "name": "bangla_10k", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "bn_BD", "words": [ diff --git a/frontend/static/languages/bangla_letters.json b/frontend/static/languages/bangla_letters.json index 5fe7b3e2ca13..c98104bf987c 100644 --- a/frontend/static/languages/bangla_letters.json +++ b/frontend/static/languages/bangla_letters.json @@ -1,6 +1,6 @@ { "name": "bangla_letters", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "bn-BD", "words": [ diff --git a/frontend/static/languages/bulgarian.json b/frontend/static/languages/bulgarian.json index 0f0ced2400bd..dd735dc1dc5a 100644 --- a/frontend/static/languages/bulgarian.json +++ b/frontend/static/languages/bulgarian.json @@ -1,7 +1,6 @@ { "name": "bulgarian", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": false, "bcp47": "bg", "noLazyMode": true, diff --git a/frontend/static/languages/bulgarian_1k.json b/frontend/static/languages/bulgarian_1k.json index ee5cc419373a..05cbf627c2a7 100644 --- a/frontend/static/languages/bulgarian_1k.json +++ b/frontend/static/languages/bulgarian_1k.json @@ -1,7 +1,6 @@ { "name": "bulgarian_1k", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": false, "bcp47": "bg", "noLazyMode": true, diff --git a/frontend/static/languages/bulgarian_latin.json b/frontend/static/languages/bulgarian_latin.json index abe7937e8cdf..9580d9e64aa6 100644 --- a/frontend/static/languages/bulgarian_latin.json +++ b/frontend/static/languages/bulgarian_latin.json @@ -1,7 +1,6 @@ { "name": "bulgarian_latin", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": false, "bcp47": "bg", "noLazyMode": true, diff --git a/frontend/static/languages/bulgarian_latin_1k.json b/frontend/static/languages/bulgarian_latin_1k.json index cedc09b479d5..84043f637572 100644 --- a/frontend/static/languages/bulgarian_latin_1k.json +++ b/frontend/static/languages/bulgarian_latin_1k.json @@ -1,7 +1,6 @@ { "name": "bulgarian_latin_1k", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": false, "bcp47": "bg", "noLazyMode": true, diff --git a/frontend/static/languages/code_elixir.json b/frontend/static/languages/code_elixir.json index fadbc452d30e..119a6ee1ff9f 100644 --- a/frontend/static/languages/code_elixir.json +++ b/frontend/static/languages/code_elixir.json @@ -1,6 +1,5 @@ { "name": "code_elixir", - "ligatures": true, "words": [ "__CALLER__", "__DIR__", diff --git a/frontend/static/languages/code_gleam.json b/frontend/static/languages/code_gleam.json index fb28fb003bf2..d5038aa3a1a3 100644 --- a/frontend/static/languages/code_gleam.json +++ b/frontend/static/languages/code_gleam.json @@ -1,6 +1,5 @@ { "name": "code_gleam", - "ligatures": true, "words": [ "!", "!=", diff --git a/frontend/static/languages/code_latex.json b/frontend/static/languages/code_latex.json index 310df637f6f6..48cebf770db9 100644 --- a/frontend/static/languages/code_latex.json +++ b/frontend/static/languages/code_latex.json @@ -1,7 +1,6 @@ { "name": "code_latex", "noLazyMode": true, - "ligatures": false, "words": [ "\\documentclass", "\\usepackage", diff --git a/frontend/static/languages/code_typst.json b/frontend/static/languages/code_typst.json index bd9f85323883..c20f1c91366a 100644 --- a/frontend/static/languages/code_typst.json +++ b/frontend/static/languages/code_typst.json @@ -1,7 +1,6 @@ { "name": "code_typst", "noLazyMode": true, - "ligatures": false, "words": [ "#use", "#set par(justify: true)", diff --git a/frontend/static/languages/code_zig.json b/frontend/static/languages/code_zig.json index d24955a5d122..828d7bbd8ed2 100644 --- a/frontend/static/languages/code_zig.json +++ b/frontend/static/languages/code_zig.json @@ -1,7 +1,6 @@ { "name": "code_zig", "noLazyMode": true, - "ligatures": false, "words": [ "std.debug.print", "std.mem.Allocator", diff --git a/frontend/static/languages/english_doubleletter.json b/frontend/static/languages/english_doubleletter.json index 0910186eda5b..6eb81844ac30 100644 --- a/frontend/static/languages/english_doubleletter.json +++ b/frontend/static/languages/english_doubleletter.json @@ -1,7 +1,6 @@ { "name": "english_doubleletter", "_comment": "Sourced from https://www.panopy.com/iphone/secret-ada/double-letter-words.html and https://grammar.yourdictionary.com/word-lists/words-with-double-letters.html", - "ligatures": false, "noLazyMode": true, "orderedByFrequency": false, "bcp47": "en-US", diff --git a/frontend/static/languages/euskera.json b/frontend/static/languages/euskera.json index de0dcf909350..b2533c1d44c3 100644 --- a/frontend/static/languages/euskera.json +++ b/frontend/static/languages/euskera.json @@ -1,7 +1,6 @@ { "name": "euskera", "rightToLeft": false, - "ligatures": false, "bcp47": "eu", "words": [ "eta", diff --git a/frontend/static/languages/gujarati.json b/frontend/static/languages/gujarati.json index fd1c2b9e2c05..92277eb76328 100644 --- a/frontend/static/languages/gujarati.json +++ b/frontend/static/languages/gujarati.json @@ -1,7 +1,7 @@ { "name": "gujarati", "rightToLeft": false, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "gu-IN", "words": [ diff --git a/frontend/static/languages/gujarati_1k.json b/frontend/static/languages/gujarati_1k.json index 4716ee4fbef7..fbcbeaa8d137 100644 --- a/frontend/static/languages/gujarati_1k.json +++ b/frontend/static/languages/gujarati_1k.json @@ -1,7 +1,7 @@ { "name": "gujarati_1k", "rightToLeft": false, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "gu-IN", "words": [ diff --git a/frontend/static/languages/hawaiian.json b/frontend/static/languages/hawaiian.json index 9db7111a57c2..0485ec6ebbe7 100644 --- a/frontend/static/languages/hawaiian.json +++ b/frontend/static/languages/hawaiian.json @@ -1,7 +1,6 @@ { "name": "hawaiian", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": true, "bcp47": "haw", "words": [ diff --git a/frontend/static/languages/hawaiian_1k.json b/frontend/static/languages/hawaiian_1k.json index 2e15064d4387..bcd3de868480 100644 --- a/frontend/static/languages/hawaiian_1k.json +++ b/frontend/static/languages/hawaiian_1k.json @@ -1,7 +1,6 @@ { "name": "hawaiian_1k", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": true, "bcp47": "haw", "words": [ diff --git a/frontend/static/languages/hebrew.json b/frontend/static/languages/hebrew.json index 60ca3b2de67f..431d591662b6 100644 --- a/frontend/static/languages/hebrew.json +++ b/frontend/static/languages/hebrew.json @@ -1,7 +1,7 @@ { "name": "hebrew", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "he-IL", "words": [ diff --git a/frontend/static/languages/hebrew_10k.json b/frontend/static/languages/hebrew_10k.json index 07bf49563255..44210e7ccfbc 100755 --- a/frontend/static/languages/hebrew_10k.json +++ b/frontend/static/languages/hebrew_10k.json @@ -1,7 +1,7 @@ { "name": "hebrew_10k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "he-IL", "words": [ "של", diff --git a/frontend/static/languages/hebrew_1k.json b/frontend/static/languages/hebrew_1k.json index 7a7953720d17..0812517b0a8d 100755 --- a/frontend/static/languages/hebrew_1k.json +++ b/frontend/static/languages/hebrew_1k.json @@ -1,7 +1,7 @@ { "name": "hebrew_1k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "he-IL", "words": [ "של", diff --git a/frontend/static/languages/hebrew_5k.json b/frontend/static/languages/hebrew_5k.json index 6dbd98a000e9..b0187f511401 100755 --- a/frontend/static/languages/hebrew_5k.json +++ b/frontend/static/languages/hebrew_5k.json @@ -1,7 +1,7 @@ { "name": "hebrew_5k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "he-IL", "words": [ "של", diff --git a/frontend/static/languages/hindi.json b/frontend/static/languages/hindi.json index ac9d62f4b384..29a7931ac7ae 100644 --- a/frontend/static/languages/hindi.json +++ b/frontend/static/languages/hindi.json @@ -1,6 +1,6 @@ { "name": "hindi", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "hi-IN", "words": [ diff --git a/frontend/static/languages/hindi_1k.json b/frontend/static/languages/hindi_1k.json index ebc5767179e4..a006719e78d0 100644 --- a/frontend/static/languages/hindi_1k.json +++ b/frontend/static/languages/hindi_1k.json @@ -1,6 +1,6 @@ { "name": "hindi_1k", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "hi-IN", "words": [ diff --git a/frontend/static/languages/hinglish.json b/frontend/static/languages/hinglish.json index a7d68fc7d527..6d3c8244bf89 100644 --- a/frontend/static/languages/hinglish.json +++ b/frontend/static/languages/hinglish.json @@ -1,6 +1,5 @@ { "name": "hinglish", - "ligatures": false, "words": [ "aagaya", "aaj", diff --git a/frontend/static/languages/jyutping.json b/frontend/static/languages/jyutping.json index 28016431991a..05d98a1ae848 100644 --- a/frontend/static/languages/jyutping.json +++ b/frontend/static/languages/jyutping.json @@ -1,6 +1,5 @@ { "name": "jyutping", - "ligatures": false, "bcp47": "zh-Hant", "words": [ "hai", diff --git a/frontend/static/languages/kannada.json b/frontend/static/languages/kannada.json index cfb816a51768..45ae94dfede6 100644 --- a/frontend/static/languages/kannada.json +++ b/frontend/static/languages/kannada.json @@ -2,7 +2,7 @@ "name": "kannada", "noLazyMode": true, "bcp47": "kn-IN", - "ligatures": true, + "cursiveScript": true, "orderedByFrequency": true, "words": [ "ಆದರ", diff --git a/frontend/static/languages/khmer.json b/frontend/static/languages/khmer.json index f4c0c4709a3c..9c510c7819ff 100644 --- a/frontend/static/languages/khmer.json +++ b/frontend/static/languages/khmer.json @@ -1,6 +1,6 @@ { "name": "khmer", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "km-KH", "words": [ diff --git a/frontend/static/languages/kokanu.json b/frontend/static/languages/kokanu.json index 2c09ab582522..a9d54bf6ea3c 100644 --- a/frontend/static/languages/kokanu.json +++ b/frontend/static/languages/kokanu.json @@ -1,7 +1,6 @@ { "name": "kokanu", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": false, "bcp47": "xxs-Lat", "words": [ diff --git a/frontend/static/languages/korean.json b/frontend/static/languages/korean.json index cf5707380298..d045087c12d3 100644 --- a/frontend/static/languages/korean.json +++ b/frontend/static/languages/korean.json @@ -1,6 +1,6 @@ { "name": "korean", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "ko-KR", "words": [ diff --git a/frontend/static/languages/korean_1k.json b/frontend/static/languages/korean_1k.json index 844e2b3f27e6..60cd4f6c5b82 100644 --- a/frontend/static/languages/korean_1k.json +++ b/frontend/static/languages/korean_1k.json @@ -1,6 +1,6 @@ { "name": "korean_1k", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "ko-KR", "words": [ diff --git a/frontend/static/languages/korean_5k.json b/frontend/static/languages/korean_5k.json index e513501e4073..f0bacf6181d2 100644 --- a/frontend/static/languages/korean_5k.json +++ b/frontend/static/languages/korean_5k.json @@ -1,6 +1,6 @@ { "name": "korean_5k", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "ko-KR", "words": [ diff --git a/frontend/static/languages/kurdish_central.json b/frontend/static/languages/kurdish_central.json index 41e11abed78b..085ae1c2563f 100644 --- a/frontend/static/languages/kurdish_central.json +++ b/frontend/static/languages/kurdish_central.json @@ -1,7 +1,7 @@ { "name": "kurdish_central", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "ckb", "words": [ "من", diff --git a/frontend/static/languages/kurdish_central_2k.json b/frontend/static/languages/kurdish_central_2k.json index dfd53ebbc42e..0b07c351f087 100644 --- a/frontend/static/languages/kurdish_central_2k.json +++ b/frontend/static/languages/kurdish_central_2k.json @@ -1,7 +1,7 @@ { "name": "kurdish_central_2k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "ckb", "words": [ "ناو", diff --git a/frontend/static/languages/kurdish_central_4k.json b/frontend/static/languages/kurdish_central_4k.json index 05878ea51bd7..416dcf5b7c49 100644 --- a/frontend/static/languages/kurdish_central_4k.json +++ b/frontend/static/languages/kurdish_central_4k.json @@ -1,7 +1,7 @@ { "name": "kurdish_central_4k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "ckb", "words": [ "ئاب", diff --git a/frontend/static/languages/kyrgyz.json b/frontend/static/languages/kyrgyz.json index 0e9d6cf1c603..cdd3d264fea1 100644 --- a/frontend/static/languages/kyrgyz.json +++ b/frontend/static/languages/kyrgyz.json @@ -1,6 +1,5 @@ { "name": "kyrgyz", - "ligatures": false, "bcp47": "ky-KY", "words": [ "мен", diff --git a/frontend/static/languages/kyrgyz_1k.json b/frontend/static/languages/kyrgyz_1k.json index c848fbc747a1..de802b630212 100644 --- a/frontend/static/languages/kyrgyz_1k.json +++ b/frontend/static/languages/kyrgyz_1k.json @@ -1,7 +1,6 @@ { "name": "kyrgyz_1k", "rightToLeft": false, - "ligatures": false, "bcp47": "ky-KY", "words": [ "мен", diff --git a/frontend/static/languages/latvian.json b/frontend/static/languages/latvian.json index aecfeeb8f756..1f11276e1eaf 100644 --- a/frontend/static/languages/latvian.json +++ b/frontend/static/languages/latvian.json @@ -1,6 +1,5 @@ { "name": "latvian", - "ligatures": false, "bcp47": "lv", "words": [ "kā", diff --git a/frontend/static/languages/latvian_1k.json b/frontend/static/languages/latvian_1k.json index deed438890cd..ee599ecc79a5 100644 --- a/frontend/static/languages/latvian_1k.json +++ b/frontend/static/languages/latvian_1k.json @@ -1,6 +1,5 @@ { "name": "latvian_1k", - "ligatures": false, "bcp47": "lv", "words": [ "kā", diff --git a/frontend/static/languages/likanu.json b/frontend/static/languages/likanu.json index 81c5f24189ef..8c5bb87c2584 100644 --- a/frontend/static/languages/likanu.json +++ b/frontend/static/languages/likanu.json @@ -1,7 +1,7 @@ { "name": "likanu", "rightToLeft": false, - "ligatures": true, + "cursiveScript": true, "orderedByFrequency": false, "bcp47": "xxs-Uixs", "words": [ diff --git a/frontend/static/languages/lorem_ipsum.json b/frontend/static/languages/lorem_ipsum.json index df225eb19b64..0598511de9ee 100644 --- a/frontend/static/languages/lorem_ipsum.json +++ b/frontend/static/languages/lorem_ipsum.json @@ -1,7 +1,6 @@ { "name": "lorem_ipsum", "_comment": "Sourced from https://loremipsum.io/generator/?n=5&t=p and https://www.lipsum.com/feed/html", - "ligatures": false, "noLazyMode": true, "bcp47": "en-US", "words": [ diff --git a/frontend/static/languages/malay.json b/frontend/static/languages/malay.json index 40e6626a4549..ba1fcaf9f18c 100644 --- a/frontend/static/languages/malay.json +++ b/frontend/static/languages/malay.json @@ -1,7 +1,6 @@ { "name": "malay", "rightToLeft": false, - "ligatures": false, "bcp47": "ms", "words": [ "aku", diff --git a/frontend/static/languages/malay_1k.json b/frontend/static/languages/malay_1k.json index 3f7d10c62028..819bd87b5bb9 100644 --- a/frontend/static/languages/malay_1k.json +++ b/frontend/static/languages/malay_1k.json @@ -1,7 +1,6 @@ { "name": "malay_1k", "rightToLeft": false, - "ligatures": false, "bcp47": "ms", "words": [ "sebagai", diff --git a/frontend/static/languages/malayalam.json b/frontend/static/languages/malayalam.json index 7ef715f8535d..28c838325ee3 100644 --- a/frontend/static/languages/malayalam.json +++ b/frontend/static/languages/malayalam.json @@ -1,7 +1,7 @@ { "name": "malayalam", "noLazyMode": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "ml-IN", "words": [ "അടി", diff --git a/frontend/static/languages/maltese.json b/frontend/static/languages/maltese.json index 77dfb187a386..baf436c3c9c3 100644 --- a/frontend/static/languages/maltese.json +++ b/frontend/static/languages/maltese.json @@ -1,6 +1,5 @@ { "name": "maltese", - "ligatures": false, "bcp47": "mt", "words": [ "bħala", diff --git a/frontend/static/languages/maltese_1k.json b/frontend/static/languages/maltese_1k.json index 6ec5f37cccc2..4881f541c24a 100644 --- a/frontend/static/languages/maltese_1k.json +++ b/frontend/static/languages/maltese_1k.json @@ -1,6 +1,5 @@ { "name": "maltese_1k", - "ligatures": false, "bcp47": "mt", "words": [ "bħala", diff --git a/frontend/static/languages/myanmar_burmese.json b/frontend/static/languages/myanmar_burmese.json index 3997bdad49ef..6d180d320a1e 100644 --- a/frontend/static/languages/myanmar_burmese.json +++ b/frontend/static/languages/myanmar_burmese.json @@ -1,6 +1,6 @@ { "name": "myanmar_burmese", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "my-MM", "words": [ diff --git a/frontend/static/languages/nepali.json b/frontend/static/languages/nepali.json index 9308b2ce9a89..295cba976dbd 100644 --- a/frontend/static/languages/nepali.json +++ b/frontend/static/languages/nepali.json @@ -1,6 +1,6 @@ { "name": "nepali", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "ne-NP", "words": [ diff --git a/frontend/static/languages/nepali_1k.json b/frontend/static/languages/nepali_1k.json index 95ad4fa21dc3..9fb0301f0761 100644 --- a/frontend/static/languages/nepali_1k.json +++ b/frontend/static/languages/nepali_1k.json @@ -1,6 +1,6 @@ { "name": "nepali_1k", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "ne-NP", "words": [ diff --git a/frontend/static/languages/nepali_romanized.json b/frontend/static/languages/nepali_romanized.json index c0530f8acb7d..6442701fe716 100644 --- a/frontend/static/languages/nepali_romanized.json +++ b/frontend/static/languages/nepali_romanized.json @@ -1,7 +1,6 @@ { "name": "nepali_romanized", "rightToLeft": false, - "ligatures": false, "words": [ "aahar", "aaisakyo", diff --git a/frontend/static/languages/oromo.json b/frontend/static/languages/oromo.json index 595e4c453e79..bbca40955056 100644 --- a/frontend/static/languages/oromo.json +++ b/frontend/static/languages/oromo.json @@ -1,6 +1,5 @@ { "name": "oromo", - "ligatures": false, "orderedByFrequency": true, "bcp47": "om", "words": [ diff --git a/frontend/static/languages/oromo_1k.json b/frontend/static/languages/oromo_1k.json index aecb14d4f93b..752351ff7e93 100644 --- a/frontend/static/languages/oromo_1k.json +++ b/frontend/static/languages/oromo_1k.json @@ -1,6 +1,5 @@ { "name": "oromo_1k", - "ligatures": false, "orderedByFrequency": true, "bcp47": "om", "words": [ diff --git a/frontend/static/languages/oromo_5k.json b/frontend/static/languages/oromo_5k.json index cd617fdafc0a..7a71960fce30 100644 --- a/frontend/static/languages/oromo_5k.json +++ b/frontend/static/languages/oromo_5k.json @@ -1,6 +1,5 @@ { "name": "oromo_5k", - "ligatures": false, "orderedByFrequency": true, "bcp47": "om", "words": [ diff --git a/frontend/static/languages/pashto.json b/frontend/static/languages/pashto.json index 45e38205949c..0b96111154c9 100644 --- a/frontend/static/languages/pashto.json +++ b/frontend/static/languages/pashto.json @@ -1,7 +1,7 @@ { "name": "pashto", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "ps", "words": [ diff --git a/frontend/static/languages/persian.json b/frontend/static/languages/persian.json index 03592e222376..d73680f08f7e 100644 --- a/frontend/static/languages/persian.json +++ b/frontend/static/languages/persian.json @@ -1,7 +1,7 @@ { "name": "persian", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "fa", "words": [ diff --git a/frontend/static/languages/persian_1k.json b/frontend/static/languages/persian_1k.json index 26684560830e..db6b5c02c79b 100644 --- a/frontend/static/languages/persian_1k.json +++ b/frontend/static/languages/persian_1k.json @@ -1,7 +1,7 @@ { "name": "persian_1k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "fa", "words": [ diff --git a/frontend/static/languages/persian_20k.json b/frontend/static/languages/persian_20k.json index 00fe2b255b4a..fa873abfb36a 100644 --- a/frontend/static/languages/persian_20k.json +++ b/frontend/static/languages/persian_20k.json @@ -1,7 +1,7 @@ { "name": "persian_20k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "fa", "words": [ diff --git a/frontend/static/languages/persian_5k.json b/frontend/static/languages/persian_5k.json index f08a8a4153cf..bcab380c3032 100644 --- a/frontend/static/languages/persian_5k.json +++ b/frontend/static/languages/persian_5k.json @@ -1,7 +1,7 @@ { "name": "persian_5k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "fa", "words": [ diff --git a/frontend/static/languages/persian_romanized.json b/frontend/static/languages/persian_romanized.json index c77085a335ad..6282545f7acb 100644 --- a/frontend/static/languages/persian_romanized.json +++ b/frontend/static/languages/persian_romanized.json @@ -1,6 +1,5 @@ { "name": "persian_romanized", - "ligatures": false, "noLazyMode": true, "bcp47": "fa", "words": [ diff --git a/frontend/static/languages/pokemon_1k.json b/frontend/static/languages/pokemon_1k.json index 9e34bd9bf388..b8ef26586d4d 100644 --- a/frontend/static/languages/pokemon_1k.json +++ b/frontend/static/languages/pokemon_1k.json @@ -1,7 +1,6 @@ { "name": "pokemon_1k", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": false, "bcp47": "en", "words": [ diff --git a/frontend/static/languages/sanskrit.json b/frontend/static/languages/sanskrit.json index 565e2d82c2c6..64da6a34c865 100644 --- a/frontend/static/languages/sanskrit.json +++ b/frontend/static/languages/sanskrit.json @@ -1,6 +1,6 @@ { "name": "sanskrit", - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "sa", "words": [ diff --git a/frontend/static/languages/sanskrit_roman.json b/frontend/static/languages/sanskrit_roman.json index 418bf8620150..d3644814a418 100644 --- a/frontend/static/languages/sanskrit_roman.json +++ b/frontend/static/languages/sanskrit_roman.json @@ -1,6 +1,5 @@ { "name": "sanskrit_roman", - "ligatures": true, "bcp47": "sa", "words": [ "aṃhu", diff --git a/frontend/static/languages/santali.json b/frontend/static/languages/santali.json index f9eb45ac5de9..0e1555c5a0fb 100644 --- a/frontend/static/languages/santali.json +++ b/frontend/static/languages/santali.json @@ -1,7 +1,6 @@ { "name": "santali", "_comment": "Foundational Language Tech: Santali Wordlist. O Foundation. CC0 1.0. (2021)", - "ligatures": false, "bcp47": "sat-IN", "words": [ "ᱚᱞ", diff --git a/frontend/static/languages/serbian.json b/frontend/static/languages/serbian.json index a087e81f0461..9f7485964b27 100644 --- a/frontend/static/languages/serbian.json +++ b/frontend/static/languages/serbian.json @@ -2,7 +2,6 @@ "name": "serbian", "noLazyMode": true, "rightToLeft": false, - "ligatures": false, "bcp47": "sr-Cyrl", "words": [ "као", diff --git a/frontend/static/languages/serbian_10k.json b/frontend/static/languages/serbian_10k.json index c2c9cfa79165..fbe242243185 100644 --- a/frontend/static/languages/serbian_10k.json +++ b/frontend/static/languages/serbian_10k.json @@ -2,7 +2,6 @@ "name": "serbian_10k", "noLazyMode": true, "rightToLeft": false, - "ligatures": false, "bcp47": "sr-Cyrl", "words": [ "је", diff --git a/frontend/static/languages/serbian_latin.json b/frontend/static/languages/serbian_latin.json index 4accff76f306..19a13085aeec 100644 --- a/frontend/static/languages/serbian_latin.json +++ b/frontend/static/languages/serbian_latin.json @@ -1,7 +1,6 @@ { "name": "serbian_latin", "rightToLeft": false, - "ligatures": false, "bcp47": "sr-Latn", "additionalAccents": [["đ", "dj"]], "words": [ diff --git a/frontend/static/languages/serbian_latin_10k.json b/frontend/static/languages/serbian_latin_10k.json index 961a2688b4c6..5521ef6bbaf7 100644 --- a/frontend/static/languages/serbian_latin_10k.json +++ b/frontend/static/languages/serbian_latin_10k.json @@ -1,7 +1,6 @@ { "name": "serbian_latin_10k", "rightToLeft": false, - "ligatures": false, "bcp47": "sr-Latn", "additionalAccents": [["đ", "dj"]], "words": [ diff --git a/frontend/static/languages/sinhala.json b/frontend/static/languages/sinhala.json index 07fa1e83e8bd..40f2df45c4ca 100644 --- a/frontend/static/languages/sinhala.json +++ b/frontend/static/languages/sinhala.json @@ -1,6 +1,6 @@ { "name": "sinhala", - "ligatures": true, + "cursiveScript": true, "bcp47": "si", "words": [ "අක්ෂර", diff --git a/frontend/static/languages/tamil.json b/frontend/static/languages/tamil.json index 9f15925625fd..e2bc6d7f38d3 100644 --- a/frontend/static/languages/tamil.json +++ b/frontend/static/languages/tamil.json @@ -2,7 +2,7 @@ "name": "tamil", "noLazyMode": true, "bcp47": "ta-IN", - "ligatures": true, + "cursiveScript": true, "orderedByFrequency": true, "words": [ "இதழ்", diff --git a/frontend/static/languages/tamil_1k.json b/frontend/static/languages/tamil_1k.json index 49ea3c9cbec1..c9f82b0bf65a 100644 --- a/frontend/static/languages/tamil_1k.json +++ b/frontend/static/languages/tamil_1k.json @@ -2,7 +2,7 @@ "name": "tamil_1k", "noLazyMode": true, "bcp47": "ta-IN", - "ligatures": true, + "cursiveScript": true, "orderedByFrequency": true, "words": [ "இதழ்", diff --git a/frontend/static/languages/tamil_old.json b/frontend/static/languages/tamil_old.json index d50df940c15d..7c694b58d5eb 100644 --- a/frontend/static/languages/tamil_old.json +++ b/frontend/static/languages/tamil_old.json @@ -1,7 +1,7 @@ { "name": "tamil_old", "rightToLeft": false, - "ligatures": true, + "cursiveScript": true, "bcp47": "ta", "words": [ "அஞ்சல்", diff --git a/frontend/static/languages/tanglish.json b/frontend/static/languages/tanglish.json index 0e2abbb047c7..966e781b31d0 100644 --- a/frontend/static/languages/tanglish.json +++ b/frontend/static/languages/tanglish.json @@ -1,7 +1,6 @@ { "name": "tanglish", "rightToLeft": false, - "ligatures": false, "words": [ "macha", "mama", diff --git a/frontend/static/languages/telugu.json b/frontend/static/languages/telugu.json index 2c34bd2fe05a..2e7024a63dab 100644 --- a/frontend/static/languages/telugu.json +++ b/frontend/static/languages/telugu.json @@ -2,7 +2,7 @@ "name": "telugu", "noLazyMode": true, "bcp47": "te-IN", - "ligatures": true, + "cursiveScript": true, "words": [ "గా", "నేను", diff --git a/frontend/static/languages/telugu_1k.json b/frontend/static/languages/telugu_1k.json index 50a42b309109..1c2c9b015e39 100644 --- a/frontend/static/languages/telugu_1k.json +++ b/frontend/static/languages/telugu_1k.json @@ -2,7 +2,7 @@ "name": "telugu_1k", "noLazyMode": true, "bcp47": "te-IN", - "ligatures": true, + "cursiveScript": true, "words": [ "గా", "నేను", diff --git a/frontend/static/languages/tibetan.json b/frontend/static/languages/tibetan.json index bfa2982558a0..901fda433431 100644 --- a/frontend/static/languages/tibetan.json +++ b/frontend/static/languages/tibetan.json @@ -1,7 +1,7 @@ { "name": "tibetan", "rightToLeft": false, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "bo-TI", "words": [ diff --git a/frontend/static/languages/tibetan_1k.json b/frontend/static/languages/tibetan_1k.json index 52ce69926de8..b0ea90eceeb0 100644 --- a/frontend/static/languages/tibetan_1k.json +++ b/frontend/static/languages/tibetan_1k.json @@ -1,7 +1,7 @@ { "name": "tibetan_1k", "rightToLeft": false, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "bcp47": "bo-TI", "words": [ diff --git a/frontend/static/languages/urdish.json b/frontend/static/languages/urdish.json index 362a232ae569..7a8e35160129 100644 --- a/frontend/static/languages/urdish.json +++ b/frontend/static/languages/urdish.json @@ -1,6 +1,5 @@ { "name": "urdish", - "ligatures": false, "words": [ "aadmi", "aurat", diff --git a/frontend/static/languages/urdu.json b/frontend/static/languages/urdu.json index 0098078d55b8..283999e94309 100644 --- a/frontend/static/languages/urdu.json +++ b/frontend/static/languages/urdu.json @@ -1,7 +1,7 @@ { "name": "urdu", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "words": [ "آئے", diff --git a/frontend/static/languages/urdu_1k.json b/frontend/static/languages/urdu_1k.json index 1c4b290d4481..2442b1c5804c 100644 --- a/frontend/static/languages/urdu_1k.json +++ b/frontend/static/languages/urdu_1k.json @@ -1,7 +1,7 @@ { "name": "urdu_1k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "words": [ "آلائش", diff --git a/frontend/static/languages/urdu_5k.json b/frontend/static/languages/urdu_5k.json index df729adf14bc..436e72a76999 100644 --- a/frontend/static/languages/urdu_5k.json +++ b/frontend/static/languages/urdu_5k.json @@ -1,7 +1,7 @@ { "name": "urdu_5k", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "noLazyMode": true, "words": [ "کے", diff --git a/frontend/static/languages/urdu_roman.json b/frontend/static/languages/urdu_roman.json index 5f6c49a80d5d..bbbe8c1e6ff8 100644 --- a/frontend/static/languages/urdu_roman.json +++ b/frontend/static/languages/urdu_roman.json @@ -1,7 +1,6 @@ { "name": "urdu_roman", "rightToLeft": false, - "ligatures": false, "orderedByFrequency": false, "bcp47": "ur-Latn", "words": [ diff --git a/frontend/static/languages/uzbek.json b/frontend/static/languages/uzbek.json index f7fd81a99821..dc1ecbd2fb6a 100644 --- a/frontend/static/languages/uzbek.json +++ b/frontend/static/languages/uzbek.json @@ -1,6 +1,5 @@ { "name": "uzbek", - "ligatures": false, "rightToLeft": false, "bcp47": "uz-UZ", "words": [ diff --git a/frontend/static/languages/uzbek_1k.json b/frontend/static/languages/uzbek_1k.json index a6fab4199fa1..662743f7f338 100644 --- a/frontend/static/languages/uzbek_1k.json +++ b/frontend/static/languages/uzbek_1k.json @@ -1,6 +1,5 @@ { "name": "uzbek_1k", - "ligatures": false, "rightToLeft": false, "bcp47": "uz-UZ", "words": [ diff --git a/frontend/static/languages/uzbek_70k.json b/frontend/static/languages/uzbek_70k.json index 8eba74b6e905..7f9a165a3a91 100644 --- a/frontend/static/languages/uzbek_70k.json +++ b/frontend/static/languages/uzbek_70k.json @@ -1,6 +1,5 @@ { "name": "uzbek_70k", - "ligatures": false, "rightToLeft": false, "bcp47": "uz-UZ", "words": [ diff --git a/frontend/static/languages/welsh.json b/frontend/static/languages/welsh.json index 4d1d1e7633dc..2b4f067ac591 100644 --- a/frontend/static/languages/welsh.json +++ b/frontend/static/languages/welsh.json @@ -1,6 +1,5 @@ { "name": "welsh", - "ligatures": false, "words": [ "yn", "y", diff --git a/frontend/static/languages/welsh_1k.json b/frontend/static/languages/welsh_1k.json index 75115dbbbb98..e6bfe4476c53 100644 --- a/frontend/static/languages/welsh_1k.json +++ b/frontend/static/languages/welsh_1k.json @@ -1,6 +1,5 @@ { "name": "welsh_1k", - "ligatures": false, "words": [ "yn", "y", diff --git a/frontend/static/languages/xhosa.json b/frontend/static/languages/xhosa.json index 4fe801fbae79..6a7052dceed3 100644 --- a/frontend/static/languages/xhosa.json +++ b/frontend/static/languages/xhosa.json @@ -1,7 +1,6 @@ { "name": "xhosa", "rightToLeft": false, - "ligatures": false, "bcp47": "xh", "words": [ "intyatyambo", diff --git a/frontend/static/languages/yiddish.json b/frontend/static/languages/yiddish.json index 04270cfc40d0..cc4de47252b3 100644 --- a/frontend/static/languages/yiddish.json +++ b/frontend/static/languages/yiddish.json @@ -1,7 +1,7 @@ { "name": "yiddish", "rightToLeft": true, - "ligatures": true, + "cursiveScript": true, "bcp47": "yi", "additionalAccents": [ ["אַ", "א"], diff --git a/frontend/static/languages/zulu.json b/frontend/static/languages/zulu.json index cf386a5ab3be..977700f27e70 100644 --- a/frontend/static/languages/zulu.json +++ b/frontend/static/languages/zulu.json @@ -1,6 +1,5 @@ { "name": "zulu", - "ligatures": false, "words": [ "umnotho", "inkinga", diff --git a/packages/funbox/src/list.ts b/packages/funbox/src/list.ts index 19cd30abca89..d107af0de32d 100644 --- a/packages/funbox/src/list.ts +++ b/packages/funbox/src/list.ts @@ -80,7 +80,7 @@ const list: Record = { difficultyLevel: 2, properties: [ "hasCssFile", - "noLigatures", + "noCursive", "conflictsWithSymmetricChars", "ignoreReducedMotion", ], @@ -163,7 +163,7 @@ const list: Record = { description: "Everybody get down! The words are shaking!", canGetPb: true, difficultyLevel: 1, - properties: ["hasCssFile", "noLigatures", "ignoreReducedMotion"], + properties: ["hasCssFile", "noCursive", "ignoreReducedMotion"], name: "earthquake", cssModifications: ["words"], }, @@ -400,7 +400,7 @@ const list: Record = { description: "Go back to the 1980s", canGetPb: true, difficultyLevel: 0, - properties: ["hasCssFile", "noLigatures"], + properties: ["hasCssFile", "noCursive"], frontendFunctions: ["applyGlobalCSS", "clearGlobal"], name: "crt", cssModifications: ["body"], @@ -423,7 +423,7 @@ const list: Record = { description: "TTyyppee eevveerryytthhiinngg ttwwiiccee..", canGetPb: true, difficultyLevel: 1, - properties: ["noLigatures"], + properties: ["noCursive"], frontendFunctions: ["alterText"], name: "ddoouubblleedd", }, @@ -463,7 +463,7 @@ const list: Record = { description: "Practice american sign language.", canGetPb: true, difficultyLevel: 1, - properties: ["hasCssFile", "noLigatures"], + properties: ["hasCssFile", "noCursive"], name: "asl", cssModifications: ["words"], }, diff --git a/packages/funbox/src/types.ts b/packages/funbox/src/types.ts index 104174ff3245..2131af839583 100644 --- a/packages/funbox/src/types.ts +++ b/packages/funbox/src/types.ts @@ -18,7 +18,7 @@ export type FunboxProperty = | "speaks" | "unspeakable" | "noInfiniteDuration" - | "noLigatures" + | "noCursive" | `toPush:${number}` | "wordOrder:reverse" | "reverseDirection" diff --git a/packages/schemas/src/languages.ts b/packages/schemas/src/languages.ts index 0cd95490e981..13ad30fe2fda 100644 --- a/packages/schemas/src/languages.ts +++ b/packages/schemas/src/languages.ts @@ -453,7 +453,7 @@ export const LanguageObjectSchema = z name: LanguageSchema, rightToLeft: z.boolean().optional(), noLazyMode: z.boolean().optional(), - ligatures: z.boolean().optional(), + cursiveScript: z.boolean().optional(), orderedByFrequency: z.boolean().optional(), words: z.array(z.string()).min(1), additionalAccents: z