Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: winfunc/opcode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: squirrel51/opcode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 54 files changed
  • 3 contributors

Commits on Sep 8, 2025

  1. feat: 为核心 UI 组件实现全面的国际化 (i18n)

    此提交为多个核心 UI 组件引入了国际化 (i18n) 支持,使应用程序能够显示多语言文本,特别是英语和中文。
    
    主要更改包括:
    - 集成 `react-i18next` 进行语言管理。
    - 对 `StorageTab.tsx`、`ProxySettings.tsx`、`ProjectList.tsx` 和 `NFOCredits.tsx` 组件进行国际化,将硬编码字符串替换为翻译键。
    - 在 `src/locales/en/translation.json` 和 `src/locales/zh/translation.json` 中添加了新的翻译键及其对应的英文和中文翻译。
    - 优化了 `App.tsx` 和 `SlashCommandsManager.tsx` 中的 i18n 设置,确保 `useTranslation` hook 的正确使用。
    - 更新了 `translation_summary.md` 以反映已完成的 i18n 任务。
    - 解决了与 i18n 集成相关的编译错误。
    
    此功能通过提供语言本地化增强了用户体验,并为未来的语言扩展奠定了基础。
    yunxi authored and jingping.deng committed Sep 8, 2025
    Configuration menu
    Copy the full SHA
    8ab01fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0097461 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2025

  1. feat: 配置构建环境以支持Windows MSVC编译

    - 添加国内镜像源配置以加速依赖下载
      - 配置清华大学、中科大、上海交大镜像源
    - 添加Windows MSVC特定的Rust编译配置
      - 启用静态CRT链接 target-feature=+crt-static
    - 将Tauri构建命令从bun切换为npm以提高兼容性
    
    这些更改解决了Windows环境下Rust工具链冲突和网络下载缓慢的问题
    squirrel51 committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    e6bfcf7 View commit details
    Browse the repository at this point in the history
  2. feat: 继续完善国际化和UI组件功能

    - 更新中英文翻译文件,增加更多界面文本的本地化支持
    - 优化各UI组件的国际化集成,提高用户体验
    - 同步package-lock.json依赖锁定文件
    
    这些更改进一步完善了opcode的多语言支持体系
    squirrel51 committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    84827bb View commit details
    Browse the repository at this point in the history
  3. chore: 清理项目文件和修正行尾符

    - 修正src-tauri/Cargo.toml的行尾符格式
    - 移除不再需要的translation_summary.md文件
    
    保持代码库整洁,为后续构建做准备
    squirrel51 committed Sep 10, 2025
    Configuration menu
    Copy the full SHA
    ece7039 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2025

  1. 新增mcp 详细解析文档

    yunxi authored and squirrel51 committed Sep 11, 2025
    Configuration menu
    Copy the full SHA
    e77593f View commit details
    Browse the repository at this point in the history
Loading