Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions apps/shell/src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,8 @@ function currentTheme(): UiTheme {
}

// ---- first-run onboarding ----
// The GenTeam community page opened from the onboarding's second slide.
// Stable short link served by the genoffice.ai site; it 302s to the tokened
// invite link, which stays out of this repo and rotates server-side.
const GENTEAM_URL = 'https://www.genspark.ai/hermesoffice/join'
// Fork: link de comunidade abre o repo do HermesOffice.
const HERMESOFFICE_REPO_URL = 'https://github.com/criptogus/HermesOffice'

// Genspark credit-usage page opened from the account menu's credits row.
// Kept main-side so the renderer never supplies the URL.
Expand Down Expand Up @@ -2328,8 +2326,8 @@ function registerHomeIpc(): void {
return picked
})

ipcMain.handle(HOME_CHANNELS.openGenTeam, () => {
shell.openExternal(GENTEAM_URL).catch(() => {
ipcMain.handle(HOME_CHANNELS.openGitHub, () => {
shell.openExternal(HERMESOFFICE_REPO_URL).catch(() => {
// no browser handler available; nothing actionable for the user here
})
})
Expand Down
4 changes: 2 additions & 2 deletions apps/shell/src/preload/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ const homeApi: HomeApi = {
ipcRenderer.on('app:theme-changed', listener)
return () => ipcRenderer.removeListener('app:theme-changed', listener)
},
async openGenTeam() {
await ipcRenderer.invoke(HOME_CHANNELS.openGenTeam)
async openGitHub() {
await ipcRenderer.invoke(HOME_CHANNELS.openGitHub)
},
async openCreditUsage() {
await ipcRenderer.invoke(HOME_CHANNELS.openCreditUsage)
Expand Down
12 changes: 6 additions & 6 deletions apps/shell/src/renderer/src/Onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface Slide {
bodyKey?: StringKey
/** render the body in the dimmer footnote gray (slide 3's credits disclaimer) */
bodyDim?: boolean
/** community slide shows the credits offer panel with the "Join GenTeam" call-to-action */
/** community slide shows the open-source offer panel with a "Contribute on GitHub" call-to-action */
showOffer?: boolean
/** Hermes slide shows the live gateway status with a retry button */
showHermes?: boolean
Expand Down Expand Up @@ -69,7 +69,7 @@ function HermesConnect({ active }: { active: boolean }) {
{t('onbHermesRetry')}
</button>
)}
<button className="onb-join" onClick={() => void window.aiOffice.openGenTeam()}>
<button className="onb-join" onClick={() => void window.aiOffice.openGitHub()}>
{t('onbHermesGuide')}
<svg width="11" height="11" viewBox="0 0 12 12" fill="none" aria-hidden="true">
<path
Expand Down Expand Up @@ -172,7 +172,7 @@ export function Onboarding({ onDone }: OnboardingProps) {
}, [])

// slide changes can strip focus from the active control (leaving slide 2
// makes its GenTeam button inert, which blurs it) — pull focus back onto the
// makes its GitHub button inert, which blurs it) — pull focus back onto the
// card so it never drops to body
useEffect(() => {
const card = cardRef.current
Expand Down Expand Up @@ -247,9 +247,9 @@ export function Onboarding({ onDone }: OnboardingProps) {
{s.showHermes && <HermesConnect active={i === index} />}
{s.showOffer && (
<div className="onb-offer">
<p className="onb-credits">{renderEmphasis(t('onbCredits'))}</p>
<button className="onb-join" onClick={() => void window.aiOffice.openGenTeam()}>
{t('onbJoinGenTeam')}
<p className="onb-credits">{renderEmphasis(t('onbOpenSource'))}</p>
<button className="onb-join" onClick={() => void window.aiOffice.openGitHub()}>
{t('onbJoinGitHub')}
<svg width="11" height="11" viewBox="0 0 12 12" fill="none" aria-hidden="true">
<path
d="M3.5 8.5 8.5 3.5M4.5 3.5h4v4"
Expand Down
114 changes: 57 additions & 57 deletions apps/shell/src/renderer/src/strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ export const strings = {
onbBody1: '创建文档、制作表格、生成演示、审阅 PDF。AI 深度融入每个环节。',
onbTitle2: '这只是一个开始',
onbBody2:
'HermesOffice 目前处于 alpha 阶段。欢迎加入 GenTeam 群聊,分享反馈,一起塑造它的未来。',
onbCredits: '活跃贡献者可获得 **1,000+ Hermes 积分**',
onbJoinGenTeam: '加入 GenTeam',
'HermesOffice 是开源软件。欢迎到 GitHub 上贡献代码,一起完善它的下一个版本。',
onbOpenSource: '**100% 开源**,无授权费用。',
onbJoinGitHub: '在 GitHub 上贡献',
onbSkip: '跳过',
onbNext: '下一步',
onbStart: '开始使用',
Expand Down Expand Up @@ -316,9 +316,9 @@ export const strings = {
'Create docs, build sheets, make slides, and review PDFs. AI is built into every step.',
onbTitle2: 'This is just the beginning',
onbBody2:
'HermesOffice is still in alpha. Join the group chat on GenTeam to share feedback and help shape what comes next.',
onbCredits: 'Active contributors get **1,000+ Hermes credits**',
onbJoinGenTeam: 'Join GenTeam',
'HermesOffice is open source. Contribute on GitHub and help shape what comes next.',
onbOpenSource: '**100% open source** - no license fees.',
onbJoinGitHub: 'Contribute on GitHub',
onbSkip: 'Skip',
onbNext: 'Next',
onbStart: 'Get started',
Expand Down Expand Up @@ -495,9 +495,9 @@ export const strings = {
'文書の作成、表計算、プレゼン作成、PDF のレビュー。あらゆるステップに AI が組み込まれています。',
onbTitle2: 'これはまだ始まりにすぎません',
onbBody2:
'HermesOffice はまだアルファ版です。GenTeam のグループチャットに参加して、フィードバックを共有し、今後の開発を一緒に形作りましょう。',
onbCredits: 'アクティブな貢献者への特典 **1,000+ Hermes クレジット**',
onbJoinGenTeam: 'GenTeam に参加',
'HermesOffice はオープンソースです。GitHub でコントリビュートし、今後の開発を一緒に形作りましょう。',
onbOpenSource: '**100% オープンソース**、無償です。',
onbJoinGitHub: 'GitHub で貢献',
onbSkip: 'スキップ',
onbNext: '次へ',
onbStart: 'はじめる',
Expand Down Expand Up @@ -670,9 +670,9 @@ export const strings = {
'문서 작성, 스프레드시트 제작, 프레젠테이션 생성, PDF 검토. 모든 단계에 AI가 녹아 있습니다.',
onbTitle2: '이제 시작일 뿐입니다',
onbBody2:
'HermesOffice는 아직 알파 단계입니다. GenTeam 그룹 채팅에 참여해 피드백을 공유하고 앞으로의 방향을 함께 만들어 가세요.',
onbCredits: '활발한 기여자를 위한 혜택 **1,000+ Hermes 크레딧**',
onbJoinGenTeam: 'GenTeam 참여하기',
'HermesOffice는 오픈소스입니다. GitHub에서 기여하며 앞으로의 방향을 함께 만들어 가세요.',
onbOpenSource: '**100% 오픈소스**, 무료입니다.',
onbJoinGitHub: 'GitHub에서 기여',
onbSkip: '건너뛰기',
onbNext: '다음',
onbStart: '시작하기',
Expand Down Expand Up @@ -849,9 +849,9 @@ export const strings = {
'Créez des documents, des feuilles de calcul et des présentations, et relisez des PDF. L’IA est intégrée à chaque étape.',
onbTitle2: 'Ce n’est qu’un début',
onbBody2:
'HermesOffice est encore en alpha. Rejoignez la discussion de groupe sur GenTeam pour partager vos retours et façonner la suite.',
onbCredits: 'Les contributeurs actifs reçoivent **1 000+ crédits Hermes**',
onbJoinGenTeam: 'Rejoindre GenTeam',
'HermesOffice est open source. Contribuez sur GitHub et aidez à façonner la suite.',
onbOpenSource: '**100% open source** - sans frais de licence.',
onbJoinGitHub: 'Contribuer sur GitHub',
onbSkip: 'Passer',
onbNext: 'Suivant',
onbStart: 'Commencer',
Expand Down Expand Up @@ -1030,9 +1030,9 @@ export const strings = {
'Dokumente erstellen, Tabellen bauen, Präsentationen gestalten und PDFs prüfen. KI ist in jedem Schritt integriert.',
onbTitle2: 'Das ist erst der Anfang',
onbBody2:
'HermesOffice ist noch in der Alpha-Phase. Treten Sie dem Gruppenchat auf GenTeam bei, um Feedback zu teilen und die Zukunft mitzugestalten.',
onbCredits: 'Aktive Mitwirkende erhalten **1.000+ Hermes-Guthaben**',
onbJoinGenTeam: 'GenTeam beitreten',
'HermesOffice ist Open Source. Tragen Sie auf GitHub bei und gestalten Sie die Zukunft mit.',
onbOpenSource: '**100% Open Source** - keine Lizenzgebühren.',
onbJoinGitHub: 'Auf GitHub beitragen',
onbSkip: 'Überspringen',
onbNext: 'Weiter',
onbStart: 'Loslegen',
Expand Down Expand Up @@ -1210,9 +1210,9 @@ export const strings = {
'Crea documentos, hojas de cálculo y presentaciones, y revisa PDF. La IA está integrada en cada paso.',
onbTitle2: 'Esto es solo el comienzo',
onbBody2:
'HermesOffice aún está en alfa. Únete al chat grupal en GenTeam para compartir comentarios y ayudar a dar forma a lo que viene.',
onbCredits: 'Los colaboradores activos reciben **1.000+ créditos de Hermes**',
onbJoinGenTeam: 'Unirse a GenTeam',
'HermesOffice es open source. Contribuye en GitHub y ayuda a dar forma a lo que viene.',
onbOpenSource: '**100% open source** - sin licencias.',
onbJoinGitHub: 'Contribuir en GitHub',
onbSkip: 'Omitir',
onbNext: 'Siguiente',
onbStart: 'Empezar',
Expand Down Expand Up @@ -1384,9 +1384,9 @@ export const strings = {
onbBody1: 'สร้างเอกสาร ทำสเปรดชีต สร้างงานนำเสนอ และตรวจทาน PDF ทุกขั้นตอนมี AI ในตัว',
onbTitle2: 'นี่เป็นเพียงจุดเริ่มต้น',
onbBody2:
'HermesOffice ยังอยู่ในช่วงอัลฟ่า เข้าร่วมแชทกลุ่มบน GenTeam เพื่อแบ่งปันความคิดเห็นและร่วมกำหนดทิศทางต่อไป',
onbCredits: 'ผู้มีส่วนร่วมอย่างต่อเนื่องจะได้รับ **เครดิต Hermes กว่า 1,000**',
onbJoinGenTeam: 'เข้าร่วม GenTeam',
'HermesOffice เป็นโอเพนซอร์ส ร่วมสนับสนุนบน GitHub และช่วยกำหนดทิศทางต่อไป',
onbOpenSource: '**โอเพนซอร์ส 100%** ฟรี',
onbJoinGitHub: 'ร่วมสนับสนุนบน GitHub',
onbSkip: 'ข้าม',
onbNext: 'ถัดไป',
onbStart: 'เริ่มใช้งาน',
Expand Down Expand Up @@ -1561,9 +1561,9 @@ export const strings = {
'Buat dokumen, susun spreadsheet, rancang presentasi, dan tinjau PDF. AI hadir di setiap langkah.',
onbTitle2: 'Ini baru permulaan',
onbBody2:
'HermesOffice masih dalam tahap alpha. Gabung obrolan grup di GenTeam untuk berbagi masukan dan ikut menentukan arah ke depan.',
onbCredits: 'Kontributor aktif mendapat **1.000+ kredit Hermes**',
onbJoinGenTeam: 'Gabung GenTeam',
'HermesOffice bersifat open source. Berkontribusi di GitHub dan bantu menentukan arah ke depan.',
onbOpenSource: '**100% open source** - tanpa biaya lisensi.',
onbJoinGitHub: 'Berkontribusi di GitHub',
onbSkip: 'Lewati',
onbNext: 'Berikutnya',
onbStart: 'Mulai',
Expand Down Expand Up @@ -1738,9 +1738,9 @@ export const strings = {
'Создавайте документы, таблицы и презентации, работайте с PDF. ИИ встроен в каждый шаг.',
onbTitle2: 'Это только начало',
onbBody2:
'HermesOffice пока в альфа-версии. Присоединяйтесь к групповому чату в GenTeam, чтобы делиться отзывами и влиять на дальнейшее развитие.',
onbCredits: 'Активные участники получают **1000+ кредитов Hermes**',
onbJoinGenTeam: 'Присоединиться к GenTeam',
'HermesOffice - это open source. Вносите вклад на GitHub и помогайте формировать дальнейшее развитие.',
onbOpenSource: '**100% open source**, бесплатно.',
onbJoinGitHub: 'Внести вклад на GitHub',
onbSkip: 'Пропустить',
onbNext: 'Далее',
onbStart: 'Начать',
Expand Down Expand Up @@ -1913,9 +1913,9 @@ export const strings = {
'أنشئ المستندات وجداول البيانات والعروض التقديمية وراجع ملفات PDF. الذكاء الاصطناعي مدمج في كل خطوة.',
onbTitle2: 'هذه مجرد البداية',
onbBody2:
'لا يزال HermesOffice في مرحلة ألفا. انضم إلى الدردشة الجماعية على GenTeam لمشاركة ملاحظاتك والمساهمة في تشكيل المستقبل.',
onbCredits: 'يحصل المساهمون النشطون على **+1,000 من أرصدة Hermes**',
onbJoinGenTeam: 'الانضمام إلى GenTeam',
'HermesOffice برنامج مفتوح المصدر. ساهم عبر GitHub وساعد في تشكيل ما هو قادم.',
onbOpenSource: '**مفتوح المصدر 100%** مجاناً.',
onbJoinGitHub: 'المساهمة على GitHub',
onbSkip: 'تخطي',
onbNext: 'التالي',
onbStart: 'ابدأ الآن',
Expand Down Expand Up @@ -2081,9 +2081,9 @@ export const strings = {
'Crie documentos, planilhas e apresentações e revise PDFs. A IA está integrada em cada etapa.',
onbTitle2: 'Isto é só o começo',
onbBody2:
'O HermesOffice ainda está em alfa. Entre no chat em grupo no GenTeam para compartilhar feedback e ajudar a moldar o que vem a seguir.',
onbCredits: 'Contribuidores ativos recebem **1.000+ créditos Hermes**',
onbJoinGenTeam: 'Entrar no GenTeam',
'O HermesOffice é open source. Contribua no GitHub e ajude a moldar o que vem a seguir.',
onbOpenSource: '**100% open source**, sem licenças.',
onbJoinGitHub: 'Contribuir no GitHub',
onbSkip: 'Pular',
onbNext: 'Avançar',
onbStart: 'Começar',
Expand Down Expand Up @@ -2249,9 +2249,9 @@ export const strings = {
'Crea documenti, fogli di calcolo e presentazioni e rivedi i PDF. L’IA è integrata in ogni passaggio.',
onbTitle2: 'Questo è solo l’inizio',
onbBody2:
'HermesOffice è ancora in alpha. Unisciti alla chat di gruppo su GenTeam per condividere feedback e contribuire a plasmare il futuro.',
onbCredits: 'I collaboratori attivi ricevono **1.000+ crediti Hermes**',
onbJoinGenTeam: 'Unisciti a GenTeam',
'HermesOffice è open source. Contribuisci su GitHub e contribuisci a plasmare il futuro.',
onbOpenSource: '**100% open source**, senza licenze.',
onbJoinGitHub: 'Contribuisci su GitHub',
onbSkip: 'Salta',
onbNext: 'Avanti',
onbStart: 'Inizia',
Expand Down Expand Up @@ -2416,9 +2416,9 @@ export const strings = {
'Twórz dokumenty, arkusze i prezentacje oraz przeglądaj pliki PDF. AI jest wbudowana w każdy etap.',
onbTitle2: 'To dopiero początek',
onbBody2:
'HermesOffice jest wciąż w fazie alfa. Dołącz do czatu grupowego na GenTeam, aby dzielić się opiniami i współtworzyć jego przyszłość.',
onbCredits: 'Aktywni współtwórcy otrzymują **1000+ kredytów Hermes**',
onbJoinGenTeam: 'Dołącz do GenTeam',
'HermesOffice to open source. Wnieś wkład na GitHubie i pomóż kształtować jego przyszłość.',
onbOpenSource: '**100% open source**, bez licencji.',
onbJoinGitHub: 'Wnieś wkład na GitHubie',
onbSkip: 'Pomiń',
onbNext: 'Dalej',
onbStart: 'Rozpocznij',
Expand Down Expand Up @@ -2583,9 +2583,9 @@ export const strings = {
'Maak documenten, bouw spreadsheets, maak presentaties en beoordeel PDF-bestanden. AI zit in elke stap ingebouwd.',
onbTitle2: 'Dit is nog maar het begin',
onbBody2:
'HermesOffice is nog in alfa. Doe mee aan de groepschat op GenTeam om feedback te delen en mee te bepalen wat er komt.',
onbCredits: 'Actieve bijdragers krijgen **1.000+ Hermes-credits**',
onbJoinGenTeam: 'Word lid van GenTeam',
'HermesOffice is open source. Draag bij op GitHub en help bepalen wat er komt.',
onbOpenSource: '**100% open source**, zonder licenties.',
onbJoinGitHub: 'Bijdragen op GitHub',
onbSkip: 'Overslaan',
onbNext: 'Volgende',
onbStart: 'Aan de slag',
Expand Down Expand Up @@ -2750,9 +2750,9 @@ export const strings = {
'Cipta dokumen, bina hamparan, hasilkan persembahan dan semak PDF. AI tersedia pada setiap langkah.',
onbTitle2: 'Ini baru permulaan',
onbBody2:
'HermesOffice masih dalam peringkat alfa. Sertai sembang kumpulan di GenTeam untuk berkongsi maklum balas dan membentuk masa depannya.',
onbCredits: 'Penyumbang aktif menerima **1,000+ kredit Hermes**',
onbJoinGenTeam: 'Sertai GenTeam',
'HermesOffice ialah sumber terbuka. Sumbang di GitHub dan bantu membentuk masa depannya.',
onbOpenSource: '**Sumber terbuka 100%**, tanpa lesen.',
onbJoinGitHub: 'Sumbang di GitHub',
onbSkip: 'Langkau',
onbNext: 'Seterusnya',
onbStart: 'Mula',
Expand Down Expand Up @@ -2913,9 +2913,9 @@ export const strings = {
onbBody1: 'צרו מסמכים, בנו גיליונות, הכינו מצגות ובדקו קובצי PDF. ה-AI מובנה בכל שלב.',
onbTitle2: 'זו רק ההתחלה',
onbBody2:
'HermesOffice עדיין בגרסת אלפא. הצטרפו לצ׳אט הקבוצתי ב-GenTeam כדי לשתף משוב ולעזור לעצב את ההמשך.',
onbCredits: 'תורמים פעילים מקבלים **1,000+ נקודות Hermes**',
onbJoinGenTeam: 'הצטרפו ל-GenTeam',
'HermesOffice הוא קוד פתוח. תרמו ב-GitHub ועזרו לעצב את ההמשך.',
onbOpenSource: '**קוד פתוח 100%**, בחינם.',
onbJoinGitHub: 'לתרום ב-GitHub',
onbSkip: 'דילוג',
onbNext: 'הבא',
onbStart: 'להתחיל',
Expand Down Expand Up @@ -3081,9 +3081,9 @@ export const strings = {
'दस्तावेज़ बनाएँ, स्प्रेडशीट तैयार करें, प्रस्तुतियाँ बनाएँ और PDF की समीक्षा करें। AI हर चरण में शामिल है।',
onbTitle2: 'यह तो बस शुरुआत है',
onbBody2:
'HermesOffice अभी अल्फ़ा में है। GenTeam पर ग्रुप चैट से जुड़ें, फ़ीडबैक साझा करें और आगे की दिशा तय करने में मदद करें।',
onbCredits: 'सक्रिय योगदानकर्ताओं के लिए **1,000+ Hermes क्रेडिट**',
onbJoinGenTeam: 'GenTeam से जुड़ें',
'HermesOffice ओपन सोर्स है। GitHub पर योगदान करें और आगे की दिशा तय करने में मदद करें।',
onbOpenSource: '**100% ओपन सोर्स**, मुफ़्त।',
onbJoinGitHub: 'GitHub पर योगदान करें',
onbSkip: 'छोड़ें',
onbNext: 'आगे',
onbStart: 'शुरू करें',
Expand Down Expand Up @@ -3243,9 +3243,9 @@ export const strings = {
onbBody1: '建立文件、製作試算表、產生簡報、審閱 PDF。AI 深度融入每個環節。',
onbTitle2: '這只是一個開始',
onbBody2:
'HermesOffice 目前仍在 alpha 階段。歡迎加入 GenTeam 群聊,分享回饋,一起打造它的未來。',
onbCredits: '活躍貢獻者可獲得 **1,000+ Hermes 點數**',
onbJoinGenTeam: '加入 GenTeam',
'HermesOffice 是開源軟體。歡迎到 GitHub 貢獻,一起完善它的下一步。',
onbOpenSource: '**100% 開源**,無授權費用。',
onbJoinGitHub: '在 GitHub 上貢獻',
onbSkip: '略過',
onbNext: '下一步',
onbStart: '開始使用',
Expand Down
Loading
Loading