summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-04-14 18:59:50 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-04-14 19:01:24 -0400
commit77d2d2fb745ae04062c443a98bd7cfca4c63273a (patch)
tree364072a17b9bf50221e029bf6a85508026cc80fc /app
parent6a04683171ecee8fdc5e601b88a1e5c16f8210c4 (diff)
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
Diffstat (limited to 'app')
-rw-r--r--app/i18n/en.php2
-rw-r--r--app/i18n/fr.php2
2 files changed, 2 insertions, 2 deletions
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',