forked from mirror/_s
Add comment navigation template tags
This commit is contained in:
parent
ef422bc160
commit
8e67439859
25
comments.php
25
comments.php
|
@ -45,17 +45,7 @@ if ( post_password_required() ) {
|
|||
?>
|
||||
</h2><!-- .comments-title -->
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||
<nav id="comment-nav-above" class="navigation comment-navigation">
|
||||
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', '_s' ); ?></h2>
|
||||
<div class="nav-links">
|
||||
|
||||
<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', '_s' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', '_s' ) ); ?></div>
|
||||
|
||||
</div><!-- .nav-links -->
|
||||
</nav><!-- #comment-nav-above -->
|
||||
<?php endif; // Check for comment navigation. ?>
|
||||
<?php the_comments_navigation(); ?>
|
||||
|
||||
<ol class="comment-list">
|
||||
<?php
|
||||
|
@ -66,18 +56,7 @@ if ( post_password_required() ) {
|
|||
?>
|
||||
</ol><!-- .comment-list -->
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||
<nav id="comment-nav-below" class="navigation comment-navigation">
|
||||
<h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', '_s' ); ?></h2>
|
||||
<div class="nav-links">
|
||||
|
||||
<div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', '_s' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', '_s' ) ); ?></div>
|
||||
|
||||
</div><!-- .nav-links -->
|
||||
</nav><!-- #comment-nav-below -->
|
||||
<?php
|
||||
endif; // Check for comment navigation.
|
||||
<?php the_comments_navigation();
|
||||
|
||||
endif; // Check for have_comments().
|
||||
|
||||
|
|
323
languages/_s.pot
323
languages/_s.pot
|
@ -5,235 +5,182 @@ msgstr ""
|
|||
"Project-Id-Version: _s 1.0.0\n"
|
||||
"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
|
||||
"POT-Creation-Date: 2016-12-23 16:00+0100\n"
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2016-12-23 16:00+0100\n"
|
||||
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator:\n"
|
||||
"Language-Team: \n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"X-Generator: grunt-wp-i18n 0.5.4\n"
|
||||
|
||||
#: 404.php:17
|
||||
#@ _s
|
||||
msgid "Oops! That page can’t be found."
|
||||
msgstr ""
|
||||
|
||||
#: 404.php:21
|
||||
#@ _s
|
||||
msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
|
||||
msgid ""
|
||||
"It looks like nothing was found at this location. Maybe try one of the "
|
||||
"links below or a search?"
|
||||
msgstr ""
|
||||
|
||||
#: 404.php:33
|
||||
#@ _s
|
||||
#: 404.php:30
|
||||
msgid "Most Used Categories"
|
||||
msgstr ""
|
||||
|
||||
#: 404.php:47
|
||||
#. translators: %1$s: smiley
|
||||
#: 404.php:51
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Try looking in the monthly archives. %1$s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: title.
|
||||
#: comments.php:34
|
||||
#, php-format
|
||||
#@ _s
|
||||
#. translators: 1: title.
|
||||
msgid "One thought on “%1$s”"
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: comment count number, 2: title.
|
||||
#: comments.php:67
|
||||
msgid "Comments are closed."
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:18
|
||||
msgid "https://wordpress.org/"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:20
|
||||
#. translators: %s: CMS name, i.e. WordPress.
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:25
|
||||
#. translators: 1: Theme name, 2: Theme author.
|
||||
msgid "Theme: %1$s by %2$s."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:47
|
||||
msgid "Primary"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:105
|
||||
msgid "Sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:107
|
||||
msgid "Add widgets here."
|
||||
msgstr ""
|
||||
|
||||
#: header.php:24
|
||||
msgid "Skip to content"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:45
|
||||
msgid "Primary Menu"
|
||||
msgstr ""
|
||||
|
||||
#: inc/template-tags.php:52
|
||||
#. translators: used between list items, there is a space after the comma
|
||||
msgid ", "
|
||||
msgstr ""
|
||||
|
||||
#: inc/template-tags.php:55
|
||||
#. translators: 1: list of categories.
|
||||
msgid "Posted in %1$s"
|
||||
msgstr ""
|
||||
|
||||
#: inc/template-tags.php:62
|
||||
#. translators: 1: list of tags.
|
||||
msgid "Tagged %1$s"
|
||||
msgstr ""
|
||||
|
||||
#: inc/template-tags.php:72
|
||||
#. translators: %s: post title
|
||||
msgid "Leave a Comment<span class=\"screen-reader-text\"> on %s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: inc/template-tags.php:89 template-parts/content-page.php:35
|
||||
#. translators: %s: Name of current post. Only visible to screen readers
|
||||
msgid "Edit <span class=\"screen-reader-text\">%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: search.php:21
|
||||
#. translators: %s: search query.
|
||||
msgid "Search Results for: %s"
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content-none.php:14
|
||||
msgid "Nothing Found"
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content-none.php:25
|
||||
#. translators: 1: link to WP admin new post page.
|
||||
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content-none.php:38
|
||||
msgid ""
|
||||
"Sorry, but nothing matched your search terms. Please try again with some "
|
||||
"different keywords."
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content-none.php:44
|
||||
msgid ""
|
||||
"It seems we can’t find what you’re looking for. Perhaps "
|
||||
"searching can help."
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content-page.php:22 template-parts/content.php:45
|
||||
msgid "Pages:"
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content.php:34
|
||||
#. translators: %s: Name of current post. Only visible to screen readers
|
||||
msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
|
||||
msgstr ""
|
||||
|
||||
#. Theme Name of the plugin/theme
|
||||
msgid "_s"
|
||||
msgstr ""
|
||||
|
||||
#. Theme URI of the plugin/theme
|
||||
msgid "http://underscores.me/"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin/theme
|
||||
msgid ""
|
||||
"Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if "
|
||||
"you like. I'm a theme meant for hacking so don't use me as a <em>Parent "
|
||||
"Theme</em>. Instead try turning me into the next, most awesome, WordPress "
|
||||
"theme out there. That's what I'm here for."
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
msgid "Automattic"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
msgid "http://automattic.com/"
|
||||
msgstr ""
|
||||
|
||||
#: comments.php:40
|
||||
#, php-format
|
||||
#@ _s
|
||||
#. translators: 1: comment count number, 2: title.
|
||||
msgctxt "comments title"
|
||||
msgid "%1$s thought on “%2$s”"
|
||||
msgid_plural "%1$s thoughts on “%2$s”"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: comments.php:50 comments.php:71
|
||||
#@ _s
|
||||
msgid "Comment navigation"
|
||||
msgstr ""
|
||||
|
||||
#: comments.php:53 comments.php:74
|
||||
#@ _s
|
||||
msgid "Older Comments"
|
||||
msgstr ""
|
||||
|
||||
#: comments.php:54 comments.php:75
|
||||
#@ _s
|
||||
msgid "Newer Comments"
|
||||
msgstr ""
|
||||
|
||||
#: comments.php:88
|
||||
#@ _s
|
||||
msgid "Comments are closed."
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:18
|
||||
#@ _s
|
||||
msgid "https://wordpress.org/"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: CMS name, i.e. WordPress.
|
||||
#: footer.php:20
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: Theme name, 2: Theme author.
|
||||
#: footer.php:25
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Theme: %1$s by %2$s."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:47
|
||||
#@ _s
|
||||
msgid "Primary"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:93
|
||||
#@ _s
|
||||
msgid "Sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:95
|
||||
#@ _s
|
||||
msgid "Add widgets here."
|
||||
msgstr ""
|
||||
|
||||
#: header.php:24
|
||||
#@ _s
|
||||
msgid "Skip to content"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:44
|
||||
#@ _s
|
||||
msgid "Primary Menu"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: post date.
|
||||
#: inc/template-tags.php:29
|
||||
#, php-format
|
||||
#@ _s
|
||||
#. translators: %s: post date.
|
||||
msgctxt "post date"
|
||||
msgid "Posted on %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: post author.
|
||||
#: inc/template-tags.php:35
|
||||
#, php-format
|
||||
#@ _s
|
||||
#. translators: %s: post author.
|
||||
msgctxt "post author"
|
||||
msgid "by %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: used between list items, there is a space after the comma
|
||||
#: inc/template-tags.php:52
|
||||
#@ _s
|
||||
msgid ", "
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: list of categories.
|
||||
#: inc/template-tags.php:55
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Posted in %1$s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: used between list items, there is a space after the comma
|
||||
#: inc/template-tags.php:59
|
||||
#, php-format
|
||||
#@ _s
|
||||
#. translators: used between list items, there is a space after the comma
|
||||
msgctxt "list item separator"
|
||||
msgid ", "
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: list of tags.
|
||||
#: inc/template-tags.php:62
|
||||
msgid "Tagged %1$s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: post title
|
||||
#: inc/template-tags.php:72
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Leave a Comment<span class=\"screen-reader-text\"> on %s</span>"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Name of current post. Only visible to screen readers
|
||||
#: inc/template-tags.php:89 template-parts/content-page.php:35
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Edit <span class=\"screen-reader-text\">%s</span>"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: search query.
|
||||
#: search.php:21
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Search Results for: %s"
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content-none.php:14
|
||||
#@ _s
|
||||
msgid "Nothing Found"
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: link to WP admin new post page.
|
||||
#: template-parts/content-none.php:25
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content-none.php:38
|
||||
#@ _s
|
||||
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
|
||||
msgstr ""
|
||||
|
||||
#: template-parts/content-none.php:44
|
||||
#@ _s
|
||||
msgid "It seems we can’t find what you’re looking for. Perhaps searching can help."
|
||||
msgstr ""
|
||||
|
||||
#@ _s
|
||||
#: template-parts/content-page.php:22 template-parts/content.php:45
|
||||
msgid "Pages:"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Name of current post. Only visible to screen readers
|
||||
#: template-parts/content.php:34
|
||||
#, php-format
|
||||
#@ _s
|
||||
msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
|
||||
msgstr ""
|
||||
|
||||
#. Theme Name of the plugin/theme
|
||||
#@ _s
|
||||
msgid "_s"
|
||||
msgstr ""
|
||||
|
||||
#. Theme URI of the plugin/theme
|
||||
#@ _s
|
||||
msgid "http://underscores.me/"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin/theme
|
||||
#@ _s
|
||||
msgid "Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for."
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
#@ _s
|
||||
msgid "Automattic"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
#@ _s
|
||||
msgid "http://automattic.com/"
|
||||
msgstr ""
|
||||
|
|
Reference in New Issue