mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Merge pull request #123 from CrashyBang/patch-1
Fix i18n Textcollector Task if phing not installed
This commit is contained in:
commit
825b989ad6
@ -10,13 +10,13 @@
|
|||||||
*
|
*
|
||||||
* @see https://github.com/silverstripe/silverstripe-buildtools/blob/master/src/GenerateJavascriptI18nTask.php
|
* @see https://github.com/silverstripe/silverstripe-buildtools/blob/master/src/GenerateJavascriptI18nTask.php
|
||||||
*/
|
*/
|
||||||
include_once 'phing/Task.php';
|
|
||||||
|
|
||||||
// Ignore this file if phing is not installed
|
// Ignore this file if phing is not installed
|
||||||
if (!class_exists('Task')) {
|
if (!class_exists('Task')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include_once 'phing/Task.php';
|
||||||
|
|
||||||
class BuildTransifexTranslations extends Task
|
class BuildTransifexTranslations extends Task
|
||||||
{
|
{
|
||||||
private $txapi = 'https://www.transifex.com/api/2';
|
private $txapi = 'https://www.transifex.com/api/2';
|
||||||
|
Loading…
Reference in New Issue
Block a user