Skip to content
Extraits de code Groupes Projets
Valider 9fdb62cc rédigé par mattab's avatar mattab
Parcourir les fichiers

fix typo across codebase: Let's -> lets

parent 46453dba
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -73,8 +73,8 @@ Read more about migrating a plugin from Piwik 2.X to Piwik 3 on our [Migration g ...@@ -73,8 +73,8 @@ Read more about migrating a plugin from Piwik 2.X to Piwik 3 on our [Migration g
### New APIs ### New APIs
* Multiple widgets for one report can now be created via the `Report::configureWidgets()` method via the new classes `Piwik\Widget\ReportWidgetFactory` and `Piwik\Widget\ReportWidgetConfig` * Multiple widgets for one report can now be created via the `Report::configureWidgets()` method via the new classes `Piwik\Widget\ReportWidgetFactory` and `Piwik\Widget\ReportWidgetConfig`
* There is a new property `Report::$subCategory` that let's you add a report to the reporting UI. If a page having that name does not exist yet, it will be created automatically. The newly added method `Report::getSubCategory()` let's you get this value. * There is a new property `Report::$subCategory` that lets you add a report to the reporting UI. If a page having that name does not exist yet, it will be created automatically. The newly added method `Report::getSubCategory()` lets you get this value.
* The new classes `Piwik\Widget\Widget`, `Piwik\Widget\WidgetConfig` and `Piwik\Widget\WidgetContainerConfig` let's you create a new widget. * The new classes `Piwik\Widget\Widget`, `Piwik\Widget\WidgetConfig` and `Piwik\Widget\WidgetContainerConfig` lets you create a new widget.
* The new class `Piwik\Category\Subcategory` let you change the name and order of menu items * The new class `Piwik\Category\Subcategory` let you change the name and order of menu items
* New HTTP API method `API.getWidgetMetadata` to get a list of available widgets * New HTTP API method `API.getWidgetMetadata` to get a list of available widgets
* New HTTP API method `API.getReportPagesMetadata` to get a list of all available pages that exist including the widgets they include * New HTTP API method `API.getReportPagesMetadata` to get a list of all available pages that exist including the widgets they include
...@@ -83,17 +83,17 @@ Read more about migrating a plugin from Piwik 2.X to Piwik 3 on our [Migration g ...@@ -83,17 +83,17 @@ Read more about migrating a plugin from Piwik 2.X to Piwik 3 on our [Migration g
* The new class `Piwik\Updater\Migration\Factory` lets you easily create migrations that can be executed during an update. For example database or plugin related migrations. To generate a new update with migrations execute `./console generate:update`. * The new class `Piwik\Updater\Migration\Factory` lets you easily create migrations that can be executed during an update. For example database or plugin related migrations. To generate a new update with migrations execute `./console generate:update`.
* The new method `Piwik\Updater::executeMigration` lets you execute a single migration. * The new method `Piwik\Updater::executeMigration` lets you execute a single migration.
* The following events have been added: * The following events have been added:
* `ViewDataTable.filterViewDataTable` let's you filter available visualizations * `ViewDataTable.filterViewDataTable` lets you filter available visualizations
* `Dimension.addDimension` let's you add custom dimensions * `Dimension.addDimension` lets you add custom dimensions
* `Dimension.filterDimension` let's you filter any dimensions * `Dimension.filterDimension` lets you filter any dimensions
* `Report.addReports` let's you add dynamically created reports * `Report.addReports` lets you add dynamically created reports
* `Report.filterReports` let's you filter any report * `Report.filterReports` lets you filter any report
* `Updater.componentUpdated` triggered after core or a plugin has been updated * `Updater.componentUpdated` triggered after core or a plugin has been updated
* `PluginManager.pluginInstalled` triggered after a plugin was installed * `PluginManager.pluginInstalled` triggered after a plugin was installed
* `PluginManager.pluginUninstalled` triggered after a plugin was uninstalled * `PluginManager.pluginUninstalled` triggered after a plugin was uninstalled
### New features ### New features
* New "Sparklines" visualization that let's you create a widget showing multiple sparklines * New "Sparklines" visualization that lets you create a widget showing multiple sparklines
### Library updates ### Library updates
* Updated AngularJS from 1.2.28 to 1.4.3 * Updated AngularJS from 1.2.28 to 1.4.3
...@@ -422,7 +422,7 @@ Read more about migrating a plugin from Piwik 2.X to Piwik 3 on our [Migration g ...@@ -422,7 +422,7 @@ Read more about migrating a plugin from Piwik 2.X to Piwik 3 on our [Migration g
* Updated AngularJS from 1.2.13 to 1.2.25 * Updated AngularJS from 1.2.13 to 1.2.25
### New commands ### New commands
* `generate:angular-directive` Let's you easily generate a template for a new angular directive for any plugin. * `generate:angular-directive` lets you easily generate a template for a new angular directive for any plugin.
### Internal change ### Internal change
* Piwik 2.8.0 now requires PHP >= 5.3.3. * Piwik 2.8.0 now requires PHP >= 5.3.3.
...@@ -455,7 +455,7 @@ Read more about migrating a plugin from Piwik 2.X to Piwik 3 on our [Migration g ...@@ -455,7 +455,7 @@ Read more about migrating a plugin from Piwik 2.X to Piwik 3 on our [Migration g
* The Live API now returns only visitor information of activated plugins. So if for instance the Referrers plugin is deactivated a visitor won't contain any referrers related properties. This is a bugfix as the API was crashing before if some core plugins were deactivated. Affected methods are for instance `getLastVisitDetails` or `getVisitorProfile`. If all core plugins are enabled as by default there will be no change at all except the order of the properties within one visitor. * The Live API now returns only visitor information of activated plugins. So if for instance the Referrers plugin is deactivated a visitor won't contain any referrers related properties. This is a bugfix as the API was crashing before if some core plugins were deactivated. Affected methods are for instance `getLastVisitDetails` or `getVisitorProfile`. If all core plugins are enabled as by default there will be no change at all except the order of the properties within one visitor.
### New commands ### New commands
* `core:run-scheduled-tasks` Let's you run all scheduled tasks due to run at this time. Useful for instance when testing tasks. * `core:run-scheduled-tasks` lets you run all scheduled tasks due to run at this time. Useful for instance when testing tasks.
#### Internal change #### Internal change
* We removed our own autoloader that was used to load Piwik files in favor of the composer autoloader which we already have been using for some libraries. This means the file `core/Loader.php` will no longer exist. In case you are using Piwik from Git make sure to run `php composer.phar self-update && php composer.phar install` to make your Piwik work again. Also make sure to no longer include `core/Loader.php` in case it is used in any custom script. * We removed our own autoloader that was used to load Piwik files in favor of the composer autoloader which we already have been using for some libraries. This means the file `core/Loader.php` will no longer exist. In case you are using Piwik from Git make sure to run `php composer.phar self-update && php composer.phar install` to make your Piwik work again. Also make sure to no longer include `core/Loader.php` in case it is used in any custom script.
...@@ -507,15 +507,15 @@ We are using `@since` annotations in case we are introducing new API's to make i ...@@ -507,15 +507,15 @@ We are using `@since` annotations in case we are introducing new API's to make i
* [Tasks](http://developer.piwik.org/2.x/api-reference/Piwik/Plugin/Tasks) to add scheduled tasks * [Tasks](http://developer.piwik.org/2.x/api-reference/Piwik/Plugin/Tasks) to add scheduled tasks
### New commands ### New commands
* `generate:theme` Let's you easily generate a new theme and customize colors, see the [Theming guide](http://developer.piwik.org/guides/theming) * `generate:theme` lets you easily generate a new theme and customize colors, see the [Theming guide](http://developer.piwik.org/guides/theming)
* `generate:update` Let's you generate an update file * `generate:update` lets you generate an update file
* `generate:report` Let's you generate a report * `generate:report` lets you generate a report
* `generate:dimension` Let's you enhance the tracking by adding new dimensions * `generate:dimension` lets you enhance the tracking by adding new dimensions
* `generate:menu` Let's you generate a menu class to add or modify menu items * `generate:menu` lets you generate a menu class to add or modify menu items
* `generate:widgets` Let's you generate a widgets class to add or modify widgets * `generate:widgets` lets you generate a widgets class to add or modify widgets
* `generate:tasks` Let's you generate a tasks class to add or modify tasks * `generate:tasks` lets you generate a tasks class to add or modify tasks
* `development:enable` Let's you enable the development mode which will will disable some caching to make code changes directly visible and it will assist developers by performing additional checks to prevent for instance typos. Should not be used in production. * `development:enable` lets you enable the development mode which will will disable some caching to make code changes directly visible and it will assist developers by performing additional checks to prevent for instance typos. Should not be used in production.
* `development:disable` Let's you disable the development mode * `development:disable` lets you disable the development mode
<!-- <!--
## Template: Piwik version number ## Template: Piwik version number
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
namespace Piwik\Category; namespace Piwik\Category;
/** /**
* Base type for category. Let's you change the name for a categoryId and specifiy a different order * Base type for category. lets you change the name for a categoryId and specifiy a different order
* so the category appears eg at a different order in the reporting menu. * so the category appears eg at a different order in the reporting menu.
* *
* This class is for now not exposed as public API until needed. Categories of plugins will be automatically * This class is for now not exposed as public API until needed. Categories of plugins will be automatically
......
...@@ -11,7 +11,7 @@ use Piwik\Container\StaticContainer; ...@@ -11,7 +11,7 @@ use Piwik\Container\StaticContainer;
use Piwik\Plugin; use Piwik\Plugin;
/** /**
* Base type for category. Let's you change the name for a categoryId and specifiy a different order * Base type for category. lets you change the name for a categoryId and specifiy a different order
* so the category appears eg at a different order in the reporting menu. * so the category appears eg at a different order in the reporting menu.
* *
* This class is for now not exposed as public API until needed. Categories of plugins will be automatically * This class is for now not exposed as public API until needed. Categories of plugins will be automatically
......
...@@ -51,7 +51,7 @@ abstract class MenuAbstract extends Singleton ...@@ -51,7 +51,7 @@ abstract class MenuAbstract extends Singleton
} }
/** /**
* Let's you register a menu icon for a certain menu category to replace the default arrow icon. * lets you register a menu icon for a certain menu category to replace the default arrow icon.
* *
* @param string $menuName The translation key of a main menu category, eg 'Dashboard_Dashboard' * @param string $menuName The translation key of a main menu category, eg 'Dashboard_Dashboard'
* @param string $iconCssClass The css class name of an icon, eg 'icon-user' * @param string $iconCssClass The css class name of an icon, eg 'icon-user'
......
...@@ -310,7 +310,7 @@ class Report ...@@ -310,7 +310,7 @@ class Report
} }
/** /**
* Let's you add any amount of widgets for this report. If a report defines a {@link $categoryId} and a * lets you add any amount of widgets for this report. If a report defines a {@link $categoryId} and a
* {@link $subcategoryId} a widget will be generated automatically. * {@link $subcategoryId} a widget will be generated automatically.
* *
* Example to add a widget manually by overwriting this method in your report: * Example to add a widget manually by overwriting this method in your report:
......
...@@ -11,7 +11,7 @@ namespace Piwik\Plugins\ExamplePlugin; ...@@ -11,7 +11,7 @@ namespace Piwik\Plugins\ExamplePlugin;
use Piwik\View; use Piwik\View;
/** /**
* A controller let's you for example create a page that can be added to a menu. For more information read our guide * A controller lets you for example create a page that can be added to a menu. For more information read our guide
* http://developer.piwik.org/guides/mvc-in-piwik or have a look at the our API references for controller and view: * http://developer.piwik.org/guides/mvc-in-piwik or have a look at the our API references for controller and view:
* http://developer.piwik.org/api-reference/Piwik/Plugin/Controller and * http://developer.piwik.org/api-reference/Piwik/Plugin/Controller and
* http://developer.piwik.org/api-reference/Piwik/View * http://developer.piwik.org/api-reference/Piwik/View
......
Subproject commit 8a86580b0d22680d7855583eb04877b6c894e581 Subproject commit 48e6f523f721a9928fb8b59237297b5d43aec40b
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter