Conversation
Introduce internationalization for the Telegram bot and add a persistent bot language setting. - Add botsrc/i18n.js: RU/EN string tables, t(), getBotLang(), normalizeLang(). - Localize botsrc/index.js: use i18n.t everywhere, add helpers (_t, _lang), language-choice flow on /start, settings page entries, and callback handling for st_lang_*. - Persist telegramLanguage in src/main/settings-store.js (defaults & read/write), derive system fallback. - Add plan.md describing the i18n design and checks. Behavior: if telegramLanguage not chosen, /start prompts RU/EN; language changes persist to cuckoo-settings.json.
Enhance Telegram integration: add session management (/sessions, /switch), commit browsing (/log, /show, /files), paginated views for /diff, /todos and other lists with inline keyboard navigation, and attachments support (download from TG and inject into chat). Add per-user restriction (telegramAllowedUserId) and tool notification ignore list. Implement helper pager/rendering, temp download dir, file/photo attach flows, telegram API helpers (downloadFile, setMyCommands), and register bot commands. Update i18n strings and settings UI/defaults accordingly.
Docs: add <meta name="app-version"> and small script to auto-fetch latest GitHub release for displayed version in both en and ru pages; expand tools list, gallery markup and Telegram-related docs (language, allowed user id, notify ignore). UI: tweak text/observer options and examples. Code: large refactor of src/preload/dom/settings-tab.js — consistent quoting/formatting, safer DOM queries, improved HTML building, escape handling, and many UX fixes. Add Telegram allowedUserId and telegramToolNotifyIgnore handling (read/save/apply), improve background grid refresh/selection, slider/change handlers, diagnostics modal copy fallback, immediate apply of conv token visibility, and various console/error improvements.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.