X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.plugin.ckeditorbutton.yml;h=36d5c7f61e385ee526d4801c944c0f82c242df0c;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=0eb5bd6b07a82fddd9ef64d73958275ec71dee4b;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/drupal/console-en/translations/generate.plugin.ckeditorbutton.yml b/vendor/drupal/console-en/translations/generate.plugin.ckeditorbutton.yml index 0eb5bd6b0..36d5c7f61 100644 --- a/vendor/drupal/console-en/translations/generate.plugin.ckeditorbutton.yml +++ b/vendor/drupal/console-en/translations/generate.plugin.ckeditorbutton.yml @@ -2,16 +2,26 @@ description: 'Generate CKEditor button plugin.' help: 'The generate:plugin:ckeditorbutton command helps you generate a new CKEditor button plugin.' welcome: 'Welcome to the Drupal CKEditor Button Plugin generator' options: - module: common.options.module - class: 'Plugin class name' - label: 'Plugin label' - plugin-id: 'Plugin ID. NOTE: This corresponds to the CKEditor plugin name. It is the first argument of the CKEDITOR.plugins.add() function in the plugin.js file.' - button-name: 'Button name. NOTE: This corresponds to the CKEditor button name. They are the first argument of the editor.ui.addButton() or editor.ui.addRichCombo() functions in the plugin.js file.' - button-icon-path: 'Button icon path. This is the path to the icon/image of the button.' + module: 'The Module name.' + class: 'Plugin class name' + label: 'Plugin label' + plugin-id: 'Plugin ID. NOTE: This corresponds to the CKEditor plugin name. It is the first argument of the CKEDITOR.plugins.add() function in the plugin.js file.' + button-name: 'Button name. NOTE: This corresponds to the CKEditor button name. They are the first argument of the editor.ui.addButton() or editor.ui.addRichCombo() functions in the plugin.js file.' + button-icon-path: 'Button icon path. This is the path to the icon/image of the button.' questions: - module: common.questions.module - class: 'Enter the plugin class name' - label: 'Enter the plugin label' - plugin-id: 'Enter the plugin ID. NOTE: This corresponds to the CKEditor plugin name. It is the first argument of the CKEDITOR.plugins.add() function in the plugin.js file.' - button-name: 'Enter the button name. NOTE: This corresponds to the CKEditor button name. They are the first argument of the editor.ui.addButton() or editor.ui.addRichCombo() functions in the plugin.js file.' - button-icon-path: 'Enter the button icon path' + module: 'Enter the module name' + class: 'Enter the plugin class name' + label: 'Enter the plugin label' + plugin-id: 'Enter the plugin ID. NOTE: This corresponds to the CKEditor plugin name. It is the first argument of the CKEDITOR.plugins.add() function in the plugin.js file.' + button-name: 'Enter the button name. NOTE: This corresponds to the CKEditor button name. They are the first argument of the editor.ui.addButton() or editor.ui.addRichCombo() functions in the plugin.js file.' + button-icon-path: 'Enter the button icon path' +examples: + - description: 'Generate plugin CKEditor button specifying the module name, the class, the label, its id, the button name and the icon path' + execution: | + drupal generate:plugin:ckeditorbutton \ + --module="modulename" \ + --class="DefaultCKEditorButton" \ + --label="Default ckeditor button" \ + --plugin-id="default ckeditor button" \ + --button-name="Default ckeditor button" \ + --button-icon-path="modules/custom/modulename/js/plugins/default ckeditor button/images/icon.png" \ No newline at end of file