Skip to content

Commit

Permalink
Fix invalid ref to locale key event.event_plural
Browse files Browse the repository at this point in the history
Make note about difference between the hybrid frontend bundle and the SPA
  • Loading branch information
mosen committed Jan 3, 2024
1 parent db6ce50 commit 4fecd7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/lib/munkireport/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ protected function addCoreModules()
'messages' => ['view' => 'messages_widget'],
],
'listings' => [
'event' => ['view' => 'event_listing', 'i18n' => 'event.event_plural'],
'event' => ['view' => 'event_listing', 'i18n' => 'events.event_plural'],
],
'path' => realpath(__DIR__ . '../'),
'core' => true,
Expand Down
2 changes: 1 addition & 1 deletion resources/views/event/event_listing.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$this->view('listings/default',
[
"i18n_title" => 'event.event_plural',
"i18n_title" => 'events.event_plural',
"js_link" => "module/event/js/format_event_data",
"table" => [
[
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default defineConfig({
app: resolve(__dirname, 'resources/js/app.ts'),

// This entry point for hybrid jQuery/Vue pages where Vue is only used on part of the page eg.
// For the search box
// For the search box. These components are globally registered.
hybrid: resolve(__dirname, 'resources/js/app-hybrid.ts'),
}
}
Expand Down

0 comments on commit 4fecd7d

Please sign in to comment.