diff --git a/src/public/explore.php b/src/public/explore.php index f3ac40b..d653104 100644 --- a/src/public/explore.php +++ b/src/public/explore.php @@ -36,9 +36,9 @@ $hp = !empty($_GET['hp']) ? Filter::url($_GET['hp']) : 0; // Define page basics $totalPages = $sphinx->getHostPagesTotal(); -$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), $totalPages), - sprintf(_('Over %s pages or enter the new one...'), $totalPages), - sprintf(_('Over %s pages or enter the new one...'), $totalPages), +$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), number_format($totalPages)), + sprintf(_('Over %s pages or enter the new one...'), number_format($totalPages)), + sprintf(_('Over %s pages or enter the new one...'), number_format($totalPages)), ]); diff --git a/src/public/index.php b/src/public/index.php index 6fceb30..59c5efc 100644 --- a/src/public/index.php +++ b/src/public/index.php @@ -19,9 +19,9 @@ try { $totalPages = $sphinx->getHostPagesTotal(); -$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), $totalPages), - sprintf(_('Over %s pages or enter the new one...'), $totalPages), - sprintf(_('Over %s pages or enter the new one...'), $totalPages), +$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), number_format($totalPages)), + sprintf(_('Over %s pages or enter the new one...'), number_format($totalPages)), + sprintf(_('Over %s pages or enter the new one...'), number_format($totalPages)), ]); ?> diff --git a/src/public/search.php b/src/public/search.php index 87cfc77..7c2fbbc 100644 --- a/src/public/search.php +++ b/src/public/search.php @@ -64,9 +64,9 @@ if (empty($q)) { // Define page basics $totalPages = $sphinx->getHostPagesTotal(); -$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), $totalPages), - sprintf(_('Over %s pages or enter the new one...'), $totalPages), - sprintf(_('Over %s pages or enter the new one...'), $totalPages), +$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), number_format($totalPages)), + sprintf(_('Over %s pages or enter the new one...'), number_format($totalPages)), + sprintf(_('Over %s pages or enter the new one...'), number_format($totalPages)), ]); // Define alert message $alertMessages = []; diff --git a/src/public/top.php b/src/public/top.php index aa097d9..4627afd 100644 --- a/src/public/top.php +++ b/src/public/top.php @@ -33,9 +33,9 @@ try { // Define page basics $totalPages = $sphinx->getHostPagesTotal(); -$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), $totalPages), - sprintf(_('Over %s pages or enter the new one...'), $totalPages), - sprintf(_('Over %s pages or enter the new one...'), $totalPages), +$placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the new one...'), number_format($totalPages)), + sprintf(_('Over %s pages or enter the new one...'), number_format($totalPages)), + sprintf(_('Over %s pages or enter the new one...'), number_format($totalPages)), ]); ?>