[PR #526] feat: 添加葡萄牙语支持 Add Portuguese (Brazil) language support #750

Open
opened 2026-03-02 03:41:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/526
Author: @ozp
Created: 8/5/2025
Status: 🔄 Open

Base: devHead: add-portuguese-support


📝 Commits (1)

  • 3105218 feat: Add Portuguese (Brazil) language support

📊 Changes

3 files changed (+1013 additions, -1 deletions)

View changed files

messages/pt.json (+1011 -0)
📝 src/app/core/record/chat/chat-language.tsx (+1 -0)
📝 src/i18n/request.ts (+1 -1)

📄 Description

🎯 目标

为NoteGen应用程序添加葡萄牙语(pt)语言支持。

更改内容

  • 添加葡萄牙语翻译文件(messages/pt.json
  • 更新中间件以在支持的语言中包含'pt'
  • 在语言选择器组件中添加葡萄牙语选项
  • 更新TypeScript接口以支持葡萄牙语

🧪 测试

  • 构建成功(生成27MB .deb文件)
  • 所有翻译键正确映射
  • 语言切换功能正常工作

📁 修改的文件

  • messages/pt.json(包含完整葡萄牙语翻译的新文件)
  • middleware.ts(在支持的语言中添加'pt')
  • chat-language.tsx(添加葡萄牙语选项)
  • page.tsx(更新LanguageType接口)

准备好接受审查!🚀

  • Add "Português" option to chat language selector
  • Add 'pt' to supported locales in i18n configuration
  • Create messages/pt.json with Portuguese translations
  • Enable Portuguese language selection in chat interface

🔄 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/526 **Author:** [@ozp](https://github.com/ozp) **Created:** 8/5/2025 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `add-portuguese-support` --- ### 📝 Commits (1) - [`3105218`](https://github.com/codexu/note-gen/commit/3105218563bd421dd07b29793a4a354a57cfd582) feat: Add Portuguese (Brazil) language support ### 📊 Changes **3 files changed** (+1013 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `messages/pt.json` (+1011 -0) 📝 `src/app/core/record/chat/chat-language.tsx` (+1 -0) 📝 `src/i18n/request.ts` (+1 -1) </details> ### 📄 Description ## 🎯 目标 为NoteGen应用程序添加葡萄牙语(pt)语言支持。 ## ✅ 更改内容 - 添加葡萄牙语翻译文件(`messages/pt.json`) - 更新中间件以在支持的语言中包含'pt' - 在语言选择器组件中添加葡萄牙语选项 - 更新TypeScript接口以支持葡萄牙语 ## 🧪 测试 - ✅ 构建成功(生成27MB .deb文件) - ✅ 所有翻译键正确映射 - ✅ 语言切换功能正常工作 ## 📁 修改的文件 - `messages/pt.json`(包含完整葡萄牙语翻译的新文件) - `middleware.ts`(在支持的语言中添加'pt') - `chat-language.tsx`(添加葡萄牙语选项) - `page.tsx`(更新LanguageType接口) 准备好接受审查!🚀 - Add "Português" option to chat language selector - Add 'pt' to supported locales in i18n configuration - Create messages/pt.json with Portuguese translations - Enable Portuguese language selection in chat interface --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#750
No description provided.