Merge pull request #3131 from storytold/fix/batch-zd-followups

Batch follow-ups: #3004 test prints, #3095 catalog rows, #3042 doc banners
This commit is contained in:
BFlat
2026-10-19 23:17:58 +07:00
committed by GitHub
27 changed files with 23 additions and 35 deletions
-26
View File
@@ -60,14 +60,6 @@ fn type_arrows_keep_devanagari_clusters_with_an_rtl_suffix() {
eprintln!("SKIPPED: type_arrows_keep_devanagari_clusters_with_an_rtl_suffix; no installed candidate font covers the Hindi input");
return;
};
eprintln!(
"TYPE_ARROW_FONT: {} {}; version={}; bytes={}; face_index={}",
face.family,
face.style,
face.version,
face.file_data().len(),
face.face_index()
);
assert!(hindi.chars().all(|ch| face.covers(ch)), "the selected face covers the unchanged Hindi prefix");
let style = CharStyle { font_family: face.family.clone(), font_style: face.style.clone(), size: 20.0, ..Default::default() };
@@ -106,15 +98,10 @@ fn type_arrows_keep_devanagari_clusters_with_an_rtl_suffix() {
assert_eq!(tool.editing, Some(id));
assert_eq!(tool.sel(), (second, second), "{case}: collapsed caret before Right");
assert!(tool.typing.is_none(), "{case}: no pending typing session");
eprintln!(
"TYPE_ARROW_PRE_ASSERT_READY: case={case}; hindi_spans={hindi_spans:?}; visual_route={visual_route}; caret={}; anchor={}",
tool.caret, tool.anchor
);
key(&mut tool, &d, ToolKey::Right, Mods::default());
assert_eq!((tool.caret, tool.anchor), (hindi.len(), hindi.len()), "{case}: Right must move 6 -> 18 across the Hindi cluster");
key(&mut tool, &d, ToolKey::Left, Mods::default());
assert_eq!((tool.caret, tool.anchor), (second, second), "{case}: Left must move 18 -> 6 across the Hindi cluster");
eprintln!("TYPE_ARROW_CASE_COMPLETE: {case}");
}
}
@@ -139,14 +126,6 @@ fn type_arrows_keep_devanagari_clusters_across_wrapped_lines() {
eprintln!("SKIPPED: type_arrows_keep_devanagari_clusters_across_wrapped_lines; no installed candidate font covers the Hindi input");
return;
};
eprintln!(
"TYPE_WRAP_FONT: {} {}; version={}; bytes={}; face_index={}",
face.family,
face.style,
face.version,
face.file_data().len(),
face.face_index()
);
let style = CharStyle { font_family: face.family.clone(), font_style: face.style.clone(), size: 20.0, ..Default::default() };
let (mut d, id, mut tool) = editing(text);
let NodeKind::Text(t) = &mut d.node_mut(id).unwrap().kind else { panic!("text fixture") };
@@ -228,15 +207,10 @@ fn type_arrows_keep_devanagari_clusters_across_wrapped_lines() {
assert_eq!(tool.editing, Some(id));
assert_eq!(tool.sel(), (second, second), "setup: collapsed caret before Right");
assert!(tool.typing.is_none(), "setup: no pending typing session");
eprintln!(
"TYPE_WRAP_PRE_ASSERT_READY: line_end={}; next_start={}; caret={}; anchor={}",
lay.lines[0].end, lay.lines[1].start, tool.caret, tool.anchor
);
key(&mut tool, &d, ToolKey::Right, Mods::default());
assert_eq!((tool.caret, tool.anchor), (hindi.len(), hindi.len()), "wrapped Right must move 6 -> 18 across the Hindi grapheme");
key(&mut tool, &d, ToolKey::Left, Mods::default());
assert_eq!((tool.caret, tool.anchor), (second, second), "wrapped Left must move 18 -> 6 across the Hindi grapheme");
eprintln!("TYPE_WRAP_CASE_COMPLETE");
}
#[test]
+1
View File
@@ -5188,3 +5188,4 @@ theme Appearance Външен вид
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them променливите и наборите от данни на файла не бяха прочетени (променливи: {variables}, набори от данни: {data_sets}): панелът „Променливи“ не ги показва
# Select by Color (select.color)
Select by Color Избиране по цвят
Move Anchor Point Преместване на опорна точка
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5226,3 +5226,4 @@ mark-style Japanese Japonské
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them proměnné a sady dat souboru nebyly načteny (proměnné: {variables}, sady dat: {data_sets}): panel Proměnné je nezobrazuje
# Select by Color (select.color)
Select by Color Vybrat podle barvy
Move Anchor Point Přesunout kotevní bod
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5207,3 +5207,4 @@ swatch Bright Violet Kraftig violet
Justification Justering
# Select by Color (select.color)
Select by Color Markér efter farve
Move Anchor Point Flyt ankerpunkt
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -4806,3 +4806,4 @@ effect Soft Weich
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them die Variablen und Datensätze der Datei wurden nicht gelesen (Variablen: {variables}, Datensätze: {data_sets}): Das Bedienfeld „Variablen“ listet sie nicht auf
# Select by Color (select.color)
Select by Color Nach Farbe auswählen
Move Anchor Point Ankerpunkt verschieben
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5178,3 +5178,4 @@ effect Points Σημεία
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them οι μεταβλητές και τα σύνολα δεδομένων του αρχείου δεν διαβάστηκαν (μεταβλητές: {variables}, σύνολα δεδομένων: {data_sets}): ο πίνακας Μεταβλητές δεν τα εμφανίζει
# Select by Color (select.color)
Select by Color Επιλογή βάσει χρώματος
Move Anchor Point Μετακίνηση σημείου αγκύρωσης
Can't render this file because it contains an unexpected character in line 2015 and column 19.
+1
View File
@@ -5168,3 +5168,4 @@ mark-style Japanese Japonesas
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them no se leyeron las variables ni los conjuntos de datos del archivo (variables: {variables}, conjuntos de datos: {data_sets}): el panel Variables no los muestra
# Select by Color (select.color)
Select by Color Seleccionar por color
Move Anchor Point Mover punto de ancla
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5257,3 +5257,4 @@ swatch Bright Violet Kirkas violetti
Stop on Errors Pysäytä virheisiin
Save and Close Tallenna ja sulje
Play: Toista:
Move Anchor Point Siirrä ankkuripistettä
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5225,3 +5225,4 @@ theme Appearance Apparence
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them les variables et jeux de données du fichier n’ont pas été lus (variables : {variables}, jeux de données : {data_sets}) : le panneau Variables ne les affiche pas
# Select by Color (select.color)
Select by Color Sélectionner par couleur
Move Anchor Point Déplacer le point d’ancrage
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5212,3 +5212,4 @@ imageTrace Outline Körvonal
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them a fájl változói és adatkészletei nem lettek beolvasva (változók: {variables}, adatkészletek: {data_sets}): a Változók panel nem listázza őket
# Select by Color (select.color)
Select by Color Kijelölés szín szerint
Move Anchor Point Horgonypont áthelyezése
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5207,3 +5207,4 @@ swatch Bright Violet Violet cerah
Justification Justifikasi
# Select by Color (select.color)
Select by Color Pilih berdasarkan warna
Move Anchor Point Pindahkan titik jangkar
Can't render this file because it contains an unexpected character in line 3770 and column 19.
+1
View File
@@ -4840,3 +4840,4 @@ lighting Light Luce
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them le variabili e i set di dati del file non sono stati letti (variabili: {variables}, set di dati: {data_sets}): il pannello Variabili non li elenca
# Select by Color (select.color)
Select by Color Seleziona per colore
Move Anchor Point Sposta punto di ancoraggio
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -4880,3 +4880,4 @@ lighting Light ライト
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them ファイルの変数とデータセットは読み込まれませんでした (変数: {variables}、データセット: {data_sets})。変数パネルには表示されません
# Select by Color (select.color)
Select by Color カラーで選択
Move Anchor Point アンカーポイントを移動
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5133,3 +5133,4 @@ imageTrace Outline კონტური
# Select by Color (select.color)
Select by Color მონიშვნა ფერის მიხედვით
@msg thumbnail: no page {n} (the file has 1) thumbnail: გვერდი {n} არ არსებობს (ფაილს 1 გვერდი აქვს)
Move Anchor Point საყრდენი წერტილის გადაადგილება
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -4803,3 +4803,4 @@ lighting Light 광원
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them 파일의 변수와 데이터 세트를 읽지 않았습니다(변수: {variables}, 데이터 세트: {data_sets}). 변수 패널에 표시되지 않습니다
# Select by Color (select.color)
Select by Color 색상별 선택
Move Anchor Point 앵커 포인트 이동
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5249,3 +5249,4 @@ swatch Bright Violet Felviolet
Justification Uitvullen
# Select by Color (select.color)
Select by Color Selecteren op kleur
Move Anchor Point Ankerpunt verplaatsen
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5078,3 +5078,4 @@ mark-style Japanese Japońskie
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them zmienne i zestawy danych pliku nie zostały wczytane (zmienne: {variables}, zestawy danych: {data_sets}): panel Zmienne ich nie wyświetla
# Select by Color (select.color)
Select by Color Zaznacz według koloru
Move Anchor Point Przesuń punkt kontrolny
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5143,3 +5143,4 @@ mark-style Japanese Japonesas
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them as variáveis e os conjuntos de dados do arquivo não foram lidos (variáveis: {variables}, conjuntos de dados: {data_sets}): o painel Variáveis não os lista
# Select by Color (select.color)
Select by Color Selecionar por Cor
Move Anchor Point Mover Ponto de Ancoragem
Can't render this file because it contains an unexpected character in line 6 and column 47.
+1
View File
@@ -4836,3 +4836,4 @@ lighting Light Свет
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them переменные и наборы данных файла не прочитаны (переменных: {variables}, наборов данных: {data_sets}): панель «Переменные» их не показывает
# Select by Color (select.color)
Select by Color Выделить по цвету
Move Anchor Point Переместить опорную точку
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -5182,3 +5182,4 @@ theme Appearance Utseende
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them filens variabler och datauppsättningar lästes inte (variabler: {variables}, datauppsättningar: {data_sets}): panelen Variabler visar dem inte
# Select by Color (select.color)
Select by Color Markera efter färg
Move Anchor Point Flytta ankarpunkt
Can't render this file because it contains an unexpected character in line 5 and column 25.
+1
View File
@@ -4820,3 +4820,4 @@ lighting Light Світло
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them змінні та набори даних файлу не прочитано (змінних: {variables}, наборів даних: {data_sets}): панель «Змінні» їх не показує
# Select by Color (select.color)
Select by Color Виділити за кольором
Move Anchor Point Перемістити опорну точку
Can't render this file because it contains an unexpected character in line 725 and column 40.
+1
View File
@@ -4820,3 +4820,4 @@ theme Appearance Giao diện
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them các biến và tập dữ liệu của tệp chưa được đọc (biến: {variables}, tập dữ liệu: {data_sets}): bảng Biến không liệt kê chúng
# Select by Color (select.color)
Select by Color Chọn theo màu
Move Anchor Point Di chuyển điểm neo
Can't render this file because it contains an unexpected character in line 3958 and column 10.
+1
View File
@@ -5062,3 +5062,4 @@ lighting Light 光源
@msg the file's variables and data sets weren't read (variables: {variables}, data sets: {data_sets}): the Variables panel doesn't list them 文件的变量和数据集未被读取(变量:{variables},数据集:{data_sets}):“变量”面板不会列出它们
# Select by Color (select.color)
Select by Color 按颜色选择
Move Anchor Point 移动锚点
Can't render this file because it contains an unexpected character in line 2 and column 73.
+1
View File
@@ -4857,3 +4857,4 @@ lighting Light 光源
@msg {key} must be an array of non-negative integer object ids {key} 必須是由非負整數物件 id 組成的陣列
@msg invalid object id {value}: expected a non-negative integer 無效的物件 id {value}:應為非負整數
@msg no such object id {value} 沒有 id 為 {value} 的物件
Move Anchor Point 移動錨點
Can't render this file because it contains an unexpected character in line 6 and column 47.
File diff suppressed because one or more lines are too long
-4
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long