Skip to content
Browse files

[snippet] Add translation (#238)

  • Loading branch information...
harold20 authored and enzolutions committed Jun 25, 2019
1 parent d42c38d commit a22e25b37b925427675c65ce493fccb617dff678
Showing with 16 additions and 0 deletions.
  1. +16 −0 translations/snippet.yml
@@ -0,0 +1,16 @@
description: 'Runs PHP code'
help: 'Execute a PHP code'
file: 'Path to the file'
code: 'Code to execute'
show-code: 'Show code after execute'
invalid-options: 'You need to provide the file option'
invalid-file: 'The file "%s" does not exist.'
- description: 'Run using a file.'
execution: 'drupal snippet --file=/path/to/file'
- description: 'Passing code as option.'
execution: 'drupal snippet --code=codeToExecute'
- description: 'Show code executed'
execution: 'drupal snippet --show-code --file=/path/to/file'

0 comments on commit a22e25b

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