The equation editor translated only its "Error at character" prefix;
the checks in crates/math (macro definitions, % with a link, nesting,
length, matrix-cell and size limits, layout failure) stayed English.
Add the seven messages to all 18 catalogs and test them from the real
checks, with the expected English built from the limits. RaTeX parser
errors are open-ended text from the external crate and stay English.
The localization doc now marks its counts as a snapshot and states the
current status.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Strings that were built with format! in English now translate their
template first and fill it in once (Language::tr_fill), so a value
holding `{...}` is never filled again: status bar statistics and the
circular reference note, the column width / row height drag tip, the
formula bar text for a picture in a cell, the Move or Copy and Unhide
notes, the Format Control title, the equation editor's error prefix,
and the Goal Seek and macro recorder/runner toasts. New keys go into
every catalog.
Fixes#3600, #3602, #3603, #3605, #3607, #3608, #3609, #3610, #3611
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ribbon::shortcut is only reached with the command modifier, so on a Mac
Control+Q did nothing and Command+Q toggled Quick Analysis next to the
native Quit item. The keymap now maps Mac Control+Q (without Command,
Option or Shift) to Shortcut::QuickAnalysis, which shares the ribbon
handler and its single-cell alert suppression, and the ribbon Q branch
ignores Command on a Mac.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main's new `is_formula_input` now asks `starts_formula`, so cell entry and
Formulas > Recently Used read a leading sign the same way; the Python
formula check stays first. docs/ui-parity.md keeps main's rows with this
change added.
* ft-121.7.9: apply Set precision as displayed in calculation (#1343)
With the option on, a formula result (and each element of a spill) is
rounded to its cell's number format before it is stored and before other
formulas read it. Numbers typed, pasted or reformatted while it is on are
rounded at once, and turning it on through formulas.calculationOptions
{precisionAsDisplayed} rounds every number constant, as Excel does.
The rounding is NumberFormat::round_as_displayed in the numfmt crate,
which shares the renderer's digit logic (fixed, scientific, fraction).
General, date/time, text, digitless and conditional formats keep the full
value, as observed in Excel through COM. Nothing changes when the flag is
off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ft-121.7.9: round conditional formats by the sign's section under precision as displayed (#1343)
Excel does round formats with a condition when "Set precision as
displayed" is on; the PR kept them at full value. Observed through COM
with synthetic values (and in gridcraft-corpus
excel/precision-displayed/pad-on-conditional-sections.xlsx): conditions
are ignored and the sign picks the section, the first for positives and
the second for negatives. `[<1]0.00;0` shows 2+1/3 as 2 but stores 2.33,
and stores -10/3 as -3.
Two more observed details: with a condition and a single number section,
negatives keep the full value (`[<1]0.00`), unless an `@` section follows
(`[<1]0.00;@` rounds them by the first section); and a completely empty
section passes to the next one (`0.0;;0.000` stores -2.333 as -2.333,
`;0.0` stores 2.333 as 2.3), for formats with or without a condition.
Display is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* engine: recalculate spill anchors when a spill cell is reformatted under precision as displayed
round_edited_as_displayed only looked at stored-cell changes, but a spill
destination lives in Sheet::spill, so reformatting it (or its row or column) left
the anchor out of the changed set and the element unrounded. Add each spill anchor
whose range holds a changed cell or a changed row/column style to the changed set.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* numfmt: drop a cast the fraction merge made redundant
* precision as displayed: keep locked constants on protected sheets, round new sheets, fix manual-mode comment
* precision as displayed: name the input sheet in the new-sheet histogram test
* precision as displayed: use six values in the new-sheet histogram test
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The guard that puts a sep= line before a first row reading like one is for CSV, which is read
by detection. A .tsv or .txt file is read with tabs given, so the line came back as an extra
row and moved every row down (CodeRabbit). write_tsv writes without it; Save as .tsv uses it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* UI: a dialog's reference boxes belong to the sheet it was opened on, recorded when it opens rather than at the first pick
* UI: a click on the cell already selected writes it into the reference box being picked into
* Solver: references split into areas only at commas outside quoted sheet names, through one splitter shared with the reference boxes
* Solver: a constraint splits at its relation only outside quoted sheet names, in constraint text and in a model loaded from cells
* Solver: Save Model counts a constraint's areas outside quoted sheet names, and reads a number on the right side as one value whatever its separators
* UI: a Ctrl+click that follows a link is no pick of the cell already selected
The press on the grid tells the reference box being picked into that a
cell was selected only in the branches that select: Shift+click, Ctrl+click
that adds a cell, and a plain click. A Ctrl+click on a link's text follows
the link and selects nothing, so a link back to the selected cell no longer
replaces the box's text.
* UI: while a reference box picks, a second quick click on a cell picks it
A click on the same cell within the double-click interval started editing
the cell and skipped the pick, also when the earlier click came before the
box was clicked into. While a reference box is the one grid selections
fill, the double-click handling is skipped and the click picks.
* Docs: reference boxes take a second quick click as a pick; a followed link is none
* UI: while a reference box picks, a click on a link or checkbox picks its cell
A link was followed (Go To moved the selection into the box, and a web
link's question replaced the dialog) and a checkbox was toggled. While a
reference box is the one grid selections fill, a click only picks the cell
clicked, with or without Ctrl. The test of the Ctrl+click on a link back to
the selected cell becomes part of a test of links on the same sheet, a web
link and a checkbox.
Move the existing Nov4 row intact out of Window and chrome. All other lines and all production/test/dependency trees are identical to the preceding head. Structural and fmt checks pass; required aggregate CI still stops only at the unchanged Windows CLI lint. Runtime suites are not repeated for this documentation-only move.
Root verified both findings, red/green regression, matcher semantics and all five quality axes; see review-4476435045-decisions.md. No additional delegate for small confirmed fixes.
Fourteen scoped steps pass on the recorded tree, including engine/UI suites, strict Clippy and standalone gates. Required aggregate CI stops only at unchanged Windows CLI check.rs281; later stages skipped. Fresh hosted validation pending.
* Charts: draw every doughnut series as a ring (#1827)
* Charts: submit doughnut hole size and first slice angle when the drag ends (#1827)
---------
Co-authored-by: alosslessdev <alosslessdev@users.noreply.github.com>
Preserve cascading eligibility, full-column Apply and per-window pending filter edits. Keep all108 incoming non-union paths and each parent hunk in the four automatic code/test unions, including main clear/reapply protection and control fields/menu registration. Combine parity header and histories without changing filter behavior or dependencies.
Fourteen scoped checks pass on 5bc84f47: full UI1172/296, native15, engine111/863, math8, strict engine/UI Clippy and standalone gates. Three medium R13 reviews read and root-adjudicated; no required introduced fix. Required local aggregate stops only at unchanged Windows CLI check.rs281; later stages skipped. Fresh hosted CI pending.
Conflicts:
- crates/xlsx/src/read.rs: main's names.unique() kept with this branch's
(sheet, read_controls) result from read_sheet.
- crates/ui-egui/tests/it/keytips_generated.rs: regenerated with
cargo xtask keytips from the merged keytips.json (413 sequences).
- docs/file-format-parity.md, docs/ui-parity.md: header and revision
history keep main's entries and this branch's form-controls entries.
Port the colour-scale rule editor onto main's split modules: the editor
lives in dialogs/cond_format_rules.rs (rule-type list, per-stop
type/value/colour, style switch, theme-colour keeping) with
ok_cancel_enabled, and cf_menu in ribbon/home.rs gains More Rules… and
opens the rule-type list from New Rule…. The engine's stops/edit
parsing and tests merge unchanged. Catalogs get the rule-editor keys in
every language.