Skip to content
Permalink
Browse files

Update map block placeholder string (#545)

* Update map block strings

* Update placeholder string, revert instruction text
  • Loading branch information...
EvanHerman authored and richtabor committed May 21, 2019
1 parent 9dad8c7 commit 1a2771640a1749c694af542c2d76ca64f61816f0
Showing with 7 additions and 112 deletions.
  1. +5 −5 languages/coblocks.pot
  2. +0 −105 package-lock.json
  3. +1 −1 src/blocks/map/components/edit.js
  4. +1 −1 src/blocks/map/components/inspector.js
@@ -1,14 +1,14 @@
# Copyright (c) 2019 GoDaddy Operating Company, LLC. All Rights Reserved.
msgid ""
msgstr ""
"Project-Id-Version: CoBlocks 1.9.5\n"
"Project-Id-Version: CoBlocks 1.9.6\n"
"Report-Msgid-Bugs-To: https://github.com/godaddy/coblocks/issues\n"
"Last-Translator: plugins@godaddy.com\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2019-05-16T21:36:34+00:00\n"
"POT-Creation-Date: 2019-05-20T23:20:40+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.1.0\n"
"X-Domain: coblocks\n"
@@ -1133,7 +1133,7 @@ msgstr ""

#: src/blocks/map/components/edit.js:257
#: src/blocks/map/components/inspector.js:154
msgid "Enter address…"
msgid "Search for a place or address…"
msgstr ""

#: src/blocks/map/components/edit.js:266
@@ -1896,11 +1896,11 @@ msgstr ""
msgid "Remove Image"
msgstr ""

#: src/components/block-gallery/gallery-placeholder.js:76
#: src/components/block-gallery/gallery-placeholder.js:74
msgid "%s Gallery"
msgstr ""

#: src/components/block-gallery/gallery-placeholder.js:77
#: src/components/block-gallery/gallery-placeholder.js:75
msgid "Drag images, upload new ones or select files from your library."
msgstr ""

Some generated files are not rendered by default. Learn more.

@@ -254,7 +254,7 @@ class Edit extends Component {
<TextControl
className="components-placeholder__input"
value={ ( attributes.address ) ? attributes.address : '' }
placeholder={ __( 'Enter address…' ) }
placeholder={ __( 'Search for a place or address…' ) }
onChange={ ( nextAddress ) => this.props.setAttributes( { address: nextAddress } ) }
onKeyDown={ ( { keyCode } ) => handleKeyDown( keyCode ) }
/>
@@ -151,7 +151,7 @@ class Inspector extends Component {
<TextareaControl
label={ __( 'Address' ) }
value={ address }
placeholder={ __( 'Enter address…' ) }
placeholder={ __( 'Search for a place or address…' ) }
onChange={ ( nextAddress ) => setAttributes( { address: nextAddress, pinned: false } ) }
/>
{ address && pinned &&

0 comments on commit 1a27716

Please sign in to comment.
You can’t perform that action at this time.