Skip to content

Sync latest translation updates synce november 30 state - #1156

Merged
NSoiffer merged 17 commits into
daisy:beta-0.7.9from
hammera:main
Dec 4, 2026
Merged

NSoiffer merged 17 commits into
daisy:beta-0.7.9from
hammera:main

Conversation

@hammera

@hammera hammera commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Hi Boys,

@MartheGjelstad, @NSoiffer, @moritz-gross, I synced the synce november 30 added english translation changes with the hungarian translations, and extended hungarian test suites.
I adapted elem-math translations, modifying few translations based with user experiences, and implemented other new changes (for example calculus.yaml and general.yaml related latest english changes).
Please merge this change to the main branch, and other affected branches to landing this change the next beta and the RC release before the final new MathCAT release are released in end of december (I think this date are determined previous the release date if I remember correct).
The latest-beta-0.7.9 and v0.7.9-beta.1 version are already tagged, but possible merging this new changes thebeta-0.7.9 branch after the merge happening the main branch in github.com/daisy/mathcat?
Will the main branch undergo further changes regarding translations before the release of the RC and the final version? So far, I have managed to keep track of all changes, and the translator audit tool also shows a correct result; however, I want to ensure that no translation step is missed in the RC or the final version due to some unexpected change.

Attila

@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor
Linux library size: 0.61 MiB (0.00%)
Revision Release liblibmathcat.so
Base (87968f4) 0.61 MiB (635,936 bytes)
PR (d8cb5a3) 0.61 MiB (635,936 bytes)
Change 0 bytes (0.00%)

Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run.

@hammera

hammera commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

Again have a problem in Github side the workflow runs in ubuntu-latest image side?
Me in my local system, the rustc 1.100.1 (20ddd0171 2026-11-25) version the cargo test, cargo build commands are ran correct, cargo clippy doesn't show any error, cargo test --lib command ran successfull too.
The cargo test -- --ignored command shows me following result, this is I think unrelated with hungarian translation changes:

running 4 tests
test chemistry::chem_tests::test_water_bond ... ok
test braille::tests::ueb_technical_word_contractions_probe ... ok
test braille::tests::ueb_technical_word_contractions_probe_batch2 ... FAILED
test canonicalize::canonicalize_tests::vertical_bar_divides ... FAILED

failures:

---- braille::tests::ueb_technical_word_contractions_probe_batch2 stdout ----

thread 'braille::tests::ueb_technical_word_contractions_probe_batch2' (190479) panicked at src/braille.rs:4697:35:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- canonicalize::canonicalize_tests::vertical_bar_divides stdout ----
Error: mo child #0 --  text differs
Result:
 <math>
  <mrow data-changed='added'>
    <mrow data-changed='added'>
      <mi>x</mi>
      <mo>+</mo>
      <mi>y</mi>
    </mrow>
    <mo>|</mo>
    <mn>12</mn>
  </mrow>
 </math>

Target:
 <math>
  <mrow data-changed='added'>
    <mrow data-changed='added'>
      <mi>x</mi>
      <mo>+</mo>
      <mi>y</mi>
    </mrow>
    <mo>∣</mo>
    <mn>12</mn>
  </mrow>
 </math>



failures:
    braille::tests::ueb_technical_word_contractions_probe_batch2
    canonicalize::canonicalize_tests::vertical_bar_divides

test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 525 filtered out; finished in 0.02s

Attila

@NSoiffer

NSoiffer commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

@hammera: I think you want this to go to the beta branch. That branch will eventually get merged back into main, but things in main will not be in this next release. Do you wan to change the target of the PR?

@hammera

hammera commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

Yes, me full good the beta branch, if now all doed changes are full compatible the beta branch.
Do you easy to change the destination branch target the proper branch?
My changes I think are compatible with following latest upstream beta-0.7.9 branch content.
In the upstream beta-0.7.9 I see following latest commit message:

commit 3f7b91bbb67bf77ee815171dd726602494ddd20b
Author: nsoiffer <soiffer@alum.mit.edu>
Date:   Thu Dec 3 00:52:17 2026 -0800

    Bump version to 0.7.9-beta.1
    
    First beta of 0.7.9. This branch (beta-0.7.9) continues toward 0.7.9-rc.1 and
    0.7.9; main continues as the alpha line.
    
    Updates Cargo.toml, Cargo.lock and fuzz/Cargo.lock.
    
    Co-authored-by: Cursor <cursoragent@cursor.com>

Now, when I committed this day only one change, I not fetched the upstream main branch and not doed yet fortunatelly an interactive rebase, only I committed a tests/languages/hu/definitions.rs test file related change with I yesterday forgotted to committing.
After you changing the destination branch target to the upstream beta-0.7.9 branch, how can possible change with my pull request source branch from my fork main branch to for example a hu-beta branch to prevent unwanted changes?
The issue likely arose because I began incorporating the changes you’ve made since November 30th into the Hungarian translations on the main branch before the upstream beta branch for version 0.7.9 was opened; consequently, I instinctively opened the pull request against the main branch.
I apologize for the inconvenience. Moving forward, we should establish a consistent workflow—for instance, clarifying which branch translators should track and when (should they target the main branch, or always the currently active beta branch, once a notification appears in the MathCat translators' discussion channel indicating that it is time to update the translations?). Up until now, my approach has been to update all relevant files—both in the Hungarian translations and the test suites—whenever I detected significant changes using the audit tool.
One thing is certain from now on: I won’t touch the main branch of my fork until you merge the changes into the upstream 0.7.9-beta branch. That said, I still need to find a way to sync the state of the upstream 0.7.9-beta branch into my fork. Have the messages in the English YAML files been frozen there yet on the upstream 0.7.9 beta branch?

Attila

@hammera

hammera commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

Ok, very nice, now all checks are passed right, this pull request now is merge ready if not need follow up future any upstream changes to the 0.7.9 beta branch the hungarian translation.
As far as I am concerned, I do not plan any further changes to the Hungarian translations on the beta branch; all changes introduced in the English version have been adapted to reflect the current state as of November 3rd.
The previous check error are happened because I am forgotted to commit a tests/languages/hu/definitions.rs test file related change when I extended the test suite for hungarian language.

Attila

@hammera
hammera changed the base branch from main to beta-0.7.9 December 4, 2026 11:28
… based with real experiences

Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
…: adapt new changes for translations

Signed-off-by: Attila Hammer <hammera@pickup.hu>
…itions.yaml: add audit-ignore with two rules

Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
…with experiences

Signed-off-by: Attila Hammer <hammera@pickup.hu>
…uages/hu/SimpleSpeak/linear-algebra.rs: adapt translation changes

Signed-off-by: Attila Hammer <hammera@pickup.hu>
…rules

Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
…eak_rules.yaml: ordinalize negative exponents, and remove the unneed multiplication strings with some metrics strings

Signed-off-by: Attila Hammer <hammera@pickup.hu>
… and added changes the tests/Languages/hu/units.rs test file

Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
…eak_rules.yaml: add calculus.yaml include line

Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
…ation output

Signed-off-by: Attila Hammer <hammera@pickup.hu>
@hammera

hammera commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

Neil, I changed base branch to the proper beta-0.7.9 branch, I skipped only the Cargo.toml and Cargo.lock related patch during interactive rebase from my fork main branch.
I used git rebase -i upstream/beta-0.7.9 command, and when have merge conflicts this files related, I used git rebase --skip command. Other commits are right applied, all checks are passed.
Is this how you envisioned the branch switch—from the perspective of the target branch—for the merge?
This is the first time I’ve changed the base branch for an already open pull request; I’ve rarely needed to do this.
All 716 Hungarian tests pass successfully.

Attila

@NSoiffer

NSoiffer commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

You did the right thing. All tests are good. I'll merge it.

@NSoiffer
NSoiffer merged commit 3919557 into daisy:beta-0.7.9 Dec 4, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Done in MathCAT Project Board Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants