Skip to content

The agent that grows with you

refactor(desktop): menu labels are bare verbs in sentence case

Brooklyn Nicholson4054d54926ac
diff --git a/apps/desktop/'/var/folders/5h/qzgt02rn619fttp2d7zdxj600000gn/T/hermes-update-mutex-us8HZu/home/.hermes-update-in-progress.mutex' b/apps/desktop/'/var/folders/5h/qzgt02rn619fttp2d7zdxj600000gn/T/hermes-update-mutex-us8HZu/home/.hermes-update-in-progress.mutex'
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/apps/desktop/src/app/chat/sidebar/profile-switcher.tsx b/apps/desktop/src/app/chat/sidebar/profile-switcher.tsx
index 4cc5e530f16..f9c53042c60 100644
--- a/apps/desktop/src/app/chat/sidebar/profile-switcher.tsx
+++ b/apps/desktop/src/app/chat/sidebar/profile-switcher.tsx
@@ -1320,7 +1320,7 @@ function ProfileSquare({
</ContextMenuItem>
<ContextMenuItem onSelect={() => void runExportProfileFlow(label)}>
<Codicon name="package" size="0.875rem" />
- <span>{p.exportProfile}</span>
+ <span>{p.exportMenu}</span>
</ContextMenuItem>
{onConnectRemote && (
<ContextMenuItem onSelect={onConnectRemote}>
diff --git a/apps/desktop/src/i18n/ar.ts b/apps/desktop/src/i18n/ar.ts
index 6202019c708..d28ee1b6d8f 100644
--- a/apps/desktop/src/i18n/ar.ts
+++ b/apps/desktop/src/i18n/ar.ts
@@ -1395,6 +1395,7 @@ export const ar = defineLocale({
newProfile: 'ملف شخصي جديد',
importProfile: 'استيراد ملف شخصي…',
exportProfile: 'تصدير ملف شخصي…',
+ exportMenu: 'تصدير…',
imported: 'تم استيراد الملف الشخصي',
exported: 'تم تصدير الملف الشخصي',
failedImport: 'فشل استيراد الملف الشخصي',
@@ -1726,7 +1727,7 @@ export const ar = defineLocale({
removeFolder: 'إزالة',
create: 'إنشاء',
menu: 'إجراءات',
- menuRename: 'إعادة تسمية',
+ menuRename: 'إعادة تسمية…',
menuAppearance: 'المظهر',
noColor: 'بلا لون',
menuAddFolder: 'إضافة مجلد',
@@ -1784,7 +1785,7 @@ export const ar = defineLocale({
copyId: 'نسخ المعرف',
export: 'تصدير',
branchFrom: 'فرع',
- rename: 'إعادة تسمية',
+ rename: 'إعادة تسمية…',
archive: 'أرشفة',
newWindow: 'فتح في نافذة جديدة',
openInTerminal: 'فتح في الطرفية',
diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts
index 2a9aed67e56..54199e49e7a 100644
--- a/apps/desktop/src/i18n/en.ts
+++ b/apps/desktop/src/i18n/en.ts
@@ -48,10 +48,10 @@ export const en: Translations = {
fileMenu: {
revealFinder: 'Reveal in Finder',
revealExplorer: 'Reveal in File Explorer',
- revealFileManager: 'Open Containing Folder',
+ revealFileManager: 'Open containing folder',
revealInSidebar: 'Reveal in filetree',
- copyPath: 'Copy Path',
- copyRelativePath: 'Copy Relative Path',
+ copyPath: 'Copy path',
+ copyRelativePath: 'Copy relative path',
download: 'Download',
downloadSaved: 'Saved',
downloadFailed: 'Download failed',
@@ -1904,6 +1904,7 @@ export const en: Translations = {
defaultBadge: 'Default',
rename: 'Rename',
renameMenu: 'Rename…',
+ exportMenu: 'Export…',
editSoul: 'Edit SOUL.md…',
copySetup: 'Copy setup',
copying: 'Copying...',
@@ -2209,7 +2210,7 @@ export const en: Translations = {
removeFolder: 'Remove',
create: 'Create',
menu: 'Actions',
- menuRename: 'Rename',
+ menuRename: 'Rename…',
menuAppearance: 'Appearance',
noColor: 'No color',
menuAddFolder: 'Add folder',
@@ -2279,7 +2280,7 @@ export const en: Translations = {
copyId: 'Copy ID',
export: 'Export',
branchFrom: 'Branch',
- rename: 'Rename',
+ rename: 'Rename…',
archive: 'Archive',
newWindow: 'New window',
openInTerminal: 'Open in terminal',
@@ -2527,8 +2528,8 @@ export const en: Translations = {
behind: count => `${count} behind`,
review: 'Review',
close: 'Close',
- openChanges: 'Open Changes',
- openFile: 'Open File',
+ openChanges: 'Open changes',
+ openFile: 'Open file',
stage: 'Stage',
unstage: 'Unstage',
stageAll: 'Stage all',
@@ -2827,8 +2828,8 @@ export const en: Translations = {
modelMenu: {
search: 'Search models',
noModels: 'No models found',
- editModels: 'Edit Models…',
- refreshModels: 'Refresh Models',
+ editModels: 'Edit models…',
+ refreshModels: 'Refresh models',
fast: 'Fast'
},
modelOptions: {
diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.ts
index e2d47a65881..59a8a2992b2 100644
--- a/apps/desktop/src/i18n/ja.ts
+++ b/apps/desktop/src/i18n/ja.ts
@@ -1591,6 +1591,7 @@ export const ja = defineLocale({
defaultBadge: 'デフォルト',
rename: '名前を変更',
renameMenu: '名前を変更…',
+ exportMenu: 'エクスポート…',
editSoul: 'SOUL.md を編集…',
copySetup: 'セットアップをコピー',
copying: 'コピー中...',
@@ -1895,7 +1896,7 @@ export const ja = defineLocale({
removeFolder: '削除',
create: '作成',
menu: 'アクション',
- menuRename: '名前を変更',
+ menuRename: '名前を変更…',
menuAppearance: '外観',
noColor: '色なし',
menuAddFolder: 'フォルダを追加',
@@ -1958,7 +1959,7 @@ export const ja = defineLocale({
copyId: 'ID をコピー',
export: 'エクスポート',
branchFrom: '分岐',
- rename: '名前を変更',
+ rename: '名前を変更…',
archive: 'アーカイブ',
newWindow: '新しいウィンドウ',
openInTerminal: 'ターミナルで開く',
diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.ts
index 3b4415cb7f1..00ec2eabaad 100644
--- a/apps/desktop/src/i18n/types.ts
+++ b/apps/desktop/src/i18n/types.ts
@@ -1553,8 +1553,11 @@ export interface Translations {
search: string
loading: string
newProfile: string
+ /** Verb + noun: the profiles-list button and the native file-dialog titles,
+ * which stand alone. Per-profile menus use the bare `exportMenu`. */
importProfile: string
exportProfile: string
+ exportMenu: string
imported: string
exported: string
failedImport: string
diff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.ts
index 23fbcf75906..48329d11e97 100644
--- a/apps/desktop/src/i18n/zh-hant.ts
+++ b/apps/desktop/src/i18n/zh-hant.ts
@@ -1530,6 +1530,7 @@ export const zhHant = defineLocale({
defaultBadge: '預設',
rename: '重新命名',
renameMenu: '重新命名…',
+ exportMenu: '匯出…',
editSoul: '編輯 SOUL.md…',
copySetup: '複製安裝指令',
copying: '複製中…',
@@ -1831,7 +1832,7 @@ export const zhHant = defineLocale({
removeFolder: '移除',
create: '建立',
menu: '動作',
- menuRename: '重新命名',
+ menuRename: '重新命名…',
menuAppearance: '外觀',
noColor: '無顏色',
menuAddFolder: '新增資料夾',
@@ -1890,7 +1891,7 @@ export const zhHant = defineLocale({
copyId: '複製 ID',
export: '匯出',
branchFrom: '分支',
- rename: '重新命名',
+ rename: '重新命名…',
archive: '封存',
newWindow: '新視窗',
openInTerminal: '在終端機中開啟',
diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.ts
index 2f90f098682..14c12317262 100644
--- a/apps/desktop/src/i18n/zh.ts
+++ b/apps/desktop/src/i18n/zh.ts
@@ -2086,6 +2086,7 @@ export const zh: Translations = {
defaultBadge: '默认',
rename: '重命名',
renameMenu: '重命名…',
+ exportMenu: '导出…',
editSoul: '编辑 SOUL.md…',
copySetup: '复制安装命令',
copying: '复制中…',
@@ -2390,7 +2391,7 @@ export const zh: Translations = {
removeFolder: '移除',
create: '创建',
menu: '操作',
- menuRename: '重命名',
+ menuRename: '重命名…',
menuAppearance: '外观',
noColor: '无颜色',
menuAddFolder: '添加文件夹',
@@ -2457,7 +2458,7 @@ export const zh: Translations = {
copyId: '复制 ID',
export: '导出',
branchFrom: '分支',
- rename: '重命名',
+ rename: '重命名…',
archive: '归档',
newWindow: '新窗口',
openInTerminal: '在终端中打开',
diff --git a/apps/desktop/src/plugins/hermes-bots/bot-row.tsx b/apps/desktop/src/plugins/hermes-bots/bot-row.tsx
index 06a21cd3e42..dad5305d9b5 100644
--- a/apps/desktop/src/plugins/hermes-bots/bot-row.tsx
+++ b/apps/desktop/src/plugins/hermes-bots/bot-row.tsx
@@ -339,7 +339,7 @@ export function BotRow({ bot, onDelete, onEdit, onGroup, showHandle }: BotRowPro
.catch(error => host.notifyError?.(error, 'Could not load bot'))
}
>
- {b.bot.editTitle}
+ {b.bot.editMenu}
</ContextMenuItem>
<ContextMenuItem
onSelect={() =>
diff --git a/apps/desktop/src/plugins/hermes-bots/i18n.ts b/apps/desktop/src/plugins/hermes-bots/i18n.ts
index 5d25afa6cdc..5060f054f0e 100644
--- a/apps/desktop/src/plugins/hermes-bots/i18n.ts
+++ b/apps/desktop/src/plugins/hermes-bots/i18n.ts
@@ -79,6 +79,7 @@ type BotsMessages = {
bot: {
newTitle: string
editTitle: string
+ editMenu: string
helpPromptPlaceholder: string
descriptionHint: string
newChatWith: string
@@ -281,8 +282,9 @@ const en: BotsMessages = {
'Waiting for the gateway connection… (remote gateways can take a few seconds; retries automatically)'
},
bot: {
- newTitle: 'New Bot',
- editTitle: 'Edit Profile',
+ newTitle: 'New bot',
+ editTitle: 'Edit profile',
+ editMenu: 'Edit…',
helpPromptPlaceholder: 'What should this bot help with?',
descriptionHint: 'Leave blank to generate from the bot’s name and description.',
newChatWith: 'New chat with this bot',
@@ -325,7 +327,7 @@ const en: BotsMessages = {
generating: 'Generating…'
},
group: {
- newTitle: 'New Group Chat',
+ newTitle: 'New group chat',
manageDesc: 'A bot can join multiple group chats. Memberships sync to every machine.',
manageTitle: 'Manage groups',
settingsTitle: 'Group settings',
@@ -336,7 +338,7 @@ const en: BotsMessages = {
removeFromSelection: 'Remove from selection',
disbandTitle: 'Disband group chat?',
deleteTitle: 'Delete group chat?',
- deleteAction: 'Delete Group',
+ deleteAction: 'Delete',
composerPlaceholder: 'Say something — every bot in this group hears the room.',
attachHint: 'Attach files — every responding bot sees them',
newThread: 'New Thread',
@@ -473,6 +475,7 @@ const ja: BotsMessages = {
bot: {
newTitle: '新しいボット',
editTitle: 'プロファイルを編集',
+ editMenu: '編集…',
helpPromptPlaceholder: 'このボットは何を手伝いますか?',
descriptionHint: '空欄のままにすると、ボットの名前と説明から生成します。',
newChatWith: 'このボットと新しいチャット',
@@ -526,7 +529,7 @@ const ja: BotsMessages = {
removeFromSelection: '選択から外す',
disbandTitle: 'グループチャットを解散しますか?',
deleteTitle: 'グループチャットを削除しますか?',
- deleteAction: 'グループを削除',
+ deleteAction: '削除',
composerPlaceholder: '何か書いてください — このグループのすべてのボットが部屋の内容を受け取ります。',
attachHint: 'ファイルを添付 — 応答するすべてのボットが見ます',
newThread: '新しいスレッド',
@@ -662,6 +665,7 @@ const zh: BotsMessages = {
bot: {
newTitle: '新建机器人',
editTitle: '编辑配置档案',
+ editMenu: '编辑…',
helpPromptPlaceholder: '这个机器人应该帮你做什么?',
descriptionHint: '留空则根据机器人的名称和描述生成。',
newChatWith: '与此机器人开新聊天',
@@ -715,7 +719,7 @@ const zh: BotsMessages = {
removeFromSelection: '从选择中移除',
disbandTitle: '解散群聊?',
deleteTitle: '删除群聊?',
- deleteAction: '删除群组',
+ deleteAction: '删除',
composerPlaceholder: '说点什么 — 这个群里的每个机器人都会听到。',
attachHint: '附加文件 — 每个回应的机器人都能看到',
newThread: '新帖子',
@@ -851,6 +855,7 @@ const zhHant: BotsMessages = {
bot: {
newTitle: '新增機器人',
editTitle: '編輯設定檔',
+ editMenu: '編輯…',
helpPromptPlaceholder: '這個機器人應該幫你做什麼?',
descriptionHint: '留空則依機器人的名稱和描述產生。',
newChatWith: '與此機器人開新聊天',
@@ -904,7 +909,7 @@ const zhHant: BotsMessages = {
removeFromSelection: '從選取中移除',
disbandTitle: '解散群組聊天?',
deleteTitle: '刪除群組聊天?',
- deleteAction: '刪除群組',
+ deleteAction: '刪除',
composerPlaceholder: '說點什麼 — 這個群組裡的每個機器人都會聽到。',
attachHint: '附加檔案 — 每個回應的機器人都能看到',
newThread: '新討論串',