Explorar el Código

translate fix

Andrew hace 2 meses
padre
commit
dd41aff55b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Filament/Resources/EsgHistoryResource.php

+ 1
- 1
app/Filament/Resources/EsgHistoryResource.php Ver fichero

@@ -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)