Skip to content

Translation sync failed for PR #872 (zh-cn) #873

Open

Description

@mmcky

Translation sync failure

Source PR: #872
Target repo: QuantEcon/lecture-intro.zh-cn
Target language: zh-cn

Errors

Recovery

Recover a lecture from a checkout of the source's default branch, not by re-running this sync:

  • lectures/mle_intro.md: translate forward -f mle_intro.md.

Any other lecture named above:

  • one the edition has: translate forward -f <file>;
  • one the edition does not have yet: translate init -f <file>.

<file> is the lecture's path inside the docs folder. translate forward regenerates the whole lecture, so do not run it on a lecture that has been natively reviewed: carry the change into that one by hand. translate init -f overwrites a translation without asking, so use it only for a lecture the edition does not have.

\translate-resync on #872 re-runs this sync from the PR's merge-time snapshot, for every file the PR changed, not only those named above. Use it only when none of those files has changed on the source's default branch since the PR merged; otherwise it reverts the later changes (QuantEcon/action-translation#276). For each file the PR changed,

git rev-list --count 8db8a9960d17f4db2396a51a9c32ddaa768c9983..origin/main -- <path>

must print 0. A structural-parity failure repeats exactly on a resync, so fix its cause first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions