Skip to content

Commit

Permalink
Feed
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Apr 12, 2016
1 parent 9e00dda commit a7e199d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Providers/ModuleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public function boot()
'News',
'TypiCMS\Modules\News\Facades\Facade'
);
AliasLoader::getInstance()->alias(
'Feed',
'Roumen\Feed\Feed'
);

// Observers
NewsTranslation::observe(new SlugObserver());
Expand All @@ -49,6 +53,8 @@ public function register()
{
$app = $this->app;

$this->app['config']->push('typicms.feeds', ['module' => 'news', 'route' => config('app.locale').'.news.feed']);

/*
* Register sitemap package
*/
Expand Down
1 change: 1 addition & 0 deletions src/resources/lang/en/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
'Edit' => 'Edit news',
'Back' => 'Back to news',
'Published on' => 'Published on',
'feed' => 'News feed',
];
1 change: 1 addition & 0 deletions src/resources/lang/es/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
'Edit' => 'Editar noticia',
'Back' => 'Volver a las noticias',
'Published on' => 'Publicada en',
'feed' => 'Feed de noticias',
];
1 change: 1 addition & 0 deletions src/resources/lang/fr/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
'Edit' => 'Modifier l’actualité',
'Back' => 'Retour à la liste des actualités',
'Published on' => 'Publié le',
'feed' => 'Flux d’actualités',
];
1 change: 1 addition & 0 deletions src/resources/lang/nl/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
'Edit' => 'Edit nieuws',
'Back' => 'Back to nieuws',
'Published on' => 'Gepubliceerd op',
'feed' => 'Nieuws feed',
];

0 comments on commit a7e199d

Please sign in to comment.