Commit graph

6 commits

Author SHA1 Message Date
Lam Ngoc Khuong
7594366adb feat: add Vietnamese translation 2025-03-31 10:59:51 +07:00
ccbikai
744f949972 fix: corrects sorting order and enhances link sorting UX
- Fixes ascending/descending sort order for newest/oldest links
- Automatically sets sort to 'newest' when creating a link
- Updates Chinese translation for A-Z/Z-A sort labels
- Shows current sort option in dropdown button
- Reduces tooltip delay for better responsiveness
- Removes unused Button import in QRCode component
2025-03-16 13:57:29 +08:00
ccbikai
5118201911 refactor(links): extract sort menu and fix sort logic
- Extracts dropdown sort menu into separate DashboardLinksSort component
- Fixes incorrect sort order for newest/oldest links
- Adds internationalization support for sort options
- Updates QR code download button size for consistency
- Adds helpful tooltip about sort limitation for loaded links

The sort logic was reversed where newest/oldest were concerned, this fixes
that while making the sorting feature more maintainable through component
extraction.
2025-03-16 11:52:29 +08:00
ccbikai
e7b22a497b refactor: optimize language switcher and header layout
- Extracts language switcher into separate component
- Updates locale display to use country flag emojis
- Improves header responsiveness and spacing
- Removes embedded i18n logic for better separation of concerns
- Adjusts menu items alignment and margins for better visual balance
2025-03-16 11:17:32 +08:00
ccbikai
17c1c8747e Merge branch 'master' into i18n 2025-03-16 11:02:00 +08:00
wudi
e563d55852 feat: Add internationalization (i18n) support
Implemented multi-language support for the application:
- Added @nuxtjs/i18n plugin configuration
- Created locale files for English (en-US) and Chinese (zh-CN)
- Updated components to use translation keys
- Added language switcher in header
- Configured VSCode i18n-ally settings
- Prepared translation infrastructure for future language expansions
2025-03-03 11:21:39 +08:00