thesaurus translation

This commit is contained in:
aynsix
2021-04-19 16:17:13 +03:00
parent 59d7789aa6
commit 1e99bde502
10 changed files with 367 additions and 67 deletions

View File

@@ -177,7 +177,7 @@ class ThesaurusController extends Controller
$zzz = $this->render('prod/Thesaurus/droppedrecords.html.twig', $twp);
return $this->app->json([
'dlg_title' => sprintf("editing %s record(s)", $records->received()->count()),
'dlg_title' => $this->app->trans('thesaurus::edit editing %count% record(s)', ['%count%'=> $records->received()->count()]),
'dlg_content' => $this->render('prod/Thesaurus/droppedrecords.html.twig', $twp),
'rec_refs' => $recRefs,
'commit_url' => $this->app->url('prod_edit_applyJSAction')