Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Localize the public app publication menu action

wyta85895646aa1
diff --git a/src/renderer/locales/ar.json b/src/renderer/locales/ar.json
index f036e4f2..38f55d4b 100644
--- a/src/renderer/locales/ar.json
+++ b/src/renderer/locales/ar.json
@@ -584,6 +584,7 @@
"apps.empty": "لا توجد تطبيقات",
"apps.open_hint": "فتح في Orkas",
"apps.open_failed": "تعذّر فتح التطبيق",
+ "apps.publish_action": "نشر",
"apps.edit": "تعديل",
"apps.edit_conv_title": "تعديل \"{name}\"",
"apps.edit_seed": "عدّل التطبيق التفاعلي \"{name}\". المصدر: المرفق \"{file}\":",
diff --git a/src/renderer/locales/de.json b/src/renderer/locales/de.json
index 0271d057..75c40322 100644
--- a/src/renderer/locales/de.json
+++ b/src/renderer/locales/de.json
@@ -584,6 +584,7 @@
"apps.empty": "Keine Apps",
"apps.open_hint": "In Orkas öffnen",
"apps.open_failed": "App konnte nicht geöffnet werden",
+ "apps.publish_action": "Veröffentlichen",
"apps.edit": "Bearbeiten",
"apps.edit_conv_title": "„{name}“ bearbeiten",
"apps.edit_seed": "Ändern Sie die interaktive App „{name}“. Quelle: angehängte Datei „{file}“:",
diff --git a/src/renderer/locales/en.json b/src/renderer/locales/en.json
index ccf6c571..730f3862 100644
--- a/src/renderer/locales/en.json
+++ b/src/renderer/locales/en.json
@@ -584,6 +584,7 @@
"apps.empty": "No apps",
"apps.open_hint": "Open in Orkas",
"apps.open_failed": "Could not open the app",
+ "apps.publish_action": "Publish",
"apps.edit": "Edit",
"apps.edit_conv_title": "Edit \"{name}\"",
"apps.edit_seed": "Modify the interactive app \"{name}\". Source: attached \"{file}\":",
diff --git a/src/renderer/locales/es-419.json b/src/renderer/locales/es-419.json
index d56f98f5..952522cf 100644
--- a/src/renderer/locales/es-419.json
+++ b/src/renderer/locales/es-419.json
@@ -584,6 +584,7 @@
"apps.empty": "Sin aplicaciones",
"apps.open_hint": "Abrir en Orkas",
"apps.open_failed": "No se pudo abrir la aplicación",
+ "apps.publish_action": "Publicar",
"apps.edit": "Editar",
"apps.edit_conv_title": "Editar \"{name}\"",
"apps.edit_seed": "Modifica la aplicación interactiva \"{name}\". Fuente: adjunto \"{file}\":",
diff --git a/src/renderer/locales/es.json b/src/renderer/locales/es.json
index c90ea075..1babf525 100644
--- a/src/renderer/locales/es.json
+++ b/src/renderer/locales/es.json
@@ -584,6 +584,7 @@
"apps.empty": "Sin aplicaciones",
"apps.open_hint": "Abrir en Orkas",
"apps.open_failed": "No se pudo abrir la aplicación",
+ "apps.publish_action": "Publicar",
"apps.edit": "Editar",
"apps.edit_conv_title": "Editar \"{name}\"",
"apps.edit_seed": "Modifica la aplicación interactiva \"{name}\". Fuente: adjunto \"{file}\":",
diff --git a/src/renderer/locales/fr.json b/src/renderer/locales/fr.json
index f981395a..4ba7d64e 100644
--- a/src/renderer/locales/fr.json
+++ b/src/renderer/locales/fr.json
@@ -584,6 +584,7 @@
"apps.empty": "Aucune application",
"apps.open_hint": "Ouvrir dans Orkas",
"apps.open_failed": "Impossible d’ouvrir l’application",
+ "apps.publish_action": "Publier",
"apps.edit": "Modifier",
"apps.edit_conv_title": "Modifier « {name} »",
"apps.edit_seed": "Modifiez l’application interactive « {name} ». Source : pièce jointe « {file} » :",
diff --git a/src/renderer/locales/hi.json b/src/renderer/locales/hi.json
index 8bc926be..0db934ad 100644
--- a/src/renderer/locales/hi.json
+++ b/src/renderer/locales/hi.json
@@ -584,6 +584,7 @@
"apps.empty": "कोई ऐप नहीं",
"apps.open_hint": "Orkas में खोलें",
"apps.open_failed": "ऐप नहीं खुल सका",
+ "apps.publish_action": "प्रकाशित करें",
"apps.edit": "संपादित करें",
"apps.edit_conv_title": "\"{name}\" संपादित करें",
"apps.edit_seed": "इंटरैक्टिव ऐप \"{name}\" में बदलाव करें। स्रोत: संलग्न \"{file}\":",
diff --git a/src/renderer/locales/id.json b/src/renderer/locales/id.json
index 691e67ca..6a232878 100644
--- a/src/renderer/locales/id.json
+++ b/src/renderer/locales/id.json
@@ -584,6 +584,7 @@
"apps.empty": "Tidak ada aplikasi",
"apps.open_hint": "Buka di Orkas",
"apps.open_failed": "Tidak dapat membuka aplikasi",
+ "apps.publish_action": "Terbitkan",
"apps.edit": "Edit",
"apps.edit_conv_title": "Edit \"{name}\"",
"apps.edit_seed": "Ubah aplikasi interaktif \"{name}\". Sumber: terlampir \"{file}\":",
diff --git a/src/renderer/locales/it.json b/src/renderer/locales/it.json
index 2720a5f0..78215ef2 100644
--- a/src/renderer/locales/it.json
+++ b/src/renderer/locales/it.json
@@ -584,6 +584,7 @@
"apps.empty": "Nessuna app",
"apps.open_hint": "Apri in Orkas",
"apps.open_failed": "Impossibile aprire l'app",
+ "apps.publish_action": "Pubblica",
"apps.edit": "Modifica",
"apps.edit_conv_title": "Modifica \"{name}\"",
"apps.edit_seed": "Modifica l'app interattiva \"{name}\". Sorgente: allegato \"{file}\":",
diff --git a/src/renderer/locales/ja.json b/src/renderer/locales/ja.json
index 93174bb1..04235168 100644
--- a/src/renderer/locales/ja.json
+++ b/src/renderer/locales/ja.json
@@ -584,6 +584,7 @@
"apps.empty": "アプリはありません",
"apps.open_hint": "Orkas で開く",
"apps.open_failed": "アプリを開けませんでした",
+ "apps.publish_action": "公開",
"apps.edit": "編集",
"apps.edit_conv_title": "「{name}」を編集",
"apps.edit_seed": "インタラクティブアプリ「{name}」を変更してください。ソースは添付「{file}」です:",
diff --git a/src/renderer/locales/ko.json b/src/renderer/locales/ko.json
index 4f298a12..adc9acc1 100644
--- a/src/renderer/locales/ko.json
+++ b/src/renderer/locales/ko.json
@@ -584,6 +584,7 @@
"apps.empty": "앱 없음",
"apps.open_hint": "Orkas에서 열기",
"apps.open_failed": "앱을 열 수 없습니다",
+ "apps.publish_action": "게시",
"apps.edit": "편집",
"apps.edit_conv_title": "\"{name}\" 편집",
"apps.edit_seed": "대화형 앱 \"{name}\"을(를) 수정해 주세요. 소스: 첨부된 \"{file}\":",
diff --git a/src/renderer/locales/pt-pt.json b/src/renderer/locales/pt-pt.json
index b24ec8d4..ea18eafb 100644
--- a/src/renderer/locales/pt-pt.json
+++ b/src/renderer/locales/pt-pt.json
@@ -584,6 +584,7 @@
"apps.empty": "Nenhuma aplicação",
"apps.open_hint": "Abrir no Orkas",
"apps.open_failed": "Não foi possível abrir a aplicação",
+ "apps.publish_action": "Publicar",
"apps.edit": "Editar",
"apps.edit_conv_title": "Editar \"{name}\"",
"apps.edit_seed": "Modifique a aplicação interativa \"{name}\". Código-fonte: ficheiro \"{file}\" anexado:",
diff --git a/src/renderer/locales/pt.json b/src/renderer/locales/pt.json
index 76fa757c..388d9a3c 100644
--- a/src/renderer/locales/pt.json
+++ b/src/renderer/locales/pt.json
@@ -584,6 +584,7 @@
"apps.empty": "Nenhum aplicativo",
"apps.open_hint": "Aberto em Orkas",
"apps.open_failed": "Não foi possível abrir o aplicativo",
+ "apps.publish_action": "Publicar",
"apps.edit": "Editar",
"apps.edit_conv_title": "Editar \"{name}\"",
"apps.edit_seed": "Modifique o app interativo \"{name}\". Origem: \"{file}\" anexado:",
diff --git a/src/renderer/locales/ru.json b/src/renderer/locales/ru.json
index 37b06db4..13b969ac 100644
--- a/src/renderer/locales/ru.json
+++ b/src/renderer/locales/ru.json
@@ -584,6 +584,7 @@
"apps.empty": "Нет приложений",
"apps.open_hint": "Открыть в Orkas",
"apps.open_failed": "Не удалось открыть приложение",
+ "apps.publish_action": "Опубликовать",
"apps.edit": "Редактировать",
"apps.edit_conv_title": "Редактировать «{name}»",
"apps.edit_seed": "Измени интерактивное приложение «{name}». Исходник: вложенный файл «{file}»:",
diff --git a/src/renderer/locales/th.json b/src/renderer/locales/th.json
index c9c18816..028204d2 100644
--- a/src/renderer/locales/th.json
+++ b/src/renderer/locales/th.json
@@ -584,6 +584,7 @@
"apps.empty": "ไม่มีแอป",
"apps.open_hint": "เปิดใน Orkas",
"apps.open_failed": "เปิดแอปไม่ได้",
+ "apps.publish_action": "เผยแพร่",
"apps.edit": "แก้ไข",
"apps.edit_conv_title": "แก้ไข \"{name}\"",
"apps.edit_seed": "แก้ไขแอปแบบโต้ตอบ \"{name}\" ต้นฉบับ: ไฟล์แนบ \"{file}\":",
diff --git a/src/renderer/locales/tr.json b/src/renderer/locales/tr.json
index 3181433b..58fa8ba4 100644
--- a/src/renderer/locales/tr.json
+++ b/src/renderer/locales/tr.json
@@ -584,6 +584,7 @@
"apps.empty": "Uygulama yok",
"apps.open_hint": "Orkas'ta aç",
"apps.open_failed": "Uygulama açılamadı",
+ "apps.publish_action": "Yayımla",
"apps.edit": "Düzenle",
"apps.edit_conv_title": "\"{name}\" düzenle",
"apps.edit_seed": "\"{name}\" etkileşimli uygulamasını değiştir. Kaynak: ekli \"{file}\":",
diff --git a/src/renderer/locales/vi.json b/src/renderer/locales/vi.json
index 8006f7ca..96b4f99c 100644
--- a/src/renderer/locales/vi.json
+++ b/src/renderer/locales/vi.json
@@ -584,6 +584,7 @@
"apps.empty": "Không có ứng dụng",
"apps.open_hint": "Mở trong Orkas",
"apps.open_failed": "Không thể mở ứng dụng",
+ "apps.publish_action": "Xuất bản",
"apps.edit": "Chỉnh sửa",
"apps.edit_conv_title": "Chỉnh sửa \"{name}\"",
"apps.edit_seed": "Chỉnh sửa ứng dụng tương tác \"{name}\". Nguồn: tệp đính kèm \"{file}\":",
diff --git a/src/renderer/locales/zh-tw.json b/src/renderer/locales/zh-tw.json
index 36ac8d78..b282a2ad 100644
--- a/src/renderer/locales/zh-tw.json
+++ b/src/renderer/locales/zh-tw.json
@@ -584,6 +584,7 @@
"apps.empty": "暫無應用程式",
"apps.open_hint": "在 Orkas 中開啟",
"apps.open_failed": "無法開啟應用程式",
+ "apps.publish_action": "發布",
"apps.edit": "編輯",
"apps.edit_conv_title": "編輯「{name}」",
"apps.edit_seed": "請修改互動應用程式「{name}」,原始碼見附件「{file}」:",
diff --git a/src/renderer/locales/zh.json b/src/renderer/locales/zh.json
index 9e1b700d..27f97307 100644
--- a/src/renderer/locales/zh.json
+++ b/src/renderer/locales/zh.json
@@ -584,6 +584,7 @@
"apps.empty": "暂无应用",
"apps.open_hint": "在 Orkas 中打开",
"apps.open_failed": "无法打开应用",
+ "apps.publish_action": "发布",
"apps.edit": "编辑",
"apps.edit_conv_title": "编辑「{name}」",
"apps.edit_seed": "请修改交互应用「{name}」,源码见附件「{file}」:",
diff --git a/test/e2e/saved_apps_e2e_lifecycle.spec.ts b/test/e2e/saved_apps_e2e_lifecycle.spec.ts
index 393772e3..9a6a01f9 100644
--- a/test/e2e/saved_apps_e2e_lifecycle.spec.ts
+++ b/test/e2e/saved_apps_e2e_lifecycle.spec.ts
@@ -888,6 +888,9 @@ test('publication guidance preserves the app and direct publication refuses with
const card = page.locator(`.app-card[data-app-id="${saved.id}"]`);
await card.hover();
await card.locator('[data-app-more]').click();
+ await expect(page.locator('.app-row-menu [data-action="publish"]'))
+ .toHaveText(language === 'zh' ? '发布' : 'Publish');
+ await page.locator('.app-row-menu').screenshot({path:testInfo.outputPath(`publication-menu-${language}.png`)});
await page.locator('.app-row-menu [data-action="publish"]').click();
const dialog = page.locator('.ui-dialog-overlay.open');
await expect(dialog).toContainText(language === 'zh' ? '发布' : 'publish', {ignoreCase:true});
diff --git a/test/renderer/saved-apps-journeys.test.ts b/test/renderer/saved-apps-journeys.test.ts
index 5fd25089..2ba3aaac 100644
--- a/test/renderer/saved-apps-journeys.test.ts
+++ b/test/renderer/saved-apps-journeys.test.ts
@@ -53,6 +53,9 @@ describe('My Apps list refresh', () => {
describe('My Apps publication entry', () => {
it.each(['local', 'web', 'cloud'])('keeps a %s app and its draft when publication guidance is cancelled', async appType => {
const h = await openPanel(apps([{ id: 'app-weather', title: 'Weather', appType, savedAt }]));
+ h.card('app-weather')!.querySelector('[data-app-more]')!.click();
+ expect(h.$('.app-row-menu [data-action="publish"]')!.textContent).toBe('发布');
+ h.press('Escape');
await h.chooseMenuAction('app-weather', 'publish');
const [dialog] = h.openDialogs();
expect(h.dialogText(dialog)).toBe(h.context.t('apps.commercial_required'));