浏览代码

translate fix

Andrew 2 个月前
父节点
当前提交
dd41aff55b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      app/Filament/Resources/EsgHistoryResource.php

+ 1
- 1
app/Filament/Resources/EsgHistoryResource.php 查看文件

@@ -60,7 +60,7 @@ class EsgHistoryResource extends Resource
60 60
                     ])
61 61
                     ->locales(["zh_TW", "en"])
62 62
                     ->actions([
63
-                        app(DeepLService::class)->createTranslationAction("Main", ["title"])
63
+                        app(DeepLService::class)->createTranslationAction("Main", ["title", 'description'])
64 64
                     ])->columnSpanFull(),
65 65
                     Radio::make("visible")->label("顯示/不顯示")->options([1 => "顯示", 0 => "不顯示"])->inline()->default(1)->columnSpan(2)
66 66
                 ])->columns(3)