diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 70090a8..f945963 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -50,6 +50,8 @@ module instead of hard-coding one key per language. - Language parsing, language-code output, and help-language cycling now share one internal language registry. +- Removed the unused `MODE_HELP` enum value and refreshed development-guide + module descriptions for the split between language parsing and text lookup. - Documented i18n and user-facing text rules for English-first source text, stable command syntax, concise help copy, and translation-only localization. diff --git a/docs/Development-Guide.md b/docs/Development-Guide.md index da29fe0..b7c8b51 100644 --- a/docs/Development-Guide.md +++ b/docs/Development-Guide.md @@ -81,7 +81,8 @@ src/ ├── history_view.c - NORMAL-mode scroll window rules ├── tui.c - Terminal UI rendering (ANSI escape codes) ├── tui_status.c - Mode/status/input-line rendering -├── i18n.c - Language selection and shared UI text +├── i18n.c - UI language selection and locale parsing +├── i18n_text.c - Shared UI text catalog ├── help_text.c - Full-screen key reference text ├── manual.c - Concise manual panel rendering ├── manual_text.c - Concise manual text @@ -395,7 +396,8 @@ case MODE_INSERT: } ``` -2. **Update `src/help_text.c` and status hints in `src/i18n.c` / `src/tui_status.c` if the binding is user-visible.** +2. **Update `src/help_text.c` and status hints in `src/i18n_text.c` / + `src/tui_status.c` if the binding is user-visible.** 3. **Document in README.md** diff --git a/include/common.h b/include/common.h index 5c818d2..bbdff97 100644 --- a/include/common.h +++ b/include/common.h @@ -40,8 +40,7 @@ typedef enum { MODE_INSERT, MODE_NORMAL, - MODE_COMMAND, - MODE_HELP + MODE_COMMAND } client_mode_t; /* UI language */