Skip to content

Commit

Permalink
Merge pull request #2460 from vektor-inc/fix/post-list/text-no-posts
Browse files Browse the repository at this point in the history
[ 投稿リスト / 投稿リストスライダー ] 投稿がない時のテキストを修正しました('s' 表記を削除&最初の文字を小文字に統一しました)
  • Loading branch information
goutetsuguma authored Feb 25, 2025
2 parents de7b192 + 45ef390 commit efd24a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inc/vk-blocks/view/class-vk-blocks-postlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public static function get_render_no_post( $wp_query = null ) {
}

/* translators: %s: 投稿タイプ名 */
$html = '<div class="alert alert-warning text-center">' . sprintf( __( 'There are no %ss.', 'vk-blocks-pro' ), $name ) . '</div>';
$html = '<div class="alert alert-warning text-center">' . sprintf( __( 'There are no %s.', 'vk-blocks-pro' ), strtolower( $name ) ) . '</div>';
return apply_filters( 'vk_blocks_post_list_render_no_post', $html, $wp_query );
}
}
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ e.g.
== Changelog ==

[ Bug fix ][ Post list (Pro) / Post list slider (Pro) / Tab (Pro) / Slider ] Fixed errors occurring regardless of whether the editing screen environment is in an iframe and improved the stability of feature performance.
[ Bug fix ][ Post list (Pro) / Post list slider (Pro) ] Fixed the text displayed when no posts are available by removing the 's' notation and standardizing the first letter to lowercase.

= 1.96.1 =
[ Other ] Rollback 1.95.0.3
Expand Down

0 comments on commit efd24a8

Please sign in to comment.