Просмотр исходного кода

Merge pull request #366 from davidlowry/master

Fixed the representation of the datestamp ordinals - capital S instead of small s.
Eddie Machado 13 лет назад
Родитель
Сommit
58a361f04c
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      library/translation/hr.po
  2. 1 1
      single-custom_type.php
  3. 1 1
      taxonomy-custom_cat.php

+ 1 - 1
library/translation/hr.po

@@ -277,7 +277,7 @@ msgid "Please activate some Widgets."
 msgstr "Molim aktivirajte neke Widgete."
 
 #: single-custom_type.php:32 single.php:17 taxonomy-custom_cat.php:34
-msgid "F js, Y"
+msgid "F jS, Y"
 msgstr "j. F Y."
 
 #: single-custom_type.php:44

+ 1 - 1
single-custom_type.php

@@ -29,7 +29,7 @@ single-bookmarks.php
 
 							    <h1 class="single-title custom-post-type-title"><?php the_title(); ?></h1>
                   <p class="byline vcard"><?php
-                    printf(__('Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme'), get_the_time('Y-m-j'), get_the_time(__('F js, Y', 'bonestheme')), bones_get_the_author_posts_link(), get_the_term_list( $post->ID, 'custom_cat', ' ', ', ', '' ));
+                    printf(__('Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme'), get_the_time('Y-m-j'), get_the_time(__('F jS, Y', 'bonestheme')), bones_get_the_author_posts_link(), get_the_term_list( $post->ID, 'custom_cat', ' ', ', ', '' ));
                   ?></p>
 
 						    </header> <!-- end article header -->

+ 1 - 1
taxonomy-custom_cat.php

@@ -31,7 +31,7 @@ taxonomy-shoes.php
 							
 							    <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
                   <p class="byline vcard"><?php
-                    printf(__('Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme'), get_the_time('Y-m-j'), get_the_time(__('F js, Y', 'bonestheme')), bones_get_the_author_posts_link(), get_the_term_list( get_the_ID(), 'custom_cat', "" ));
+                    printf(__('Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span> <span class="amp">&</span> filed under %4$s.', 'bonestheme'), get_the_time('Y-m-j'), get_the_time(__('F jS, Y', 'bonestheme')), bones_get_the_author_posts_link(), get_the_term_list( get_the_ID(), 'custom_cat', "" ));
                   ?></p>
 						
 						    </header> <!-- end article header -->