feat(ui): add Chinese localization support with i18n framework#114
Open
maxadc wants to merge 3 commits into
Open
feat(ui): add Chinese localization support with i18n framework#114maxadc wants to merge 3 commits into
maxadc wants to merge 3 commits into
Conversation
maxadc
commented
May 19, 2026
- Add i18n framework with LAZYSSH_LANG env var support
- Add build.sh with -l/--lang flag for compile-time language selection
- Add AES-GCM encrypted password storage for SSH connections
- Add AuthMethod dropdown (key/password/key+password) in Basic tab
- Support zh-CN language with full translation
- Normalize language input case-insensitively (zh-cn, ZH-CN, cn, etc.)
- Add field name translations in server details and form help panel
added 3 commits
May 19, 2026 21:00
- Add i18n framework with LAZYSSH_LANG env var support - Add build.sh with -l/--lang flag for compile-time language selection - Add AES-GCM encrypted password storage for SSH connections - Add AuthMethod dropdown (key/password/key+password) in Basic tab - Support zh-CN language with full translation - Normalize language input case-insensitively (zh-cn, ZH-CN, cn, etc.) - Add field name translations in server details and form help panel
- Add ExportServers/ImportServers to repository and service - Fix path expansion for ~/ in export/import (use HasPrefix instead of IsAbs) - Add keyboard shortcuts E/I for export/import - Add i18n translations for export/import functionality - Fix Tab labels to use i18n translations - Fix Help panel title and content formatting to use i18n - Fix modal buttons and validation error messages to use i18n - Add language suffix to build output filenames (lazyssh-zh-CN) - Add helper functions for tab name and abbrev translations
- Add Password field to ServerFormData struct - Add AuthMethod dropdown (密钥/密码/密钥+密码) - Add LoginMode dropdown (交互式/批处理/自动) - Load password from sf.original.Password for edit mode
a6f0be8 to
c6a70da
Compare
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.