create-events: localization

This commit is contained in:
Milan
2023-03-26 20:47:41 +02:00
parent 06f3d86371
commit bee8c8c6ee
6 changed files with 77 additions and 13 deletions

View File

@@ -86,6 +86,8 @@ sub show_events {
$params->{events} = $events;
$params->{total} = scalar(@$events);
$params->{action} = 'show';
$params->{loc} =
localization::get( $config, { user => $params->{presets}->{user}, file => 'create-events' } );
template::process( $config, 'print', $params->{template}, $params );
}
@@ -114,6 +116,8 @@ sub create_events {
$params->{events} = $events;
$params->{total} = scalar(@$events);
$params->{action} = 'created';
$params->{loc} =
localization::get( $config, { user => $params->{presets}->{user}, file => 'create-events' } );
template::process( $config, 'print', $params->{template}, $params );
}