From 97259949522d088c9fdc53a7c0407e949f88be05 Mon Sep 17 00:00:00 2001 From: oscarotero Date: Wed, 15 Jun 2016 21:09:19 +0200 Subject: [PATCH] minor changes --- LICENSE | 2 +- README.md | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LICENSE b/LICENSE index 76aa39a..2de0a98 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Oscar Otero +Copyright (c) 2016 Oscar Otero Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 40fbbfb..6650775 100644 --- a/README.md +++ b/README.md @@ -21,20 +21,20 @@ require 'vendor/autoload.php'; class RoboFile extends \Robo\Tasks { - use Gettext\Robo\GettextScanner; + use Gettext\Robo\GettextScanner; /** * Scan files to find new gettext values */ public function gettext() { - $this->taskGettextScanner() - ->extract(__DIR__.'/templates/') - ->extract(__DIR__.'/js/', '/.*\.js/') //directory + regex - ->generate(__DIR__.'/Locale/gl/LC_MESSAGES/messages.mo') - ->generate(__DIR__.'/Locale/es/LC_MESSAGES/messages.mo') - ->generate(__DIR__.'/Locale/en/LC_MESSAGES/messages.mo') - ->run(); + $this->taskGettextScanner() + ->extract('templates/') + ->extract('js/', '/.*\.js/') //directory + regex + ->generate('Locale/gl/LC_MESSAGES/messages.mo') + ->generate('Locale/es/LC_MESSAGES/messages.mo') + ->generate('Locale/en/LC_MESSAGES/messages.mo') + ->run(); } } ```