diff options
| author | 2013-05-05 12:58:27 +0200 | |
|---|---|---|
| committer | 2013-05-05 12:58:27 +0200 | |
| commit | 99e8fc0ad67bf7ff14f53fd141fe57b96a107648 (patch) | |
| tree | 78b07eaa7fdc9bde1bf2ecd11e65f22afdcc8944 /app/controllers/apiController.php | |
| parent | 23dd73ddeec2473c3e8a3c517317e074ac53a1d8 (diff) | |
| parent | 22e9fb02f838e2b6ac8c5dd504fad0446c5807dc (diff) | |
Merge branch 'dev' into releases
Diffstat (limited to 'app/controllers/apiController.php')
| -rwxr-xr-x | app/controllers/apiController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/apiController.php b/app/controllers/apiController.php index bc08386b5..025908f3e 100755 --- a/app/controllers/apiController.php +++ b/app/controllers/apiController.php @@ -20,11 +20,11 @@ class apiController extends ActionController { $notes = $e->notes (); if ($notes == '') { $feed = $e->feed (true); - $notes = 'Article publiƩ initialement sur <a href="' . $feed->website () . '">' . $feed->name () . '</a>'; if($author != '') { - $notes .= ' par ' . $author; + $notes = Translate::t ('article_published_on_author', $feed->website (), $feed->name (), $author); + } else { + $notes = Translate::t ('article_published_on', $feed->website (), $feed->name ()); } - $notes .= ', mis en favoris dans <a href="https://github.com/marienfressinaud/FreshRSS">FreshRSS</a>'; } $id = $e->id (); |
