Skip to content

Commit

Permalink
Issue #31 - InspectorControls now comes from wp.blockEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Jan 8, 2020
1 parent 27c6beb commit e98911c
Show file tree
Hide file tree
Showing 9 changed files with 296 additions and 2 deletions.
6 changes: 4 additions & 2 deletions blocks/oik-address/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* - Depends on oik
* -
*
* @copyright (C) Copyright Bobbing Wide 2018,2019
* @copyright (C) Copyright Bobbing Wide 2018,2019, 2020
* @author Herb Miller @bobbingwide
*/

Expand All @@ -20,9 +20,11 @@ const { __ } = wp.i18n;
const { registerBlockType, Editable } = wp.blocks;

const {
InspectorControls,
ServerSideRender,
} = wp.editor;
const {
InspectorControls,
} = wp.blockEditor;

const {
Toolbar,
Expand Down
1 change: 1 addition & 0 deletions languages/oik-block-bb_BB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"domain":"messages","locale_data":{"messages":{"":{"domain":"messages"},"oik-blocks":[""],"https://www.oik-plugins.com/oik-plugins/oik-blocks":["https://wwww.oik-plugins.com/oik-plugins/oik-blocks"],"WordPress 5.0 blocks, aka Gutenberg blocks, for oik shortcodes.":["WrsrdPoes 5.0 bkclos, aka Gurnetebg boclks, for oik sroeothdcs."],"Herb Miller":["Hreb Mellir"],"https://oik-plugins.com/author/bobbingwide":["https://oik-pluginc.com/author/bobbingwide"]}}}
40 changes: 40 additions & 0 deletions languages/oik-block-bb_BB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright (C) 2019 Herb Miller
# This file is distributed under the same license as the oik-blocks plugin.
msgid ""
msgstr ""
"Project-Id-Version: oik-blocks 0.3.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/oik-blocks\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2019-04-05T10:24:14+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.1.0\n"
"X-Domain: oik-blocks\n"
"Language: en_GB\n"

#. Plugin Name of the plugin
msgid "oik-blocks"
msgstr ""

#. Plugin URI of the plugin
msgid "https://www.oik-plugins.com/oik-plugins/oik-blocks"
msgstr "https://wwww.oik-plugins.com/oik-plugins/oik-blocks"

#. Description of the plugin
msgid "WordPress 5.0 blocks, aka Gutenberg blocks, for oik shortcodes."
msgstr "WrsrdPoes 5.0 bkclos, aka Gurnetebg boclks, for oik sroeothdcs."

#. Author of the plugin
msgid "Herb Miller"
msgstr "Hreb Mellir"

#. Author URI of the plugin
msgid "https://oik-plugins.com/author/bobbingwide"
msgstr "https://oik-pluginc.com/author/bobbingwide"

#: blocks/github/index.js:19
msgid "GitHub Issue"
msgstr "GtiHub Isuse"
49 changes: 49 additions & 0 deletions languages/oik-block.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright (C) 2019 Herb Miller
# This file is distributed under the same license as the oik-blocks plugin.
msgid ""
msgstr ""
"Project-Id-Version: oik-blocks 0.3.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/oik-blocks\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2019-04-15T14:41:18+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.1.0\n"
"X-Domain: oik-blocks\n"

#. Plugin Name of the plugin
msgid "oik-blocks"
msgstr ""

#. Plugin URI of the plugin
msgid "https://www.oik-plugins.com/oik-plugins/oik-blocks"
msgstr ""

#. Description of the plugin
msgid "WordPress 5.0 blocks, aka Gutenberg blocks, for oik shortcodes."
msgstr ""

#. Author of the plugin
msgid "Herb Miller"
msgstr ""

#. Author URI of the plugin
msgid "https://oik-plugins.com/author/bobbingwide"
msgstr ""

#: blocks/github/index.js:19
#: blocks/github/index.js:33
#: blocks/github/index.js:45
msgid "GitHub Issue"
msgstr ""

#: blocks/github/index.js:46
msgid "Link"
msgstr ""

#: blocks/github/index.js:47
msgid "oik"
msgstr ""
Binary file added languages/oik-blocks-bb_BB.mo
Binary file not shown.
76 changes: 76 additions & 0 deletions languages/oik-blocks-bb_BB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Copyright (C) 2019 oik-blocks
# This file is distributed under the same license as the oik-blocks package.
msgid ""
msgstr ""
"Project-Id-Version: oik-blocks 0.3.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-blocks\n"
"POT-Creation-Date: 2019-04-15 15:17:23+00:00\n"
"MIME-Version: 1.0\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
"Language: bb_BB\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
#: libs/oik-depends.php:100 libs/oik-depends.php:147
msgid " version "
msgstr " vreison "


#: libs/oik-depends.php:103
msgid "Plugin %1$s may not be fully functional."
msgstr "Pulign %1$s mAy nOt bE fluly fnutcoianl."


#: libs/oik-depends.php:106 libs/oik-depends.php:152
msgid ""
"Please install and activate the required minimum version of this plugin: %1$s"
msgstr ""
"Pelsae isnatll And atcvitae thE rqeiuerd mnimium vreison Of tihs pulign: %1$s"


#: libs/oik-depends.php:150
msgid "%1$s may not be fully functional."
msgstr "%1$s mAy nOt bE fluly fnutcoianl."


#: libs/oik-depends.php:284
msgid "Install %1$s"
msgstr "Isnatll %1$s"


#: libs/oik-depends.php:312
msgid "Activate %1$s"
msgstr "Atcvitae %1$s"


#: libs/oik-depends.php:330
msgid "Upgrade %1$s"
msgstr "Ugparde %1$s"


#. Plugin Name of the plugin/theme
msgid "oik-blocks"
msgstr "OIk-bolkcs"


#. Plugin URI of the plugin/theme
msgid "https://www.oik-plugins.com/oik-plugins/oik-blocks"
msgstr "https://www.oik-plugins.com/oik-plugins/oik-blocks"


#. Description of the plugin/theme
msgid "WordPress 5.0 blocks, aka Gutenberg blocks, for oik shortcodes."
msgstr "WroPderss 5.0 bolkcs, AkA Gtuneebrg bolkcs, fOr OIk sohtroceds."


#. Author of the plugin/theme
msgid "Herb Miller"
msgstr "Hreb Mlielr"


#. Author URI of the plugin/theme
msgid "https://oik-plugins.com/author/bobbingwide"
msgstr "https://oik-plugins.com/author/bobbingwide"

Binary file added languages/oik-blocks-en_GB.mo
Binary file not shown.
64 changes: 64 additions & 0 deletions languages/oik-blocks-en_GB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Copyright (C) 2019 oik-blocks
# This file is distributed under the same license as the oik-blocks package.
msgid ""
msgstr ""
"Project-Id-Version: oik-blocks 0.3.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-blocks\n"
"POT-Creation-Date: 2019-04-15 15:17:23+00:00\n"
"MIME-Version: 1.0\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
"Language: en-GB\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
#: libs/oik-depends.php:100 libs/oik-depends.php:147
msgid " version "
msgstr " version "

#: libs/oik-depends.php:103
msgid "Plugin %1$s may not be fully functional."
msgstr "Plugin %1$s may not be fully functional."

#: libs/oik-depends.php:106 libs/oik-depends.php:152
msgid ""
"Please install and activate the required minimum version of this plugin: %1$s"
msgstr "Please install and activate the required minimum version of this plugin: %1$s"

#: libs/oik-depends.php:150
msgid "%1$s may not be fully functional."
msgstr "%1$s may not be fully functional."

#: libs/oik-depends.php:284
msgid "Install %1$s"
msgstr "Install %1$s"

#: libs/oik-depends.php:312
msgid "Activate %1$s"
msgstr "Activate %1$s"

#: libs/oik-depends.php:330
msgid "Upgrade %1$s"
msgstr "Upgrade %1$s"

#. Plugin Name of the plugin/theme
msgid "oik-blocks"
msgstr "oik-blocks"

#. Plugin URI of the plugin/theme
msgid "https://www.oik-plugins.com/oik-plugins/oik-blocks"
msgstr "https://www.oik-plugins.com/oik-plugins/oik-blocks"

#. Description of the plugin/theme
msgid "WordPress 5.0 blocks, aka Gutenberg blocks, for oik shortcodes."
msgstr "WordPress 5.0 blocks, aka Gutenberg blocks, for oik shortcodes."

#. Author of the plugin/theme
msgid "Herb Miller"
msgstr "Herb Miller"

#. Author URI of the plugin/theme
msgid "https://oik-plugins.com/author/bobbingwide"
msgstr "https://oik-plugins.com/author/bobbingwide"

62 changes: 62 additions & 0 deletions languages/oik-blocks.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Copyright (C) 2019 oik-blocks
# This file is distributed under the same license as the oik-blocks package.
msgid ""
msgstr ""
"Project-Id-Version: oik-blocks 0.3.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-blocks\n"
"POT-Creation-Date: 2019-04-15 15:17:23+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"

#: libs/oik-depends.php:100 libs/oik-depends.php:147
msgid " version "
msgstr ""

#: libs/oik-depends.php:103
msgid "Plugin %1$s may not be fully functional."
msgstr ""

#: libs/oik-depends.php:106 libs/oik-depends.php:152
msgid ""
"Please install and activate the required minimum version of this plugin: %1$s"
msgstr ""

#: libs/oik-depends.php:150
msgid "%1$s may not be fully functional."
msgstr ""

#: libs/oik-depends.php:284
msgid "Install %1$s"
msgstr ""

#: libs/oik-depends.php:312
msgid "Activate %1$s"
msgstr ""

#: libs/oik-depends.php:330
msgid "Upgrade %1$s"
msgstr ""

#. Plugin Name of the plugin/theme
msgid "oik-blocks"
msgstr ""

#. Plugin URI of the plugin/theme
msgid "https://www.oik-plugins.com/oik-plugins/oik-blocks"
msgstr ""

#. Description of the plugin/theme
msgid "WordPress 5.0 blocks, aka Gutenberg blocks, for oik shortcodes."
msgstr ""

#. Author of the plugin/theme
msgid "Herb Miller"
msgstr ""

#. Author URI of the plugin/theme
msgid "https://oik-plugins.com/author/bobbingwide"
msgstr ""

0 comments on commit e98911c

Please sign in to comment.