forked from mirror/_s
Merge pull request #333 from aahan/patch_content-none
Use content-none.php instead of no-results.php for consistency.
This commit is contained in:
commit
a7ce5b6f47
|
@ -91,7 +91,7 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
|
||||||
<?php get_template_part( 'no-results', 'archive' ); ?>
|
<?php get_template_part( 'content', 'none' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
|
||||||
<?php get_template_part( 'no-results', 'index' ); ?>
|
<?php get_template_part( 'content', 'none' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
|
@ -94,6 +94,27 @@ msgstr ""
|
||||||
msgid "Comments are closed."
|
msgid "Comments are closed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: content-none.php:13
|
||||||
|
msgid "Nothing Found"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: content-none.php:19
|
||||||
|
msgid ""
|
||||||
|
"Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: content-none.php:23
|
||||||
|
msgid ""
|
||||||
|
"Sorry, but nothing matched your search terms. Please try again with some "
|
||||||
|
"different keywords."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: content-none.php:28
|
||||||
|
msgid ""
|
||||||
|
"It seems we can’t find what you’re looking for. Perhaps "
|
||||||
|
"searching can help."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: content-page.php:18 content-single.php:20 content.php:27 image.php:58
|
#: content-page.php:18 content-single.php:20 content.php:27 image.php:58
|
||||||
msgid "Pages:"
|
msgid "Pages:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -242,27 +263,6 @@ msgid ""
|
||||||
"%2$s</span>"
|
"%2$s</span>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: no-results.php:13
|
|
||||||
msgid "Nothing Found"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: no-results.php:19
|
|
||||||
msgid ""
|
|
||||||
"Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: no-results.php:23
|
|
||||||
msgid ""
|
|
||||||
"Sorry, but nothing matched your search terms. Please try again with some "
|
|
||||||
"different keywords."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: no-results.php:28
|
|
||||||
msgid ""
|
|
||||||
"It seems we can’t find what you’re looking for. Perhaps "
|
|
||||||
"searching can help."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: search.php:16
|
#: search.php:16
|
||||||
msgid "Search Results for: %s"
|
msgid "Search Results for: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -27,7 +27,7 @@ get_header(); ?>
|
||||||
|
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
|
||||||
<?php get_template_part( 'no-results', 'search' ); ?>
|
<?php get_template_part( 'content', 'none' ); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
Reference in New Issue