diff --git a/app/View/Composers/Post.php b/app/View/Composers/Post.php index 84146e2..0d39879 100644 --- a/app/View/Composers/Post.php +++ b/app/View/Composers/Post.php @@ -53,8 +53,8 @@ class Post extends Composer } if (is_search()) { - /* translators: %s is replaced with the search query */ return sprintf( + /* translators: %s is replaced with the search query */ __('Search Results for %s', 'sage'), get_search_query() ); diff --git a/bootstrap/app.php b/bootstrap/app.php index d903fde..aa01fa0 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -29,6 +29,7 @@ collect(['helpers', 'setup', 'filters', 'admin']) ->each(function ($file) { if (! locate_template($file = "app/{$file}.php", true, true)) { wp_die( + /* translators: %s is replaced with the relative file path */ sprintf(__('Error locating %s for inclusion.', 'sage'), $file) ); }