Add Copy file path to file preview tab menus (#1473)

* feat(app): add Copy file path to file preview tab menus

* fix(app): restore copyAgentId translations accidentally replaced by placeholder
This commit is contained in:
Mohamed Boudra
2026-06-12 11:09:22 +08:00
committed by GitHub
parent 75aa626df5
commit f242519623
11 changed files with 125 additions and 0 deletions
+2
View File
@@ -433,6 +433,7 @@ export const ar: TranslationResources = {
openFor: "فتح القائمة لـ{{label}}",
copyResumeCommand: "نسخ أمر السيرة الذاتية",
copyAgentId: "نسخ معرف الوكيل",
copyFilePath: "Copy file path",
rename: "إعادة تسمية",
closeAbove: "إغلاق علامات التبويب أعلاه",
closeBelow: "إغلاق علامات التبويب أدناه",
@@ -465,6 +466,7 @@ export const ar: TranslationResources = {
copyFailed: "فشل النسخ",
agentIdCopiedLabel: "AgentID",
resumeCommandCopiedLabel: "أمر الاستئناف",
filePathCopiedLabel: "File path",
resumeIdUnavailable: "السيرة الذاتية ID غير متوفرة",
resumeCommandUnavailable: "أمر الاستئناف غير متوفر",
reloadingAgent: "وكيل إعادة التحميل...",
+2
View File
@@ -432,6 +432,7 @@ export const en = {
openFor: "Open menu for {{label}}",
copyResumeCommand: "Copy resume command",
copyAgentId: "Copy agent id",
copyFilePath: "Copy file path",
rename: "Rename",
closeAbove: "Close tabs above",
closeBelow: "Close tabs below",
@@ -464,6 +465,7 @@ export const en = {
copyFailed: "Copy failed",
agentIdCopiedLabel: "Agent ID",
resumeCommandCopiedLabel: "resume command",
filePathCopiedLabel: "File path",
resumeIdUnavailable: "Resume ID not available",
resumeCommandUnavailable: "Resume command not available",
reloadingAgent: "Reloading agent...",
+2
View File
@@ -436,6 +436,7 @@ export const es: TranslationResources = {
openFor: "Menú abierto para{{label}}",
copyResumeCommand: "Copiar comando de reanudación",
copyAgentId: "Copiar ID del agente",
copyFilePath: "Copy file path",
rename: "Rebautizar",
closeAbove: "Cerrar pestañas arriba",
closeBelow: "Cerrar pestañas a continuación",
@@ -469,6 +470,7 @@ export const es: TranslationResources = {
copyFailed: "Copia fallida",
agentIdCopiedLabel: "AgentID",
resumeCommandCopiedLabel: "reanudar el comando",
filePathCopiedLabel: "File path",
resumeIdUnavailable: "ReanudarIDno disponible",
resumeCommandUnavailable: "Comando de reanudación no disponible",
reloadingAgent: "Agente de recarga...",
+2
View File
@@ -436,6 +436,7 @@ export const fr: TranslationResources = {
openFor: "Ouvrir le menu pour{{label}}",
copyResumeCommand: "Copier la commande de reprise",
copyAgentId: "Copier l'identifiant de l'agent",
copyFilePath: "Copy file path",
rename: "Rebaptiser",
closeAbove: "Fermer les onglets ci-dessus",
closeBelow: "Fermer les onglets ci-dessous",
@@ -469,6 +470,7 @@ export const fr: TranslationResources = {
copyFailed: "Échec de la copie",
agentIdCopiedLabel: "AgentID",
resumeCommandCopiedLabel: "reprendre la commande",
filePathCopiedLabel: "File path",
resumeIdUnavailable: "ReprendreIDnon disponible",
resumeCommandUnavailable: "Commande de reprise non disponible",
reloadingAgent: "Agent de rechargement...",
+2
View File
@@ -436,6 +436,7 @@ export const ru: TranslationResources = {
openFor: "Открыть меню для{{label}}",
copyResumeCommand: "Копировать команду возобновления",
copyAgentId: "Скопировать идентификатор агента",
copyFilePath: "Copy file path",
rename: "Переименовать",
closeAbove: "Закрыть вкладки выше",
closeBelow: "Закройте вкладки ниже",
@@ -468,6 +469,7 @@ export const ru: TranslationResources = {
copyFailed: "Не удалось скопировать",
agentIdCopiedLabel: "AgentID",
resumeCommandCopiedLabel: "команда возобновления",
filePathCopiedLabel: "File path",
resumeIdUnavailable: "Резюме ID недоступно",
resumeCommandUnavailable: "Команда возобновления недоступна",
reloadingAgent: "Перезагрузка агента...",
+2
View File
@@ -433,6 +433,7 @@ export const zhCN: TranslationResources = {
openFor: "打开 {{label}} 的菜单",
copyResumeCommand: "复制恢复命令",
copyAgentId: "复制 Agent ID",
copyFilePath: "Copy file path",
rename: "重命名",
closeAbove: "关闭上方标签",
closeBelow: "关闭下方标签",
@@ -465,6 +466,7 @@ export const zhCN: TranslationResources = {
copyFailed: "复制失败",
agentIdCopiedLabel: "Agent ID",
resumeCommandCopiedLabel: "恢复命令",
filePathCopiedLabel: "File path",
resumeIdUnavailable: "恢复 ID 不可用",
resumeCommandUnavailable: "恢复命令不可用",
reloadingAgent: "正在重新加载 Agent...",