Commit 36d11b3
committed
docs(book): correct lang-switcher LOCALES comment + reorder to match locales.toml
The header comment claimed `cargo mdbook build` would regenerate this
file from locales.toml at the repo root. That xtask subcommand was
removed in a later refactor, so the file is now hand-maintained, but
the misleading comment caused multiple PRs to either ignore manual
edits as drive-by drift or treat the file as authoritative when it had
silently desynced from locales.toml (this file: en/ja/fr/es/zh-CN;
locales.toml: en/fr/ja/es/zh-CN).
Drop the generator claim, replace with an honest "hand-maintained,
keep in sync with locales.toml" instruction, and reorder LOCALES to
match locales.toml so the two lists agree.1 parent 44a8421 commit 36d11b3
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
12 | | - | |
13 | 16 | | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
0 commit comments