From 5d3c7a139381e3a34469c88cf0aa0d66dd708fef Mon Sep 17 00:00:00 2001 From: Mayuko Moriyama Date: Fri, 2 Nov 2018 02:33:15 +0900 Subject: [PATCH] Add removed periods to block descriptions. (#11367) * Fix missing period in block discriptions. * Update CONTRIBUTORS.md --- CONTRIBUTORS.md | 1 + .../block-library/src/embed/core-embeds.js | 66 +++++++++---------- 2 files changed, 34 insertions(+), 33 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 0b1cd656f6bdd9..fb8f6ba79298be 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -110,5 +110,6 @@ This list is manually curated to include valuable contributions by volunteers th | @jorgefilipecosta | | | @ajitbohra | | | @ChrisVanPatten | | +| @mayukojpn | @mayukojpn | | @tofumatt | @lonelyvegan | | @LukePettway | @luke_pettway | \ No newline at end of file diff --git a/packages/block-library/src/embed/core-embeds.js b/packages/block-library/src/embed/core-embeds.js index a38c47d5be21bd..3a2e861e0c0aa1 100644 --- a/packages/block-library/src/embed/core-embeds.js +++ b/packages/block-library/src/embed/core-embeds.js @@ -31,7 +31,7 @@ export const common = [ title: 'Twitter', icon: embedTwitterIcon, keywords: [ 'tweet' ], - description: __( 'Embed a tweet' ), + description: __( 'Embed a tweet.' ), }, patterns: [ /^https?:\/\/(www\.)?twitter\.com\/.+/i ], }, @@ -41,7 +41,7 @@ export const common = [ title: 'YouTube', icon: embedYouTubeIcon, keywords: [ __( 'music' ), __( 'video' ) ], - description: __( 'Embed a YouTube video' ), + description: __( 'Embed a YouTube video.' ), }, patterns: [ /^https?:\/\/((m|www)\.)?youtube\.com\/.+/i, /^https?:\/\/youtu\.be\/.+/i ], }, @@ -50,7 +50,7 @@ export const common = [ settings: { title: 'Facebook', icon: embedFacebookIcon, - description: __( 'Embed a Facebook post' ), + description: __( 'Embed a Facebook post.' ), }, patterns: [ /^https?:\/\/www\.facebook.com\/.+/i ], }, @@ -60,7 +60,7 @@ export const common = [ title: 'Instagram', icon: embedInstagramIcon, keywords: [ __( 'image' ) ], - description: __( 'Embed an Instagram post' ), + description: __( 'Embed an Instagram post.' ), }, patterns: [ /^https?:\/\/(www\.)?instagr(\.am|am\.com)\/.+/i ], }, @@ -71,7 +71,7 @@ export const common = [ icon: embedWordPressIcon, keywords: [ __( 'post' ), __( 'blog' ) ], responsive: false, - description: __( 'Embed a WordPress post' ), + description: __( 'Embed a WordPress post.' ), }, }, { @@ -80,7 +80,7 @@ export const common = [ title: 'SoundCloud', icon: embedAudioIcon, keywords: [ __( 'music' ), __( 'audio' ) ], - description: __( 'Embed SoundCloud content' ), + description: __( 'Embed SoundCloud content.' ), }, patterns: [ /^https?:\/\/(www\.)?soundcloud\.com\/.+/i ], }, @@ -90,7 +90,7 @@ export const common = [ title: 'Spotify', icon: embedSpotifyIcon, keywords: [ __( 'music' ), __( 'audio' ) ], - description: __( 'Embed Spotify content' ), + description: __( 'Embed Spotify content.' ), }, patterns: [ /^https?:\/\/(open|play)\.spotify\.com\/.+/i ], }, @@ -100,7 +100,7 @@ export const common = [ title: 'Flickr', icon: embedFlickrIcon, keywords: [ __( 'image' ) ], - description: __( 'Embed Flickr content' ), + description: __( 'Embed Flickr content.' ), }, patterns: [ /^https?:\/\/(www\.)?flickr\.com\/.+/i, /^https?:\/\/flic\.kr\/.+/i ], }, @@ -110,7 +110,7 @@ export const common = [ title: 'Vimeo', icon: embedVimeoIcon, keywords: [ __( 'video' ) ], - description: __( 'Embed a Vimeo video' ), + description: __( 'Embed a Vimeo video.' ), }, patterns: [ /^https?:\/\/(www\.)?vimeo\.com\/.+/i ], }, @@ -122,7 +122,7 @@ export const others = [ settings: { title: 'Animoto', icon: embedVideoIcon, - description: __( 'Embed an Animoto video' ), + description: __( 'Embed an Animoto video.' ), }, patterns: [ /^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i ], }, @@ -131,7 +131,7 @@ export const others = [ settings: { title: 'Cloudup', icon: embedContentIcon, - description: __( 'Embed Cloudup content' ), + description: __( 'Embed Cloudup content.' ), }, patterns: [ /^https?:\/\/cloudup\.com\/.+/i ], }, @@ -140,7 +140,7 @@ export const others = [ settings: { title: 'CollegeHumor', icon: embedVideoIcon, - description: __( 'Embed CollegeHumor content' ), + description: __( 'Embed CollegeHumor content.' ), }, patterns: [ /^https?:\/\/(www\.)?collegehumor\.com\/.+/i ], }, @@ -149,7 +149,7 @@ export const others = [ settings: { title: 'Dailymotion', icon: embedVideoIcon, - description: __( 'Embed a Dailymotion video' ), + description: __( 'Embed a Dailymotion video.' ), }, patterns: [ /^https?:\/\/(www\.)?dailymotion\.com\/.+/i ], }, @@ -158,7 +158,7 @@ export const others = [ settings: { title: 'Funny or Die', icon: embedVideoIcon, - description: __( 'Embed Funny or Die content' ), + description: __( 'Embed Funny or Die content.' ), }, patterns: [ /^https?:\/\/(www\.)?funnyordie\.com\/.+/i ], }, @@ -167,7 +167,7 @@ export const others = [ settings: { title: 'Hulu', icon: embedVideoIcon, - description: __( 'Embed Hulu content' ), + description: __( 'Embed Hulu content.' ), }, patterns: [ /^https?:\/\/(www\.)?hulu\.com\/.+/i ], }, @@ -176,7 +176,7 @@ export const others = [ settings: { title: 'Imgur', icon: embedPhotoIcon, - description: __( 'Embed Imgur content' ), + description: __( 'Embed Imgur content.' ), }, patterns: [ /^https?:\/\/(.+\.)?imgur\.com\/.+/i ], }, @@ -185,7 +185,7 @@ export const others = [ settings: { title: 'Issuu', icon: embedContentIcon, - description: __( 'Embed Issuu content' ), + description: __( 'Embed Issuu content.' ), }, patterns: [ /^https?:\/\/(www\.)?issuu\.com\/.+/i ], }, @@ -194,7 +194,7 @@ export const others = [ settings: { title: 'Kickstarter', icon: embedContentIcon, - description: __( 'Embed Kickstarter content' ), + description: __( 'Embed Kickstarter content.' ), }, patterns: [ /^https?:\/\/(www\.)?kickstarter\.com\/.+/i, /^https?:\/\/kck\.st\/.+/i ], }, @@ -203,7 +203,7 @@ export const others = [ settings: { title: 'Meetup.com', icon: embedContentIcon, - description: __( 'Embed Meetup.com content' ), + description: __( 'Embed Meetup.com content.' ), }, patterns: [ /^https?:\/\/(www\.)?meetu(\.ps|p\.com)\/.+/i ], }, @@ -213,7 +213,7 @@ export const others = [ title: 'Mixcloud', icon: embedAudioIcon, keywords: [ __( 'music' ), __( 'audio' ) ], - description: __( 'Embed Mixcloud content' ), + description: __( 'Embed Mixcloud content.' ), }, patterns: [ /^https?:\/\/(www\.)?mixcloud\.com\/.+/i ], }, @@ -222,7 +222,7 @@ export const others = [ settings: { title: 'Photobucket', icon: embedPhotoIcon, - description: __( 'Embed a Photobucket image' ), + description: __( 'Embed a Photobucket image.' ), }, patterns: [ /^http:\/\/g?i*\.photobucket\.com\/.+/i ], }, @@ -231,7 +231,7 @@ export const others = [ settings: { title: 'Polldaddy', icon: embedContentIcon, - description: __( 'Embed Polldaddy content' ), + description: __( 'Embed Polldaddy content.' ), }, patterns: [ /^https?:\/\/(www\.)?polldaddy\.com\/.+/i ], }, @@ -240,7 +240,7 @@ export const others = [ settings: { title: 'Reddit', icon: embedRedditIcon, - description: __( 'Embed a Reddit thread' ), + description: __( 'Embed a Reddit thread.' ), }, patterns: [ /^https?:\/\/(www\.)?reddit\.com\/.+/i ], }, @@ -249,7 +249,7 @@ export const others = [ settings: { title: 'ReverbNation', icon: embedAudioIcon, - description: __( 'Embed ReverbNation content' ), + description: __( 'Embed ReverbNation content.' ), }, patterns: [ /^https?:\/\/(www\.)?reverbnation\.com\/.+/i ], }, @@ -258,7 +258,7 @@ export const others = [ settings: { title: 'Screencast', icon: embedVideoIcon, - description: __( 'Embed Screencast content' ), + description: __( 'Embed Screencast content.' ), }, patterns: [ /^https?:\/\/(www\.)?screencast\.com\/.+/i ], }, @@ -267,7 +267,7 @@ export const others = [ settings: { title: 'Scribd', icon: embedContentIcon, - description: __( 'Embed Scribd content' ), + description: __( 'Embed Scribd content.' ), }, patterns: [ /^https?:\/\/(www\.)?scribd\.com\/.+/i ], }, @@ -276,7 +276,7 @@ export const others = [ settings: { title: 'Slideshare', icon: embedContentIcon, - description: __( 'Embed Slideshare content' ), + description: __( 'Embed Slideshare content.' ), }, patterns: [ /^https?:\/\/(.+?\.)?slideshare\.net\/.+/i ], }, @@ -285,7 +285,7 @@ export const others = [ settings: { title: 'SmugMug', icon: embedPhotoIcon, - description: __( 'Embed SmugMug content' ), + description: __( 'Embed SmugMug content.' ), }, patterns: [ /^https?:\/\/(www\.)?smugmug\.com\/.+/i ], }, @@ -315,7 +315,7 @@ export const others = [ } ); }, } ], - description: __( 'Embed Speaker Deck content' ), + description: __( 'Embed Speaker Deck content.' ), }, patterns: [ /^https?:\/\/(www\.)?speakerdeck\.com\/.+/i ], }, @@ -324,7 +324,7 @@ export const others = [ settings: { title: 'TED', icon: embedVideoIcon, - description: __( 'Embed a TED video' ), + description: __( 'Embed a TED video.' ), }, patterns: [ /^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i ], }, @@ -333,7 +333,7 @@ export const others = [ settings: { title: 'Tumblr', icon: embedTumbrIcon, - description: __( 'Embed a Tumblr post' ), + description: __( 'Embed a Tumblr post.' ), }, patterns: [ /^https?:\/\/(www\.)?tumblr\.com\/.+/i ], }, @@ -343,7 +343,7 @@ export const others = [ title: 'VideoPress', icon: embedVideoIcon, keywords: [ __( 'video' ) ], - description: __( 'Embed a VideoPress video' ), + description: __( 'Embed a VideoPress video.' ), }, patterns: [ /^https?:\/\/videopress\.com\/.+/i ], }, @@ -352,7 +352,7 @@ export const others = [ settings: { title: 'WordPress.tv', icon: embedVideoIcon, - description: __( 'Embed a WordPress.tv video' ), + description: __( 'Embed a WordPress.tv video.' ), }, patterns: [ /^https?:\/\/wordpress\.tv\/.+/i ], },