Skip to content
Permalink
Browse files

[init] Add statistics messages (#203)

* [init] Add statistics messages

* [statistics] Update statistics message

* [statistics] Add error message to failed statistics

* [statistics] Add config file location

* Add url failed string
  • Loading branch information...
harold20 authored and enzolutions committed May 28, 2019
1 parent 9f34f9f commit c11a957b5f5157aa30db61c3747606881ab5129e
Showing with 25 additions and 0 deletions.
  1. +10 −0 translations/application.yml
  2. +15 −0 translations/init.yml
@@ -53,6 +53,16 @@ errors:
invalid-command: 'Command "%s", is not a valid command name.'
renamed-command: 'Command "%s" was renamed, use "%s" instead.'
drush-command: 'Command "%s" is a Drush command (deprecated). Drupal Console equivalent "%s" was executed instead.'
statistics-failed: |
The Drupal console failed to send statistics. After 10 attempts, this feature was disabled.
If you want to enable it again, use the following command:
drupal settings:set statistics.enabled true
statistics-url-failed: |
The Drupal console failed to send statistics.
You must configure it in the global config.yml, use the following command and choose your preference:
drupal init
site:
messages:
path: 'Site path'
@@ -15,3 +15,18 @@ questions:
learning: 'Shows information for learning purposes?'
generate-inline: 'Show inline representation of the executed command?'
generate-chain: 'Show chain representation of the executed command?'
statistics: 'Allow to collect and send this information to drupalConsole server?'
messages:
statistics: |
Help us improve the Drupal Console project, providing information about how you use the application.
The colleted information at "%s", would be:
- Used language
- Executed command
- Generated lines of code
You could read about our privacy policy at http://drupalconsole.com/privacy.
statistics-disable: |
You can stop sending information using the following command:
drupal settings:set statistics.enabled false

0 comments on commit c11a957

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