Skip to content

Commit bf38e31

Browse files
authored
Update localization.md
update localization docs due to 477030f
1 parent c2f2ff6 commit bf38e31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.docs/localization.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public function createComponentLocalizationGrid($name): Contributte\Datagrid\Dat
2222

2323
$grid->addColumnDateTime('inserted', 'Inserted');
2424

25-
$translator = new Contributte\Datagrid\Localization\SimpleTranslator([
25+
$translator = new Contributte\Datagrid\Localization\SimpleTranslator();
26+
$translator->setDictionary([
2627
'contributte_datagrid.no_item_found_reset' => 'Žádné položky nenalezeny. Filtr můžete vynulovat',
2728
'contributte_datagrid.no_item_found' => 'Žádné položky nenalezeny.',
2829
'contributte_datagrid.here' => 'zde',

0 commit comments

Comments
 (0)