mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-10-17 21:03:00 -04:00
Added section title localization support
This commit is contained in:
@@ -96,4 +96,14 @@ class SectionController extends Controller
|
||||
'message' => __('frontend::common.section-categories-updated'),
|
||||
]);
|
||||
}
|
||||
|
||||
public function updateSectionTranslations(Request $request, Section $section)
|
||||
{
|
||||
$translations = $request->items;
|
||||
$this->service->updateSectionTranslations($section, $translations);
|
||||
|
||||
return response()->json([
|
||||
'message' => __('frontend::common.section-translations-updated'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user