tinymist/locales
QuadnucYard bcd6af975e
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
feat: multi-page export and no-write support (#2098)
## Features

- Support multi-page export in the server export command. Added an extra
arg to decide whether to write to the file or only return data for
client use (page preview in exporter). VSCode users can use this feature
via the quick-export command or code lens.
- (refactor) Move most export logic from tinymist to tinymist-task,
excluding typlite-related, which already depends on tinymist-task.
- Added relevant export tests. The export e2e test now includes hash
checking for all targets.

## Not done

- Support new args in `TypstExtraArgs` for CLI compilation.

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-10-13 23:02:44 +08:00
..
README.md docs: make translation of pinning clearer (#1997) 2025-08-06 09:53:47 +08:00
tinymist-rt.toml feat: downgrade some config errors and show warnings (#1538) 2025-03-19 13:30:00 +08:00
tinymist-vscode-rt.toml feat: multi-page export and no-write support (#2098) 2025-10-13 23:02:44 +08:00
tinymist-vscode.toml docs: remove - hint (#2046) 2025-08-19 13:15:16 +08:00

Locales

This folder provides the locale files for the applications. The format of the locale files is TOML. It looks like this:

[extension.tinymist.command.tinymist.pinMainToCurrent] # K
en = "Pin the Main File to the Currently Open Document" # V-en
zh-CN = "将主文件固定到当前打开的文档" # zh-CN

Explanation:

  • The key K is the key of the locale string. It is a string that is used to identify the locale string.
    • The key is extension.tinymist.command.tinymist.pinMainToCurrent in the example, wrapped in square brackets.
  • The value V-en is the English locale string, which is also the first locale string used in the application.
    • The value is "Pin the Main file to the Opening Document" in the example.
  • The value V-zh-CN is the Chinese locale string. It is used when the locale of the application is set to Chinese. The rest locale strings are sorted by alphabet order.
    • The value is "将主文件固定到当前打开的文档" in the example.

The format is designed to be easy to modified by LLM.