diff --git a/crates/doc/src/setup.rs b/crates/doc/src/setup.rs index c269181536..706ff42bd1 100644 --- a/crates/doc/src/setup.rs +++ b/crates/doc/src/setup.rs @@ -186,6 +186,15 @@ pub const LANGUAGES: &[(&str, &str, Quotes)] = &[ ("Malayalam", "ml", Quotes::ENGLISH), ("Odia", "or", Quotes::ENGLISH), ("Urdu", "ur", Quotes::ENGLISH), + // “…” outside, ‘…’ inside: CLDR gives these no delimiters of their own (`↑↑↑`, inherited), so + // they take root's (https://github.com/unicode-org/cldr/blob/main/common/main/root.xml, + // `delimiters`): sa.xml, ne.xml, as.xml, kok.xml and sd.xml (Arabic script; sd_Deva.xml for + // Devanagari inherits too) in https://github.com/unicode-org/cldr/blob/main/common/main/. + ("Sanskrit", "sa", Quotes { double: ['“', '”'], single: ['‘', '’'] }), + ("Nepali", "ne", Quotes { double: ['“', '”'], single: ['‘', '’'] }), + ("Assamese", "as", Quotes { double: ['“', '”'], single: ['‘', '’'] }), + ("Konkani", "kok", Quotes { double: ['“', '”'], single: ['‘', '’'] }), + ("Sindhi", "sd", Quotes { double: ['“', '”'], single: ['‘', '’'] }), ]; /// The quotes of a [`LANGUAGES`] entry (case-insensitive). @@ -386,6 +395,11 @@ mod tests { assert_eq!(char_language("sr-latn"), Ok(Some("sr-Latn"))); assert_eq!(char_language("Croatian"), Ok(Some("hr"))); assert_eq!(char_language_name(Some("sr-Cyrl")), Some("Serbian: Cyrillic")); + // Sanskrit, Nepali, Assamese, Konkani (a three-letter tag) and Sindhi, by name or tag. + for (name, tag) in [("Sanskrit", "sa"), ("Nepali", "ne"), ("Assamese", "as"), ("Konkani", "kok"), ("Sindhi", "sd")] { + assert_eq!((char_language(name), char_language(&tag.to_uppercase())), (Ok(Some(tag)), Ok(Some(tag))), "{name}"); + assert_eq!(char_language_name(Some(tag)), Some(name)); + } // Every entry has a tag of its own, and a name of its own. for (i, (n, t, _)) in LANGUAGES.iter().enumerate() { assert!(LANGUAGES.iter().skip(i + 1).all(|(n2, t2, _)| n2 != n && t2 != t), "{n} {t}"); @@ -409,6 +423,11 @@ mod tests { } let mut prev = None; assert_eq!(language_quotes("croatian").unwrap().apply("\"a 'b' c\"", &mut prev), "„a ‚b‘ c“"); + // Sanskrit, Nepali, Assamese, Konkani and Sindhi take CLDR root's quotes. + for name in ["Sanskrit", "Nepali", "Assamese", "Konkani", "Sindhi"] { + let mut prev = None; + assert_eq!(language_quotes(name).unwrap().apply("\"a 'b' c\"", &mut prev), "“a ‘b’ c”", "{name}"); + } // Converting in pieces keeps the context. let mut prev = None; let a = Quotes::ENGLISH.apply("\"", &mut prev); diff --git a/crates/engine/src/tests/docsetup.rs b/crates/engine/src/tests/docsetup.rs index c1c70ac07e..a7ae320b0e 100644 --- a/crates/engine/src/tests/docsetup.rs +++ b/crates/engine/src/tests/docsetup.rs @@ -162,6 +162,27 @@ fn language_picks_its_quotes_unless_quotes_are_given() { assert_eq!((setup(&s).quotes.double, setup(&s).quotes.single), (['“', '”'], ['‹', '›'])); } +/// Sanskrit, Nepali, Assamese, Konkani and Sindhi (#4943): each is a document language, new type +/// takes its tag, and each can be set on a text by name or tag. +#[test] +fn the_further_indian_languages_are_document_and_text_languages() { + let mut s = session(); + let id = create_text(&mut s, "a"); + for (name, tag) in [("Sanskrit", "sa"), ("Nepali", "ne"), ("Assamese", "as"), ("Konkani", "kok"), ("Sindhi", "sd")] { + s.execute("document.setup", &json!({"language": name.to_lowercase()})).unwrap(); + assert_eq!((setup(&s).language.as_str(), setup(&s).quotes.double), (name, ['“', '”'])); + let new = create_text(&mut s, "b"); + assert_eq!(text(&s, new).runs[0].style.language.as_deref(), Some(tag), "new type in {name}"); + s.execute("document.setup", &json!({"language": "English: USA"})).unwrap(); + s.execute("select.set", &json!({"ids": [id.0]})).unwrap(); + s.execute("text.setFormat", &json!({"language": name})).unwrap(); + assert_eq!(text(&s, id).runs[0].style.language.as_deref(), Some(tag), "{name} by name"); + s.execute("text.setFormat", &json!({"language": "English: USA"})).unwrap(); + s.execute("text.setFormat", &json!({"language": tag.to_uppercase()})).unwrap(); + assert_eq!(text(&s, id).runs[0].style.language.as_deref(), Some(tag), "{name} by tag"); + } +} + #[test] fn typographers_quotes_setting_changes_typed_quotes() { let mut s = session(); diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsv index e0b4646714..6b724d6d34 100644 --- a/crates/ui-egui/src/i18n/bg.tsv +++ b/crates/ui-egui/src/i18n/bg.tsv @@ -6087,6 +6087,11 @@ breakText Glyphs Глифи Malayalam Малаялам Odia Ория Urdu Урду + Sanskrit Санскрит + Nepali Непалски + Assamese Асамски + Konkani Конкани + Sindhi Синдхи VectorCraft {release} and later (version {n}) VectorCraft {release} и по-нови (версия {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Експортиране на всички отворени документи като PDF diff --git a/crates/ui-egui/src/i18n/bs.tsv b/crates/ui-egui/src/i18n/bs.tsv index 0a730a8bb6..307fb47a38 100644 --- a/crates/ui-egui/src/i18n/bs.tsv +++ b/crates/ui-egui/src/i18n/bs.tsv @@ -6121,6 +6121,11 @@ shape Open Otvoren Malayalam Malajalam Odia Odija Urdu Urdu + Sanskrit Sanskrit + Nepali Nepalski + Assamese Asamski + Konkani Konkani + Sindhi Sindi VectorCraft {release} and later (version {n}) VectorCraft {release} i novije (verzija {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Izvezi sve otvorene dokumente kao PDF diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsv index c54c8b11de..20ae695935 100644 --- a/crates/ui-egui/src/i18n/ca.tsv +++ b/crates/ui-egui/src/i18n/ca.tsv @@ -6221,6 +6221,11 @@ breakText Glyphs Glifs Malayalam Malaiàlam Odia Oriya Urdu Urdú + Sanskrit Sànscrit + Nepali Nepalès + Assamese Assamès + Konkani Concani + Sindhi Sindi VectorCraft {release} and later (version {n}) VectorCraft {release} i posteriors (versió {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Exporta tots els documents oberts com a PDF diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index 3e535f31d7..e4189b03b3 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -6235,6 +6235,11 @@ breakText Glyphs Glyfy Malayalam Malajálamština Odia Urijština Urdu Urdština + Sanskrit Sanskrt + Nepali Nepálština + Assamese Ásámština + Konkani Konkánština + Sindhi Sindhština VectorCraft {release} and later (version {n}) VectorCraft {release} a novější (verze {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Exportovat všechny otevřené dokumenty jako PDF diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv index dd3b54a4e2..d2fb1349fb 100644 --- a/crates/ui-egui/src/i18n/da.tsv +++ b/crates/ui-egui/src/i18n/da.tsv @@ -6103,6 +6103,11 @@ breakText Glyphs Glyffer Malayalam Malayalam Odia Oriya Urdu Urdu + Sanskrit Sanskrit + Nepali Nepalesisk + Assamese Assamesisk + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} og nyere (version {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Eksportér alle åbne dokumenter som PDF diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index 4956d08d4c..1ddf569dd0 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -5821,6 +5821,11 @@ breakText Glyphs Glyphen Malayalam Malayalam Odia Oriya Urdu Urdu + Sanskrit Sanskrit + Nepali Nepalesisch + Assamese Assamesisch + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} und neuer (Version {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Alle geöffneten Dokumente als PDF exportieren diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index d73cddb44b..e70bf28df2 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -6187,6 +6187,11 @@ breakText Glyphs Γλύφοι Malayalam Μαλαγιάλαμ Odia Όντια Urdu Ούρντου + Sanskrit Σανσκριτικά + Nepali Νεπαλικά + Assamese Ασαμικά + Konkani Κονκανικά + Sindhi Σίντι VectorCraft {release} and later (version {n}) VectorCraft {release} και νεότερες (έκδοση {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Εξαγωγή όλων των ανοιχτών εγγράφων ως PDF diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index b43199c7e9..c9e1ee76e1 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -6177,6 +6177,11 @@ breakText Glyphs Glifos Malayalam Malayálam Odia Oriya Urdu Urdu + Sanskrit Sánscrito + Nepali Nepalí + Assamese Asamés + Konkani Konkaní + Sindhi Sindi VectorCraft {release} and later (version {n}) VectorCraft {release} y posteriores (versión {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Exportar todos los documentos abiertos como PDF diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index b211b4c481..0b9f9994db 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -6265,6 +6265,11 @@ breakText Glyphs Merkit Malayalam Malajalam Odia Orija Urdu Urdu + Sanskrit Sanskrit + Nepali Nepali + Assamese Assami + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} ja uudemmat (versio {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Vie kaikki avoimet asiakirjat PDF-muodossa diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index d80d26230d..a675037940 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -6230,6 +6230,11 @@ breakText Glyphs Glyphes Malayalam Malayalam Odia Odia Urdu Ourdou + Sanskrit Sanskrit + Nepali Népalais + Assamese Assamais + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} et ultérieures (version {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Exporter tous les documents ouverts en PDF diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index 5e5fae2043..a9d7f1615f 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -6219,6 +6219,11 @@ breakText Glyphs Glifák Malayalam Malajálam Odia Odia Urdu Urdu + Sanskrit Szanszkrit + Nepali Nepáli + Assamese Asszámi + Konkani Konkani + Sindhi Szindhi VectorCraft {release} and later (version {n}) VectorCraft {release} és újabb (verzió: {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Az összes megnyitott dokumentum exportálása PDF-ként diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv index 987d8db0de..b18b2e5bc4 100644 --- a/crates/ui-egui/src/i18n/id.tsv +++ b/crates/ui-egui/src/i18n/id.tsv @@ -6103,6 +6103,11 @@ breakText Glyphs Glif Malayalam Malayalam Odia Oriya Urdu Urdu + Sanskrit Sanskerta + Nepali Nepali + Assamese Assam + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} dan yang lebih baru (versi {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Ekspor Semua Dokumen Terbuka sebagai PDF diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index 1f43f530ba..7dca688024 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -5855,6 +5855,11 @@ breakText Glyphs Glifi Malayalam Malayalam Odia Odia Urdu Urdu + Sanskrit Sanscrito + Nepali Nepalese + Assamese Assamese + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} e successive (versione {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Esporta tutti i documenti aperti come PDF diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 6c3b728695..0f09328eb7 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -5920,6 +5920,11 @@ breakText Glyphs 字形 Malayalam マラヤーラム語 Odia オディア語 Urdu ウルドゥー語 + Sanskrit サンスクリット語 + Nepali ネパール語 + Assamese アッサム語 + Konkani コンカニ語 + Sindhi シンド語 VectorCraft {release} and later (version {n}) VectorCraft {release} 以降 (バージョン {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF 開いているすべてのドキュメントを PDF として書き出し diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index f85b3bcd5c..3961398aeb 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -6223,6 +6223,11 @@ breakText Glyphs გლიფები Malayalam მალაიალამური Odia ორია Urdu ურდუ + Sanskrit სანსკრიტი + Nepali ნეპალური + Assamese ასამური + Konkani კონკანი + Sindhi სინდჰური VectorCraft {release} and later (version {n}) VectorCraft {release} და უფრო ახალი (ვერსია {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF ყველა ღია დოკუმენტის ექსპორტი PDF-ად diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index 7a83c0316e..5130834fa4 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -5816,6 +5816,11 @@ breakText Glyphs 글리프 Malayalam 말라얄람어 Odia 오리야어 Urdu 우르두어 + Sanskrit 산스크리트어 + Nepali 네팔어 + Assamese 아삼어 + Konkani 코카니어 + Sindhi 신디어 VectorCraft {release} and later (version {n}) VectorCraft {release} 이상 (버전 {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF 열린 모든 문서를 PDF로 내보내기 diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index 8d1deb5043..a173a8e423 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -6147,6 +6147,11 @@ breakText Glyphs Glyphs Malayalam Malayalam Odia Odia Urdu Urdu + Sanskrit Sanskriet + Nepali Nepalees + Assamese Assamees + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} en nieuwer (versie {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Alle geopende documenten exporteren als PDF diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index c3ba696532..ecbe665946 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -6090,6 +6090,11 @@ breakText Glyphs Glify Malayalam Malajalam Odia Orija Urdu Urdu + Sanskrit Sanskryt + Nepali Nepalski + Assamese Asamski + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} i nowsze (wersja {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Eksportuj wszystkie otwarte dokumenty jako PDF diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index e0af75dda4..6299441a8a 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -6153,6 +6153,11 @@ breakText Glyphs Glifos Malayalam Malaiala Odia Oriá Urdu Urdu + Sanskrit Sânscrito + Nepali Nepalês + Assamese Assamês + Konkani Concani + Sindhi Sindi VectorCraft {release} and later (version {n}) VectorCraft {release} e posteriores (versão {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Exportar todos os documentos abertos como PDF diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index b37b9a3193..ac2d32b02c 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -6212,6 +6212,11 @@ breakText Glyphs Глифы Malayalam Малаялам Odia Ория Urdu Урду + Sanskrit Санскрит + Nepali Непальский + Assamese Ассамский + Konkani Конкани + Sindhi Синдхи VectorCraft {release} and later (version {n}) VectorCraft {release} и новее (версия {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Экспортировать все открытые документы в PDF diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index ab678406c1..272f50d8d6 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -6287,6 +6287,11 @@ breakText Glyphs Glyfer Malayalam Malayalam Odia Oriya Urdu Urdu + Sanskrit Sanskrit + Nepali Nepalesiska + Assamese Assamesiska + Konkani Konkani + Sindhi Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} och senare (version {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Exportera alla öppna dokument som PDF diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index 78ffc5ae73..44548ec610 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -6192,6 +6192,11 @@ breakText Glyphs Glifler Malayalam Malayalam dili Odia Oriya dili Urdu Urduca + Sanskrit Sanskrit + Nepali Nepalce + Assamese Assamca + Konkani Konkani dili + Sindhi Sindhi dili VectorCraft {release} and later (version {n}) VectorCraft {release} ve sonrası (sürüm {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Tüm Açık Belgeleri PDF Olarak Dışa Aktar diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index 87a8a1a612..a7b16b1023 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -5835,6 +5835,11 @@ breakText Glyphs Гліфи Malayalam Малаялам Odia Одія Urdu Урду + Sanskrit Санскрит + Nepali Непальська + Assamese Ассамська + Konkani Конкані + Sindhi Синдхі VectorCraft {release} and later (version {n}) VectorCraft {release} і новіші (версія {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Експортувати всі відкриті документи як PDF diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index 3856eef442..8c51ea2423 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -5836,6 +5836,11 @@ breakText Glyphs Glyph Malayalam Tiếng Malayalam Odia Tiếng Odia Urdu Tiếng Urdu + Sanskrit Tiếng Phạn + Nepali Tiếng Nepal + Assamese Tiếng Assam + Konkani Tiếng Konkani + Sindhi Tiếng Sindhi VectorCraft {release} and later (version {n}) VectorCraft {release} trở lên (phiên bản {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF Xuất tất cả tài liệu đang mở dưới dạng PDF diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index 78542f8a25..5751d4c5ba 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -6076,6 +6076,11 @@ breakText Glyphs 字形 Malayalam 马拉雅拉姆语 Odia 奥里亚语 Urdu 乌尔都语 + Sanskrit 梵语 + Nepali 尼泊尔语 + Assamese 阿萨姆语 + Konkani 孔卡尼语 + Sindhi 信德语 VectorCraft {release} and later (version {n}) VectorCraft {release} 及更高版本 (版本 {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF 将所有打开的文档导出为 PDF diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index a7bcd23d81..8a42734867 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -5873,6 +5873,11 @@ breakText Glyphs 字符 Malayalam 馬來亞拉姆文 Odia 歐利亞文 Urdu 烏都文 + Sanskrit 梵文 + Nepali 尼泊爾文 + Assamese 阿薩姆文 + Konkani 貢根文 + Sindhi 信德文 VectorCraft {release} and later (version {n}) VectorCraft {release} 及更新版本 (版本 {n}) # Document Tools add-on: Export All Open Documents (#4920). Export All Open Documents as PDF 將所有開啟的文件匯出為 PDF diff --git a/docs/type-parity.md b/docs/type-parity.md index 5e506c2360..5ec0ef53a2 100644 --- a/docs/type-parity.md +++ b/docs/type-parity.md @@ -1,6 +1,6 @@ # Type parity -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-03 · **Change:** minor (Touch Type moves right-to-left characters along their line; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x) +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-04 · **Change:** minor (Sanskrit, Nepali, Assamese, Konkani and Sindhi in the language list; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x) Type is Illustrator's largest single area by use (weight 13 of 105 across "Type core" and "Type advanced" in [target-app-parity.md](target-app-parity.md)). This checklist lists the features one by one. Status is from the @@ -65,7 +65,7 @@ against Illustrator's public documentation; **estimated** unless noted. | CJK: manual tate-chu-yoko | done | Character panel menu › Tate-chu-yoko (`text.setFormat` / `text.setRangeStyle {tateChuYoko}`), with Show East Asian Options: marked characters stand side by side across one em of a vertical column, squeezed to the em when wider; two or three half-width digits still do so without the mark; horizontal type keeps the mark and does not move them. Tate-chu-yoko Settings… (`ui.tateChuYokoSettings`, `{tcyUpDown, tcyLeftRight}` in points) moves a marked block up or down and right or left as one piece. Evidence: `tests_vertical::manual_tate_chu_yoko_sets_marked_characters_across_one_em`, `tests_vertical::tate_chu_yoko_settings_move_a_marked_block_up_down_left_and_right`, `typecmd::tate_chu_yoko_is_a_character_attribute_saved_only_when_on`, `typecmd::tate_chu_yoko_settings_are_character_attributes_saved_only_when_set`, `dialogs::tate_chu_yoko::tests` | | CJK: Standard Vertical Roman Alignment | done | Character panel menu › Standard Vertical Roman Alignment (`text.setFormat` / `text.setRangeStyle {standardVerticalRoman}`), with Show East Asian Options, off by default: in vertical type the marked half-width characters (Latin letters, digits and other characters that would lie on their side) stand upright one below the other, each in its upright cell; spaces keep their width and tate-chu-yoko blocks stay across the column; horizontal type keeps the mark and does not change. Character Style Options has its own checkbox for it. Evidence: `tests_vertical::standard_vertical_roman_alignment_stands_half_width_characters_upright`, `typecmd::standard_vertical_roman_is_a_character_attribute_saved_only_when_on` | | CJK: ruby, manual tate-chu-yoko | partial | ruby (ふりがな) for live text (`type.ruby`): a reading over a byte range, above (right of the column in vertical type) or below, start/centre/end alignment, size, overhang or squeeze; saved natively, laid out with its line growing, drawn on the canvas, in SVG and PDF (as outlines where ruby is present), in EPS, EMF/WMF and legacy `.ai` (legacy `.ai` writes type with ruby as outlines), and kept by Create Outlines, Expand Appearance and flattening, each glyph where the layout puts it (`typecmd::ruby_tests::create_outlines_keeps_the_ruby_where_it_is_laid_out`); manual tate-chu-yoko missing | #633 | -| Language per character (Character panel › Language, character styles), text shaped in it | done | `text.setFormat` / `text.setRangeStyle {language}` by name or BCP 47 tag, one of Document Setup's languages (Hindi, Marathi, Gujarati, Bengali, Punjabi, Tamil, Telugu, Kannada, Malayalam, Odia and Urdu added, #4943; Serbian: Cyrillic, Serbian: Latin and Croatian); the shaper gets the tag, so the font's language forms apply (OpenType `locl`: Turkish keeps `fi` apart and the dot on its i, #4940); new type takes the document's language; saved as the tag only when set, carried by character styles (#4946). Not yet: hyphenation and spelling by it, `.ai`/PDF import of a text's language, paragraph styles. Evidence: `features::tests::language_picks_the_fonts_forms`, `features::tests::serbian_gets_the_fonts_serbian_forms`, `typecmd::area_tests::language_is_a_character_attribute_saved_only_when_set` | +| Language per character (Character panel › Language, character styles), text shaped in it | done | `text.setFormat` / `text.setRangeStyle {language}` by name or BCP 47 tag, one of Document Setup's languages (Hindi, Marathi, Gujarati, Bengali, Punjabi, Tamil, Telugu, Kannada, Malayalam, Odia, Urdu, Sanskrit, Nepali, Assamese, Konkani and Sindhi added, #4943; Serbian: Cyrillic, Serbian: Latin and Croatian); the shaper gets the tag, so the font's language forms apply (OpenType `locl`: Turkish keeps `fi` apart and the dot on its i, #4940); new type takes the document's language; saved as the tag only when set, carried by character styles (#4946). Not yet: hyphenation and spelling by it, `.ai`/PDF import of a text's language, paragraph styles. Evidence: `features::tests::language_picks_the_fonts_forms`, `features::tests::serbian_gets_the_fonts_serbian_forms`, `typecmd::area_tests::language_is_a_character_attribute_saved_only_when_set`, `tests::docsetup::the_further_indian_languages_are_document_and_text_languages` | | No Break | done | Character panel menu (`text.setFormat` / `text.setRangeStyle {noBreak}`): the marked characters stay on one line, including across a space; a run that does not fit after earlier text moves together, and a run longer than the line stays together. Evidence: `layout::wrapping_tests::no_break_keeps_marked_characters_on_one_line`, `tests::no_break_keeps_marked_words_on_one_line`, `typecmd::no_break_is_a_character_attribute_saved_only_when_on` | | CJK: ruby | missing | #633 | | Inline symbols in text | beyond Illustrator | not scored | @@ -77,6 +77,7 @@ Character Styles menu New/Redefine and footer New capture the first selected cha | Date | Change | Summary | |---|---|---| +| 2026-11-04 | minor | Sanskrit (`sa`), Nepali (`ne`), Assamese (`as`), Konkani (`kok`) and Sindhi (`sd`) in the language list (#4943), with “…” and ‘…’, which [CLDR](https://github.com/unicode-org/cldr/blob/main/common/main/) gives them by inheriting [root](https://github.com/unicode-org/cldr/blob/main/common/main/root.xml); scores unchanged | | 2026-11-03 | minor | Character-menu Kashidas controls selected characters separately from the paragraph's Insert Kashidas length. Existing text allows Kashidas by default; scores and estimates unchanged. | | 2026-11-03 | minor | Type on a Path Options has a Preview checkbox: the type follows the fields while it is on, Cancel restores it, OK is one undo step (#5360, as public tutorials of the dialog show); scores and estimates unchanged. | | 2026-11-02 | minor | The wheel over Character, Properties and Control font-family fields changes selected text, one undo step per notch (#5253); scores and estimates unchanged. |