[PR #242] [CLOSED] feat: Complete English internationalization, enhanced skeleton compon… #712

Closed
opened 2026-03-02 03:41:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/242
Author: @blueyes0101
Created: 6/8/2025
Status: Closed

Base: devHead: dev


📝 Commits (1)

  • ff57497 feat: Complete English internationalization, enhanced skeleton component, and browser compatibility fixes - Added comprehensive English UI with 730+ translations, enhanced skeleton component with variants/sizes, fixed Tauri/browser compatibility issues, and created test pages

📊 Changes

23 files changed (+2250 additions, -453 deletions)

View changed files

ENGLISH_UI_IMPLEMENTATION.md (+310 -0)
📝 src/app/global-error.tsx (+22 -18)
📝 src/app/page.tsx (+31 -4)
src/app/simple-skeleton-test/page.tsx (+207 -0)
src/app/skeleton-test/page.tsx (+160 -0)
src/app/translation-test/page.tsx (+204 -0)
src/app/ui-translation-test/page.tsx (+382 -0)
📝 src/components/app-status.tsx (+138 -163)
📝 src/components/error-boundary.tsx (+31 -26)
📝 src/components/language-switch.tsx (+19 -10)
📝 src/components/local-image.tsx (+47 -17)
📝 src/components/providers/NextIntlProvider.tsx (+6 -16)
src/components/skeleton-test.tsx (+96 -0)
📝 src/components/ui/sidebar.tsx (+3 -1)
📝 src/components/ui/skeleton.tsx (+66 -11)
src/config/index.ts (+3 -0)
src/config/languages.ts (+26 -0)
📝 src/db/index.ts (+48 -18)
📝 src/hooks/useI18n.ts (+3 -3)
📝 src/i18n/request.ts (+14 -15)

...and 3 more files

📄 Description

…ent, and browser compatibility fixes - Added comprehensive English UI with 730+ translations, enhanced skeleton component with variants/sizes, fixed Tauri/browser compatibility issues, and created test pages

Overview

This PR adds comprehensive English internationalization support and enhances UI components for better user experience.

Major Features

  • 🌐 Complete English UI with 730+ professional translations
  • 🎨 Enhanced skeleton component with 5 variants and 4 sizes
  • 🔧 Fixed browser/Tauri compatibility issues
  • 📝 Translated all code documentation from Chinese to English
  • 🧪 Added comprehensive test pages

Technical Improvements

  • Browser mode compatibility checks for Tauri-specific functions
  • Proper error boundaries and status indicators
  • localStorage-based language persistence
  • Enhanced accessibility with ARIA labels

Files Changed: 23 files (+2,250, -453)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/codexu/note-gen/pull/242 **Author:** [@blueyes0101](https://github.com/blueyes0101) **Created:** 6/8/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`ff57497`](https://github.com/codexu/note-gen/commit/ff5749769f5c3c34bd4618a19ad0438b9347611e) feat: Complete English internationalization, enhanced skeleton component, and browser compatibility fixes - Added comprehensive English UI with 730+ translations, enhanced skeleton component with variants/sizes, fixed Tauri/browser compatibility issues, and created test pages ### 📊 Changes **23 files changed** (+2250 additions, -453 deletions) <details> <summary>View changed files</summary> ➕ `ENGLISH_UI_IMPLEMENTATION.md` (+310 -0) 📝 `src/app/global-error.tsx` (+22 -18) 📝 `src/app/page.tsx` (+31 -4) ➕ `src/app/simple-skeleton-test/page.tsx` (+207 -0) ➕ `src/app/skeleton-test/page.tsx` (+160 -0) ➕ `src/app/translation-test/page.tsx` (+204 -0) ➕ `src/app/ui-translation-test/page.tsx` (+382 -0) 📝 `src/components/app-status.tsx` (+138 -163) 📝 `src/components/error-boundary.tsx` (+31 -26) 📝 `src/components/language-switch.tsx` (+19 -10) 📝 `src/components/local-image.tsx` (+47 -17) 📝 `src/components/providers/NextIntlProvider.tsx` (+6 -16) ➕ `src/components/skeleton-test.tsx` (+96 -0) 📝 `src/components/ui/sidebar.tsx` (+3 -1) 📝 `src/components/ui/skeleton.tsx` (+66 -11) ➕ `src/config/index.ts` (+3 -0) ➕ `src/config/languages.ts` (+26 -0) 📝 `src/db/index.ts` (+48 -18) 📝 `src/hooks/useI18n.ts` (+3 -3) 📝 `src/i18n/request.ts` (+14 -15) _...and 3 more files_ </details> ### 📄 Description …ent, and browser compatibility fixes - Added comprehensive English UI with 730+ translations, enhanced skeleton component with variants/sizes, fixed Tauri/browser compatibility issues, and created test pages ## Overview This PR adds comprehensive English internationalization support and enhances UI components for better user experience. ## Major Features - 🌐 Complete English UI with 730+ professional translations - 🎨 Enhanced skeleton component with 5 variants and 4 sizes - 🔧 Fixed browser/Tauri compatibility issues - 📝 Translated all code documentation from Chinese to English - 🧪 Added comprehensive test pages ## Technical Improvements - Browser mode compatibility checks for Tauri-specific functions - Proper error boundaries and status indicators - localStorage-based language persistence - Enhanced accessibility with ARIA labels ## Files Changed: 23 files (+2,250, -453) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#712
No description provided.