diff --git a/README.en.md b/README.en.md index 34753d6..5d09de3 100644 --- a/README.en.md +++ b/README.en.md @@ -17,6 +17,8 @@ release GitHub stars license Apache-2.0 + Discord + QQ Group 1136042744 @@ -32,7 +34,8 @@ Download · Quick Start · Screenshots · - Roadmap + Roadmap · + Community

@@ -155,6 +158,11 @@ The binary is written to `build\bin\reims-go.exe`. +## Community + +- **Discord**: [Join the Discord server](https://discord.gg/Tj682rW5rS) — Bilingual chat, troubleshooting, hardware compatibility reports, alpha testing and plugin development +- **QQ Group**: [1136042744](https://qm.qq.com/q/TBmRJlVbSo) — Chinese community chat and feedback + ## License & Notice - Reims-Go is licensed under [Apache-2.0](./LICENSE). Runtime components such as QEMU ship as separate programs; their licenses are in [`NOTICE.md`](./NOTICE.md), and every runtime release includes the matching source. diff --git a/README.md b/README.md index 907b9d7..fa559cc 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ release GitHub stars license Apache-2.0 + Discord + QQ 交流群 1136042744 @@ -32,7 +34,8 @@ 下载 · 快速开始 · 界面 · - 路线图 + 路线图 · + 社区交流

@@ -155,6 +158,11 @@ wails build +## 社区交流 + +- **Discord 社区**:[加入 Discord 服务器](https://discord.gg/Tj682rW5rS) — 中英双语交流、排障求助、硬件兼容性实测、Alpha 测试与插件开发 +- **QQ 交流群**:[1136042744](https://qm.qq.com/q/TBmRJlVbSo) — 中文日常交流与使用反馈 + ## 许可与声明 - Reims-Go 采用 [Apache-2.0](./LICENSE) 协议。运行时里的 QEMU 等组件作为独立程序随附,许可证见 [`NOTICE.md`](./NOTICE.md),每个运行时 Release 都附带对应源码。 diff --git a/frontend/src/components/AboutPage.tsx b/frontend/src/components/AboutPage.tsx index e37a683..3f06d55 100644 --- a/frontend/src/components/AboutPage.tsx +++ b/frontend/src/components/AboutPage.tsx @@ -11,6 +11,7 @@ import { api } from '../wails' import { REPO_URL } from './TitleMenus' import type { UpdatePhase } from './UpdateCapsule' +const DISCORD_INVITE_URL = 'https://discord.gg/Tj682rW5rS' const QQ_GROUP_ID = '1136042744' export type AppUpdateChannel = 'stable' | 'alpha' | 'dev' @@ -34,7 +35,7 @@ interface Props { onError: (title: string, e: unknown) => void } -/** About page: version and updates, project links and the community group. */ +/** About page: version and updates, project links and community channels. */ export const AboutPage: React.FC = ({ locale, appVersion, appUpdateChannel, onAppUpdateChannel, appUpdate, onAppUpdate, updatePhase, updateTask, installing, onDownloadUpdate, onCancelUpdate, onInstallUpdate, onCopy, onError, @@ -252,6 +253,25 @@ export const AboutPage: React.FC = ({ +

+
+
{tr('aboutDiscord')}
+
{tr('aboutDiscordSub')}
+
+
+ {onCopy && ( +
+
diff --git a/frontend/src/i18n/domains/settings.gen.ts b/frontend/src/i18n/domains/settings.gen.ts index 3a65bcd..f6ce213 100644 --- a/frontend/src/i18n/domains/settings.gen.ts +++ b/frontend/src/i18n/domains/settings.gen.ts @@ -3,8 +3,12 @@ import { registerBuiltinDomain } from '../runtime' export const settingsZh: Record = { "aboutCommunity": "社区与支持", + "aboutCopyDiscord": "复制邀请链接", "aboutCopyQQGroup": "复制群号", + "aboutDiscord": "Discord 社区", + "aboutDiscordSub": "交流使用体验、硬件兼容反馈、Alpha 测试与插件开发", "aboutIssueSub": "遇到问题或有功能建议,在 GitHub 提交 Issue", + "aboutJoinDiscord": "加入服务器", "aboutJoinQQGroup": "加入群聊", "aboutLicensesOpenGitHub": "在 GitHub 查看", "aboutLicensesSub": "Apache-2.0 协议与第三方开源组件声明(离线可查)", @@ -320,8 +324,12 @@ export const settingsZh: Record = { export const settingsEn: Record = { "aboutCommunity": "Community \u0026 support", + "aboutCopyDiscord": "Copy invite link", "aboutCopyQQGroup": "Copy group ID", + "aboutDiscord": "Discord community", + "aboutDiscordSub": "Chat with users, share hardware compatibility, test alphas and build plugins", "aboutIssueSub": "Report a problem or suggest a feature on GitHub", + "aboutJoinDiscord": "Join server", "aboutJoinQQGroup": "Join group", "aboutLicensesOpenGitHub": "View on GitHub", "aboutLicensesSub": "Apache-2.0 license and third-party notices (available offline)", diff --git a/frontend/src/i18n/keys.gen.ts b/frontend/src/i18n/keys.gen.ts index 9ee8854..ba75466 100644 --- a/frontend/src/i18n/keys.gen.ts +++ b/frontend/src/i18n/keys.gen.ts @@ -2,8 +2,12 @@ export type I18nKey = | "aboutCommunity" + | "aboutCopyDiscord" | "aboutCopyQQGroup" + | "aboutDiscord" + | "aboutDiscordSub" | "aboutIssueSub" + | "aboutJoinDiscord" | "aboutJoinQQGroup" | "aboutLicensesOpenGitHub" | "aboutLicensesSub" diff --git a/locales/en-US/settings.json b/locales/en-US/settings.json index cf32f40..011201c 100644 --- a/locales/en-US/settings.json +++ b/locales/en-US/settings.json @@ -74,6 +74,10 @@ "appCheckUpdate": "Check for updates", "appDownloadUpdate": "Download", "appUpdateLookupFailed": "Couldn’t check GitHub for updates", + "aboutDiscord": "Discord community", + "aboutDiscordSub": "Chat with users, share hardware compatibility, test alphas and build plugins", + "aboutCopyDiscord": "Copy invite link", + "aboutJoinDiscord": "Join server", "aboutQQGroup": "QQ Group", "aboutQQGroupSub": "Launch QQ directly to join for community support and feedback", "aboutQQNotInstalled": "QQ not installed", diff --git a/locales/zh-CN/settings.json b/locales/zh-CN/settings.json index e46c6aa..209270e 100644 --- a/locales/zh-CN/settings.json +++ b/locales/zh-CN/settings.json @@ -74,6 +74,10 @@ "appCheckUpdate": "检查更新", "appDownloadUpdate": "前往下载", "appUpdateLookupFailed": "暂时无法连接 GitHub 检查更新", + "aboutDiscord": "Discord 社区", + "aboutDiscordSub": "交流使用体验、硬件兼容反馈、Alpha 测试与插件开发", + "aboutCopyDiscord": "复制邀请链接", + "aboutJoinDiscord": "加入服务器", "aboutQQGroup": "QQ 交流群", "aboutQQGroupSub": "点击直接拉起 QQ 加群,交流使用与问题反馈", "aboutQQNotInstalled": "未安装 QQ",