fix(webui): trim automation creation prompt
This commit is contained in:
@@ -3374,16 +3374,7 @@ function AutomationsSettings({
|
||||
return (
|
||||
<div className="space-y-5">
|
||||
<section className="rounded-[24px] border border-border/50 bg-card/82 px-4 py-4 shadow-[0_18px_65px_rgba(15,23,42,0.07)] backdrop-blur-xl sm:px-5">
|
||||
<div className="flex justify-end">
|
||||
<Button asChild className="h-9 rounded-full px-3 text-[13px]">
|
||||
<a href="#/new">
|
||||
<Plus className="mr-2 h-3.5 w-3.5" aria-hidden />
|
||||
{tx("settings.automations.newInChat", "New in chat")}
|
||||
</a>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div className="mt-4 grid gap-2 sm:grid-cols-4">
|
||||
<div className="grid gap-2 sm:grid-cols-4">
|
||||
<AutomationStat label={tx("settings.automations.stats.active", "Active")} value={activeCount} />
|
||||
<AutomationStat label={tx("settings.automations.stats.paused", "Paused")} value={pausedCount} />
|
||||
<AutomationStat label={tx("settings.automations.stats.failed", "Failed")} value={failedCount} />
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "Workspace automations",
|
||||
"title": "Automations",
|
||||
"newInChat": "New in chat",
|
||||
"stats": {
|
||||
"active": "Active",
|
||||
"paused": "Paused",
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "Automatizaciones del espacio",
|
||||
"title": "Automatizaciones",
|
||||
"newInChat": "Crear en chat",
|
||||
"stats": {
|
||||
"active": "Activas",
|
||||
"paused": "Pausadas",
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "Automatisations de l’espace",
|
||||
"title": "Automatisations",
|
||||
"newInChat": "Créer dans le chat",
|
||||
"stats": {
|
||||
"active": "Actives",
|
||||
"paused": "En pause",
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "Otomasi ruang kerja",
|
||||
"title": "Otomasi",
|
||||
"newInChat": "Buat di chat",
|
||||
"stats": {
|
||||
"active": "Aktif",
|
||||
"paused": "Dijeda",
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "ワークスペースの自動タスク",
|
||||
"title": "自動タスク",
|
||||
"newInChat": "チャットで作成",
|
||||
"stats": {
|
||||
"active": "実行中",
|
||||
"paused": "一時停止",
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "작업 공간 자동화",
|
||||
"title": "자동화",
|
||||
"newInChat": "채팅에서 만들기",
|
||||
"stats": {
|
||||
"active": "활성",
|
||||
"paused": "일시 중지",
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "Tự động hóa không gian làm việc",
|
||||
"title": "Tự động hóa",
|
||||
"newInChat": "Tạo trong chat",
|
||||
"stats": {
|
||||
"active": "Đang chạy",
|
||||
"paused": "Đã tạm dừng",
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "工作区自动任务",
|
||||
"title": "自动任务",
|
||||
"newInChat": "在聊天中创建",
|
||||
"stats": {
|
||||
"active": "运行中",
|
||||
"paused": "已暂停",
|
||||
|
||||
@@ -466,7 +466,6 @@
|
||||
"automations": {
|
||||
"kicker": "工作區自動任務",
|
||||
"title": "自動任務",
|
||||
"newInChat": "在聊天中建立",
|
||||
"stats": {
|
||||
"active": "執行中",
|
||||
"paused": "已暫停",
|
||||
|
||||
@@ -49,7 +49,6 @@ const LOCALIZED_SETTINGS_COPY_KEYS = [
|
||||
"settings.nav.advanced",
|
||||
"sidebar.automations",
|
||||
"settings.automations.title",
|
||||
"settings.automations.newInChat",
|
||||
"settings.automations.filters.active",
|
||||
"settings.automations.queue",
|
||||
"settings.automations.empty",
|
||||
|
||||
Reference in New Issue
Block a user