From 77d2d2fb745ae04062c443a98bd7cfca4c63273a Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Mon, 14 Apr 2014 18:59:50 -0400 Subject: Fix error when displaying favorite count This bug appears because we where trying to display a string as a number. The function to translate was cutting the parameter to the first non numeric character (the space) See #487 --- app/i18n/en.php | 2 +- app/i18n/fr.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/i18n/en.php b/app/i18n/en.php index d6096bbe8..0c8b6aafe 100644 --- a/app/i18n/en.php +++ b/app/i18n/en.php @@ -27,7 +27,7 @@ return array ( 'subscription_management' => 'Subscriptions management', 'main_stream' => 'Main stream', 'all_feeds' => 'All feeds', - 'favorite_feeds' => 'Favourites (%d)', + 'favorite_feeds' => 'Favourites (%s)', 'not_read' => '%d unread', 'not_reads' => '%d unread', diff --git a/app/i18n/fr.php b/app/i18n/fr.php index d89cbb098..df883c2e7 100644 --- a/app/i18n/fr.php +++ b/app/i18n/fr.php @@ -27,7 +27,7 @@ return array ( 'subscription_management' => 'Gestion des abonnements', 'main_stream' => 'Flux principal', 'all_feeds' => 'Tous les flux', - 'favorite_feeds' => 'Favoris (%d)', + 'favorite_feeds' => 'Favoris (%s)', 'not_read' => '%d non lu', 'not_reads' => '%d non lus', -- cgit v1.2.3