-
-
Notifications
You must be signed in to change notification settings - Fork 0
feat(i18n): add internationalization to TUI and Web #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
dc0b091
feat(i18n): implement internationalization support with language mana…
sthbryan 3e2e4bf
feat(i18n): add core i18n package with EN/ES locales
sthbryan ca0f3d5
feat(app): init i18n in New() and add Language to Config
sthbryan 87dd475
feat(ui): add Left/Right keys for language selector
sthbryan 5f83f9f
feat(settings): implement language selector with ←/→ and Enter
sthbryan 833c540
feat(views): add i18n to all TUI views and components
sthbryan d91a0ef
feat(logs): add i18n to tunnel logs view
sthbryan bfaced5
feat(download): add i18n to downloading view
sthbryan 67f51ef
feat(list): i18n for success prefix and dashboard label
sthbryan b2602e7
fix(detail): add i18n for URL and Error labels
sthbryan 824a5bc
fix(list): i18n for select tunnel details placeholder
sthbryan 3e0087e
feat(i18n): expose translations API for web frontend
sthbryan 52b385e
feat(i18n): add i18n store for Svelte frontend
sthbryan 2937722
fix(build): add bun install before build
sthbryan b9cc7f8
feat(web): add language selector in settings with i18n
sthbryan 5e23464
fix(main): remove unnecessary embed directive for assets
sthbryan a4047d9
fix(api): fix Settings type export for Svelte build
sthbryan a3661b1
fix(i18n): return translations as flat object, fix lang param
sthbryan 42916af
fix(ThemeButton): add cursor pointer to button class for better UX
sthbryan 3e3862a
feat(Header): integrate i18n for app name, tagline, and settings label
sthbryan c385085
feat(i18n): add i18n in NewConnection
sthbryan 4c7fe2e
feat(i18n): add translations to NewConnection and ConnectionsPanel
sthbryan 82f529d
feat(i18n): add TunnelCard translations
sthbryan 765aaae
refactor(i18n): add missing status keys
sthbryan d05d1cc
feat(i18n): add DeleteModal translations
sthbryan edfb300
feat(i18n): add i18n to EditConnection toasts
sthbryan 40056b5
feat(i18n): add i18n to EditConnection component
sthbryan 17f6057
feat(i18n): add i18n to NotificationPermission
sthbryan d161e4f
feat(i18n): add i18n to settings page
sthbryan 4844ac5
feat(i18n): add current_theme to ThemeSelector
sthbryan 946171c
feat(i18n): add i18n to Dropdown defaults
sthbryan e4ee5ae
feat(i18n): add i18n to SettingsToggle and Toasts
sthbryan b81fa42
feat(i18n): add TF() and TUI locale keys
sthbryan 578dc55
feat(i18n): use i18n.T in model_types
sthbryan 840f797
feat(i18n): use i18n.T in view.go
sthbryan f23e4ce
feat(i18n): add i18n to model and update
sthbryan 31d7cb6
feat(i18n): add i18n to form.go
sthbryan 6723dad
feat(i18n): add i18n to keyhandlers
sthbryan a212061
feat(i18n): add i18n to tunnel_item
sthbryan 13c5a1a
feat(i18n): add i18n to help_bar
sthbryan d8e9e90
feat(i18n): add i18n to list.go
sthbryan fc36cd0
feat(i18n): add i18n to main.go
sthbryan 64877a0
feat(i18n): update formatting in meta function for tunnel item
sthbryan 239f053
fix(i18n): use i18n.T for port label
sthbryan 13dec2d
fix: remove duplicated key
sthbryan 4f19002
refacot: add embed directive for frontend assets
sthbryan 50c9eaf
fix(i18n): fix TF placeholder format
sthbryan 41e9aa8
fix(i18n): use TF for download/install step
sthbryan 7ca4189
fix(build): use frozen lockfile for bun install
sthbryan 21359b6
fix(i18n): update downloading/installing keys
sthbryan b4be063
fix(i18n): add missing status_* keys
sthbryan 108fc24
fix(i18n): add mutex for currentLang
sthbryan 36775b9
fix(web): validate language before saving
sthbryan c8d0172
fix(i18n): remove redundant downloading key in Spanish locale
sthbryan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.