chore(i18n): Fix/add proper translator comments (#2716)
Co-authored-by: Brandon <brandon@tendency.me>
This commit is contained in:
@@ -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()
|
||||
);
|
||||
|
||||
@@ -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 <code>%s</code> for inclusion.', 'sage'), $file)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user