refactor(i18n): restructure locale keys around spaces by antonreshetov · Pull Request #702 · massCodeIO/massCode
added 7 commits
March 27, 2026 08:57- Add common group for shared sidebar concepts (inbox, favorites, trash, etc.) - Nest spaces keys (spaces.code.label instead of spaces.code) - Move mathNotebook keys into spaces.math - Remove ~25 unused keys (button.clear, snippet.plural, loading, etc.) - Delete sidebar and mathNotebook groups (all migrated)
Update all i18n.t() calls to match new key structure:
- sidebar.* → common.* / spaces.{id}.*
- spaces.code → spaces.code.label (flat → nested)
- mathNotebook.* → spaces.math.*
- fragment → common.fragment
- total → common.total
- Apply same ui.json restructure to 16 locales (common, nested spaces) - Add missing keys in menu.json, messages.json, preferences.json with en_US fallback values - All locales now fully in sync with en_US reference
Translate all English fallback values in ru_RU locale: - ui.json: spaces labels, notes, actions, placeholders - menu.json: mathNotebook, window - messages.json: language reload description - preferences.json: notesEditor section, theme options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters