diff --git a/.travis.yml b/.travis.yml index f98ed8d..edfae32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,9 @@ language: php sudo: false php: - - 7.0 - 7.1 - 7.2 + - 7.3 matrix: fast_finish: true diff --git a/Behavioral/ChainOfResponsibilities/Tests/ChainTest.php b/Behavioral/ChainOfResponsibilities/Tests/ChainTest.php index c61f1fb..e9d4cb4 100644 --- a/Behavioral/ChainOfResponsibilities/Tests/ChainTest.php +++ b/Behavioral/ChainOfResponsibilities/Tests/ChainTest.php @@ -33,7 +33,7 @@ class ChainTest extends TestCase ->willReturn('GET'); $request->method('getUri')->willReturn($uri); - $this->assertEquals('Hello In Memory!', $this->chain->handle($request)); + $this->assertSame('Hello In Memory!', $this->chain->handle($request)); } public function testCanRequestKeyInSlowStorage() @@ -47,6 +47,6 @@ class ChainTest extends TestCase ->willReturn('GET'); $request->method('getUri')->willReturn($uri); - $this->assertEquals('Hello World!', $this->chain->handle($request)); + $this->assertSame('Hello World!', $this->chain->handle($request)); } } diff --git a/Behavioral/Command/Tests/CommandTest.php b/Behavioral/Command/Tests/CommandTest.php index 2479321..e14e215 100644 --- a/Behavioral/Command/Tests/CommandTest.php +++ b/Behavioral/Command/Tests/CommandTest.php @@ -16,6 +16,6 @@ class CommandTest extends TestCase $invoker->setCommand(new HelloCommand($receiver)); $invoker->run(); - $this->assertEquals('Hello World', $receiver->getOutput()); + $this->assertSame('Hello World', $receiver->getOutput()); } } diff --git a/Behavioral/Command/Tests/UndoableCommandTest.php b/Behavioral/Command/Tests/UndoableCommandTest.php index 9569cb1..b76c17b 100644 --- a/Behavioral/Command/Tests/UndoableCommandTest.php +++ b/Behavioral/Command/Tests/UndoableCommandTest.php @@ -17,17 +17,17 @@ class UndoableCommandTest extends TestCase $invoker->setCommand(new HelloCommand($receiver)); $invoker->run(); - $this->assertEquals('Hello World', $receiver->getOutput()); + $this->assertSame('Hello World', $receiver->getOutput()); $messageDateCommand = new AddMessageDateCommand($receiver); $messageDateCommand->execute(); $invoker->run(); - $this->assertEquals("Hello World\nHello World [".date('Y-m-d').']', $receiver->getOutput()); + $this->assertSame("Hello World\nHello World [".date('Y-m-d').']', $receiver->getOutput()); $messageDateCommand->undo(); $invoker->run(); - $this->assertEquals("Hello World\nHello World [".date('Y-m-d')."]\nHello World", $receiver->getOutput()); + $this->assertSame("Hello World\nHello World [".date('Y-m-d')."]\nHello World", $receiver->getOutput()); } } diff --git a/Behavioral/Iterator/Tests/IteratorTest.php b/Behavioral/Iterator/Tests/IteratorTest.php index 5a63078..ed8c830 100644 --- a/Behavioral/Iterator/Tests/IteratorTest.php +++ b/Behavioral/Iterator/Tests/IteratorTest.php @@ -4,8 +4,6 @@ namespace DesignPatterns\Behavioral\Iterator\Tests; use DesignPatterns\Behavioral\Iterator\Book; use DesignPatterns\Behavioral\Iterator\BookList; -use DesignPatterns\Behavioral\Iterator\BookListIterator; -use DesignPatterns\Behavioral\Iterator\BookListReverseIterator; use PHPUnit\Framework\TestCase; class IteratorTest extends TestCase @@ -23,7 +21,7 @@ class IteratorTest extends TestCase $books[] = $book->getAuthorAndTitle(); } - $this->assertEquals( + $this->assertSame( [ 'Learning PHP Design Patterns by William Sanders', 'Professional Php Design Patterns by Aaron Saray', @@ -48,7 +46,7 @@ class IteratorTest extends TestCase $books[] = $book->getAuthorAndTitle(); } - $this->assertEquals( + $this->assertSame( ['Professional Php Design Patterns by Aaron Saray'], $books ); diff --git a/Behavioral/Memento/Tests/MementoTest.php b/Behavioral/Memento/Tests/MementoTest.php index 656a58c..8bcd42b 100644 --- a/Behavioral/Memento/Tests/MementoTest.php +++ b/Behavioral/Memento/Tests/MementoTest.php @@ -15,18 +15,18 @@ class MementoTest extends TestCase // open the ticket $ticket->open(); $openedState = $ticket->getState(); - $this->assertEquals(State::STATE_OPENED, (string) $ticket->getState()); + $this->assertSame(State::STATE_OPENED, (string) $ticket->getState()); $memento = $ticket->saveToMemento(); // assign the ticket $ticket->assign(); - $this->assertEquals(State::STATE_ASSIGNED, (string) $ticket->getState()); + $this->assertSame(State::STATE_ASSIGNED, (string) $ticket->getState()); // now restore to the opened state, but verify that the state object has been cloned for the memento $ticket->restoreFromMemento($memento); - $this->assertEquals(State::STATE_OPENED, (string) $ticket->getState()); + $this->assertSame(State::STATE_OPENED, (string) $ticket->getState()); $this->assertNotSame($openedState, $ticket->getState()); } } diff --git a/Behavioral/Specification/uml/Specification.uml b/Behavioral/Specification/uml/Specification.uml index 003e549..c28b2a1 100644 --- a/Behavioral/Specification/uml/Specification.uml +++ b/Behavioral/Specification/uml/Specification.uml @@ -1,55 +1,52 @@ - - - PHP - \DesignPatterns\Behavioral\Specification\AbstractSpecification - - \DesignPatterns\Behavioral\Specification\PriceSpecification - \DesignPatterns\Behavioral\Specification\Not - \DesignPatterns\Behavioral\Specification\SpecificationInterface - \DesignPatterns\Behavioral\Specification\Plus - \DesignPatterns\Behavioral\Specification\AbstractSpecification - \DesignPatterns\Behavioral\Specification\Either - \DesignPatterns\Behavioral\Specification\Item - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fields - Constants - Constructors - Methods - - private - - + + + PHP + \DesignPatterns\Behavioral\Specification\AndSpecification + + \DesignPatterns\Behavioral\Specification\OrSpecification + \DesignPatterns\Behavioral\Specification\PriceSpecification + \DesignPatterns\Behavioral\Specification\NotSpecification + \DesignPatterns\Behavioral\Specification\Item + \DesignPatterns\Behavioral\Specification\AndSpecification + \DesignPatterns\Behavioral\Specification\SpecificationInterface + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \DesignPatterns\Behavioral\Specification\AndSpecification + + + Fields + Constants + Constructors + Methods + + private + + diff --git a/Behavioral/Specification/uml/uml.png b/Behavioral/Specification/uml/uml.png index 0b31e49..1728ac4 100644 Binary files a/Behavioral/Specification/uml/uml.png and b/Behavioral/Specification/uml/uml.png differ diff --git a/Behavioral/Specification/uml/uml.svg b/Behavioral/Specification/uml/uml.svg index cfab544..90e205c 100644 --- a/Behavioral/Specification/uml/uml.svg +++ b/Behavioral/Specification/uml/uml.svg @@ -1,761 +1,116 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - maxPrice - - - - - - - - - - minPrice - - - - - - - - - - - - setMaxPrice(maxPrice) - - - - - - - - - setMinPrice(minPrice) - - - - - - - - - isSatisfiedBy(item) - - - - - - - - - - - - - PriceSpecification - - - PriceSpecification - - - - - - - - - - - - - - - - - - - spec - - - - - - - - - - - - __construct(spec) - - - - - - - - - - - - isSatisfiedBy(item) - - - - - - - - - - - - - Not - - - Not - - - - - - - - - - - - - - - - - - isSatisfiedBy(item) - - - - - - - - - plus(spec) - - - - - - - - - either(spec) - - - - - - - - - not() - - - - - - - - - - - - - SpecificationInterface - - - SpecificationInterface - - - - - - - - - - - - - - - - - - - left - - - - - - - - - - right - - - - - - - - - - - - __construct(left, right) - - - - - - - - - - - - isSatisfiedBy(item) - - - - - - - - - - - - - Plus - - - Plus - - - - - - - - - - - - - - - - - - isSatisfiedBy(item) - - - - - - - - - plus(spec) - - - - - - - - - either(spec) - - - - - - - - - not() - - - - - - - - - - - - - AbstractSpecification - - - AbstractSpecification - - - - - - - - - - - - - - - - - - - left - - - - - - - - - - right - - - - - - - - - - - - __construct(left, right) - - - - - - - - - - - - isSatisfiedBy(item) - - - - - - - - - - - - - Either - - - Either - - - - - - - - - - - - - - - - - - - price - - - - - - - - - - - - __construct(price) - - - - - - - - - - - - getPrice() - - - - - - - - - - - - - Item - - - Item - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Behavioral/State/ContextOrder.php b/Behavioral/State/ContextOrder.php deleted file mode 100644 index b05537d..0000000 --- a/Behavioral/State/ContextOrder.php +++ /dev/null @@ -1,26 +0,0 @@ -done(); - } - - public function getStatus(): string - { - return static::$state->getStatus(); - } -} diff --git a/Behavioral/State/CreateOrder.php b/Behavioral/State/CreateOrder.php deleted file mode 100644 index 9c95b61..0000000 --- a/Behavioral/State/CreateOrder.php +++ /dev/null @@ -1,16 +0,0 @@ -setStatus('created'); - } - - protected function done() - { - static::$state = new ShippingOrder(); - } -} diff --git a/Behavioral/State/OrderContext.php b/Behavioral/State/OrderContext.php new file mode 100644 index 0000000..183ea98 --- /dev/null +++ b/Behavioral/State/OrderContext.php @@ -0,0 +1,34 @@ +state = new StateCreated(); + + return $order; + } + + public function setState(State $state) + { + $this->state = $state; + } + + public function proceedToNext() + { + $this->state->proceedToNext($this); + } + + public function toString() + { + return $this->state->toString(); + } +} diff --git a/Behavioral/State/README.rst b/Behavioral/State/README.rst index 85a6e76..dbbe5b0 100644 --- a/Behavioral/State/README.rst +++ b/Behavioral/State/README.rst @@ -20,27 +20,33 @@ Code You can also find this code on `GitHub`_ -ContextOrder.php +OrderContext.php -.. literalinclude:: ContextOrder.php +.. literalinclude:: OrderContext.php :language: php :linenos: -StateOrder.php +State.php -.. literalinclude:: StateOrder.php +.. literalinclude:: State.php :language: php :linenos: -ShippingOrder.php +StateCreated.php -.. literalinclude:: ShippingOrder.php +.. literalinclude:: StateCreated.php :language: php :linenos: -CreateOrder.php +StateShipped.php -.. literalinclude:: CreateOrder.php +.. literalinclude:: StateShipped.php + :language: php + :linenos: + +StateDone.php + +.. literalinclude:: StateDone.php :language: php :linenos: diff --git a/Behavioral/State/ShippingOrder.php b/Behavioral/State/ShippingOrder.php deleted file mode 100644 index 06032eb..0000000 --- a/Behavioral/State/ShippingOrder.php +++ /dev/null @@ -1,16 +0,0 @@ -setStatus('shipping'); - } - - protected function done() - { - $this->setStatus('completed'); - } -} diff --git a/Behavioral/State/State.php b/Behavioral/State/State.php new file mode 100644 index 0000000..a6d4218 --- /dev/null +++ b/Behavioral/State/State.php @@ -0,0 +1,10 @@ +setState(new StateShipped()); + } + + public function toString(): string + { + return 'created'; + } +} diff --git a/Behavioral/State/StateDone.php b/Behavioral/State/StateDone.php new file mode 100644 index 0000000..355aa7e --- /dev/null +++ b/Behavioral/State/StateDone.php @@ -0,0 +1,16 @@ +details['status'] = $status; - $this->details['updatedTime'] = time(); - } - - protected function getStatus(): string - { - return $this->details['status']; - } -} diff --git a/Behavioral/State/StateShipped.php b/Behavioral/State/StateShipped.php new file mode 100644 index 0000000..f891b00 --- /dev/null +++ b/Behavioral/State/StateShipped.php @@ -0,0 +1,16 @@ +setState(new StateDone()); + } + + public function toString(): string + { + return 'shipped'; + } +} diff --git a/Behavioral/State/Tests/StateTest.php b/Behavioral/State/Tests/StateTest.php index 834c02c..73273bc 100644 --- a/Behavioral/State/Tests/StateTest.php +++ b/Behavioral/State/Tests/StateTest.php @@ -2,30 +2,42 @@ namespace DesignPatterns\Behavioral\State\Tests; -use DesignPatterns\Behavioral\State\ContextOrder; -use DesignPatterns\Behavioral\State\CreateOrder; +use DesignPatterns\Behavioral\State\OrderContext; use PHPUnit\Framework\TestCase; class StateTest extends TestCase { - public function testCanShipCreatedOrder() + public function testIsCreatedWithStateCreated() { - $order = new CreateOrder(); - $contextOrder = new ContextOrder(); - $contextOrder->setState($order); - $contextOrder->done(); + $orderContext = OrderContext::create(); - $this->assertEquals('shipping', $contextOrder->getStatus()); + $this->assertSame('created', $orderContext->toString()); } - public function testCanCompleteShippedOrder() + public function testCanProceedToStateShipped() { - $order = new CreateOrder(); - $contextOrder = new ContextOrder(); - $contextOrder->setState($order); - $contextOrder->done(); - $contextOrder->done(); + $contextOrder = OrderContext::create(); + $contextOrder->proceedToNext(); - $this->assertEquals('completed', $contextOrder->getStatus()); + $this->assertSame('shipped', $contextOrder->toString()); + } + + public function testCanProceedToStateDone() + { + $contextOrder = OrderContext::create(); + $contextOrder->proceedToNext(); + $contextOrder->proceedToNext(); + + $this->assertSame('done', $contextOrder->toString()); + } + + public function testStateDoneIsTheLastPossibleState() + { + $contextOrder = OrderContext::create(); + $contextOrder->proceedToNext(); + $contextOrder->proceedToNext(); + $contextOrder->proceedToNext(); + + $this->assertSame('done', $contextOrder->toString()); } } diff --git a/Behavioral/Strategy/Context.php b/Behavioral/Strategy/Context.php index 6279f0e..6478492 100644 --- a/Behavioral/Strategy/Context.php +++ b/Behavioral/Strategy/Context.php @@ -20,4 +20,4 @@ class Context return $elements; } -} \ No newline at end of file +} diff --git a/Behavioral/Strategy/Tests/StrategyTest.php b/Behavioral/Strategy/Tests/StrategyTest.php index 0d25c7c..69f4dca 100644 --- a/Behavioral/Strategy/Tests/StrategyTest.php +++ b/Behavioral/Strategy/Tests/StrategyTest.php @@ -49,7 +49,7 @@ class StrategyTest extends TestCase $elements = $obj->executeStrategy($collection); $firstElement = array_shift($elements); - $this->assertEquals($expected, $firstElement); + $this->assertSame($expected, $firstElement); } /** @@ -64,6 +64,6 @@ class StrategyTest extends TestCase $elements = $obj->executeStrategy($collection); $firstElement = array_shift($elements); - $this->assertEquals($expected, $firstElement); + $this->assertSame($expected, $firstElement); } } diff --git a/Behavioral/TemplateMethod/Tests/JourneyTest.php b/Behavioral/TemplateMethod/Tests/JourneyTest.php index 25bdd51..7fbe673 100644 --- a/Behavioral/TemplateMethod/Tests/JourneyTest.php +++ b/Behavioral/TemplateMethod/Tests/JourneyTest.php @@ -12,7 +12,7 @@ class JourneyTest extends TestCase $beachJourney = new TemplateMethod\BeachJourney(); $beachJourney->takeATrip(); - $this->assertEquals( + $this->assertSame( ['Buy a flight ticket', 'Taking the plane', 'Swimming and sun-bathing', 'Taking the plane'], $beachJourney->getThingsToDo() ); @@ -20,10 +20,10 @@ class JourneyTest extends TestCase public function testCanGetOnAJourneyToACity() { - $beachJourney = new TemplateMethod\CityJourney(); - $beachJourney->takeATrip(); + $cityJourney = new TemplateMethod\CityJourney(); + $cityJourney->takeATrip(); - $this->assertEquals( + $this->assertSame( [ 'Buy a flight ticket', 'Taking the plane', @@ -31,7 +31,7 @@ class JourneyTest extends TestCase 'Buy a gift', 'Taking the plane' ], - $beachJourney->getThingsToDo() + $cityJourney->getThingsToDo() ); } } diff --git a/Creational/AbstractFactory/AbstractFactory.php b/Creational/AbstractFactory/AbstractFactory.php deleted file mode 100644 index 85bd878..0000000 --- a/Creational/AbstractFactory/AbstractFactory.php +++ /dev/null @@ -1,12 +0,0 @@ -skipHeaderLine = $skipHeaderLine; + } + + public function parse(string $input): array + { + $headerWasParsed = false; + $parsedLines = []; + + foreach (explode(PHP_EOL, $input) as $line) { + if (!$headerWasParsed && $this->skipHeaderLine === self::OPTION_CONTAINS_HEADER) { + $headerWasParsed = true; + continue; + } + + $parsedLines[] = str_getcsv($line); + } + + return $parsedLines; + } +} diff --git a/Creational/AbstractFactory/HtmlFactory.php b/Creational/AbstractFactory/HtmlFactory.php deleted file mode 100644 index ba44216..0000000 --- a/Creational/AbstractFactory/HtmlFactory.php +++ /dev/null @@ -1,11 +0,0 @@ -createText('foobar'); + $factory = new ParserFactory(); + $parser = $factory->createCsvParser(CsvParser::OPTION_CONTAINS_HEADER); - $this->assertInstanceOf(HtmlText::class, $text); + $this->assertInstanceOf(CsvParser::class, $parser); } - public function testCanCreateJsonText() + public function testCsvParserCanParse() { - $factory = new JsonFactory(); - $text = $factory->createText('foobar'); + $factory = new ParserFactory(); + $parser = $factory->createCsvParser(CsvParser::OPTION_CONTAINS_NO_HEADER); - $this->assertInstanceOf(JsonText::class, $text); + $result = $parser->parse("A0,A1,A2\nB0,B1,B2\nC0,C1,C2"); + + $this->assertEquals( + [ + ['A0', 'A1', 'A2'], + ['B0', 'B1', 'B2'], + ['C0', 'C1', 'C2'] + ], + $result + ); + } + + public function testCsvParserCanSkipHeader() + { + $factory = new ParserFactory(); + $parser = $factory->createCsvParser(CsvParser::OPTION_CONTAINS_HEADER); + + $result = $parser->parse("A0,A1,A2\nB0,B1,B2\nC0,C1,C2"); + + $this->assertEquals( + [ + ['B0', 'B1', 'B2'], + ['C0', 'C1', 'C2'] + ], + $result + ); + } + + public function testCanCreateJsonParser() + { + $factory = new ParserFactory(); + $parser = $factory->createJsonParser(); + + $this->assertInstanceOf(JsonParser::class, $parser); } } diff --git a/Creational/AbstractFactory/Text.php b/Creational/AbstractFactory/Text.php deleted file mode 100644 index 3573801..0000000 --- a/Creational/AbstractFactory/Text.php +++ /dev/null @@ -1,16 +0,0 @@ -text = $text; - } -} diff --git a/Creational/AbstractFactory/uml/AbstractFactory.uml b/Creational/AbstractFactory/uml/AbstractFactory.uml index 224cc06..bcd4efb 100644 --- a/Creational/AbstractFactory/uml/AbstractFactory.uml +++ b/Creational/AbstractFactory/uml/AbstractFactory.uml @@ -1,50 +1,35 @@ PHP - \DesignPatterns\Creational\AbstractFactory\AbstractFactory + \DesignPatterns\Creational\AbstractFactory\CsvParser - \DesignPatterns\Creational\AbstractFactory\JsonFactory - \DesignPatterns\Creational\AbstractFactory\AbstractFactory - \DesignPatterns\Creational\AbstractFactory\HtmlFactory - \DesignPatterns\Creational\AbstractFactory\JsonText - \DesignPatterns\Creational\AbstractFactory\HtmlText - \DesignPatterns\Creational\AbstractFactory\Text + \DesignPatterns\Creational\AbstractFactory\Parser + \DesignPatterns\Creational\AbstractFactory\ParserFactory + \DesignPatterns\Creational\AbstractFactory\JsonParser + \DesignPatterns\Creational\AbstractFactory\CsvParser - - - - - + + + + + - - - - - - - + - - - - - - - - - + + + - - - \DesignPatterns\Creational\AbstractFactory\AbstractFactory - + + - Methods - Constants Fields + Constants + Constructors + Methods private diff --git a/Creational/AbstractFactory/uml/uml.png b/Creational/AbstractFactory/uml/uml.png index 68d3a8b..fc1db5d 100644 Binary files a/Creational/AbstractFactory/uml/uml.png and b/Creational/AbstractFactory/uml/uml.png differ diff --git a/Creational/AbstractFactory/uml/uml.svg b/Creational/AbstractFactory/uml/uml.svg index e7eff24..ecd8021 100644 --- a/Creational/AbstractFactory/uml/uml.svg +++ b/Creational/AbstractFactory/uml/uml.svg @@ -1,560 +1,82 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - - createText(content) + + - - + + - - - + + - - - - - JsonFactory - - - JsonFactory - - - - - - - - - - - - - - - - - - - - - - createText(content) - - - - - - - - - - - - - JsonFactory - - - JsonFactory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - createText(content) - - - - - - - - - - - - - AbstractFactory - - - AbstractFactory - - - - - - - - - - - - - - - - - - - - - - createText(content) - - - - - - - - - - - - - AbstractFactory - - - AbstractFactory - - - - - - - - - - - - - - - - - - - - - - createText(content) - - - - - - - - - - - - - HtmlFactory - - - HtmlFactory - - - - - - - - - - - - - - - - - - - - - - createText(content) - - - - - - - - - - - - - HtmlFactory - - - HtmlFactory - - - - - - - - - - - - - - - - JsonText - - - JsonText - - - - - - - - - - - - - JsonText - - - JsonText - - - - - - - - - - - - - - - - HtmlText - - - HtmlText - - - - - - - - - - - - - HtmlText - - - HtmlText - - - - - - - - - - - - - - - - - - - - - - - - - text - - - - - - - - - - - - - Text - - - Text - - - - - - - - - - - - - - - - - - - - - - text - - - - - - - - - - - - - Text - - - Text - - - - - - - - - - - - + + + + diff --git a/Creational/FactoryMethod/Bicycle.php b/Creational/FactoryMethod/Bicycle.php deleted file mode 100644 index 95aacbf..0000000 --- a/Creational/FactoryMethod/Bicycle.php +++ /dev/null @@ -1,16 +0,0 @@ -color = $rgb; - } -} diff --git a/Creational/FactoryMethod/CarFerrari.php b/Creational/FactoryMethod/CarFerrari.php deleted file mode 100644 index dfb9eca..0000000 --- a/Creational/FactoryMethod/CarFerrari.php +++ /dev/null @@ -1,16 +0,0 @@ -color = $rgb; - } -} diff --git a/Creational/FactoryMethod/CarMercedes.php b/Creational/FactoryMethod/CarMercedes.php deleted file mode 100644 index bc6e337..0000000 --- a/Creational/FactoryMethod/CarMercedes.php +++ /dev/null @@ -1,21 +0,0 @@ -color = $rgb; - } - - public function addAMGTuning() - { - // do additional tuning here - } -} diff --git a/Creational/FactoryMethod/FactoryMethod.php b/Creational/FactoryMethod/FactoryMethod.php deleted file mode 100644 index d999f7b..0000000 --- a/Creational/FactoryMethod/FactoryMethod.php +++ /dev/null @@ -1,19 +0,0 @@ -createVehicle($type); - $obj->setColor('black'); - - return $obj; - } -} diff --git a/Creational/FactoryMethod/FileLogger.php b/Creational/FactoryMethod/FileLogger.php new file mode 100644 index 0000000..96aaa22 --- /dev/null +++ b/Creational/FactoryMethod/FileLogger.php @@ -0,0 +1,21 @@ +filePath = $filePath; + } + + public function log(string $message) + { + file_put_contents($this->filePath, $message . PHP_EOL, FILE_APPEND); + } +} diff --git a/Creational/FactoryMethod/FileLoggerFactory.php b/Creational/FactoryMethod/FileLoggerFactory.php new file mode 100644 index 0000000..6922c00 --- /dev/null +++ b/Creational/FactoryMethod/FileLoggerFactory.php @@ -0,0 +1,21 @@ +filePath = $filePath; + } + + public function createLogger(): Logger + { + return new FileLogger($this->filePath); + } +} diff --git a/Creational/FactoryMethod/GermanFactory.php b/Creational/FactoryMethod/GermanFactory.php deleted file mode 100644 index 7abb750..0000000 --- a/Creational/FactoryMethod/GermanFactory.php +++ /dev/null @@ -1,22 +0,0 @@ -addAMGTuning(); - - return $carMercedes; - default: - throw new \InvalidArgumentException("$type is not a valid vehicle"); - } - } -} diff --git a/Creational/FactoryMethod/ItalianFactory.php b/Creational/FactoryMethod/ItalianFactory.php deleted file mode 100644 index 58a54f4..0000000 --- a/Creational/FactoryMethod/ItalianFactory.php +++ /dev/null @@ -1,18 +0,0 @@ -create(FactoryMethod::CHEAP); + $loggerFactory = new StdoutLoggerFactory(); + $logger = $loggerFactory->createLogger(); - $this->assertInstanceOf(Bicycle::class, $result); + $this->assertInstanceOf(StdoutLogger::class, $logger); } - public function testCanCreateFastVehicleInGermany() + public function testCanCreateFileLogging() { - $factory = new GermanFactory(); - $result = $factory->create(FactoryMethod::FAST); + $loggerFactory = new FileLoggerFactory(sys_get_temp_dir()); + $logger = $loggerFactory->createLogger(); - $this->assertInstanceOf(CarMercedes::class, $result); - } - - public function testCanCreateCheapVehicleInItaly() - { - $factory = new ItalianFactory(); - $result = $factory->create(FactoryMethod::CHEAP); - - $this->assertInstanceOf(Bicycle::class, $result); - } - - public function testCanCreateFastVehicleInItaly() - { - $factory = new ItalianFactory(); - $result = $factory->create(FactoryMethod::FAST); - - $this->assertInstanceOf(CarFerrari::class, $result); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage spaceship is not a valid vehicle - */ - public function testUnknownType() - { - (new ItalianFactory())->create('spaceship'); + $this->assertInstanceOf(FileLogger::class, $logger); } } diff --git a/Creational/FactoryMethod/VehicleInterface.php b/Creational/FactoryMethod/VehicleInterface.php deleted file mode 100644 index 9f5fb15..0000000 --- a/Creational/FactoryMethod/VehicleInterface.php +++ /dev/null @@ -1,8 +0,0 @@ - PHP - \DesignPatterns\Creational\FactoryMethod\GermanFactory + \DesignPatterns\Creational\FactoryMethod\StdoutLoggerFactory - \DesignPatterns\Creational\FactoryMethod\FactoryMethod - \DesignPatterns\Creational\FactoryMethod\Bicycle - \DesignPatterns\Creational\FactoryMethod\CarFerrari - \DesignPatterns\Creational\FactoryMethod\ItalianFactory - \DesignPatterns\Creational\FactoryMethod\CarMercedes - \DesignPatterns\Creational\FactoryMethod\GermanFactory - \DesignPatterns\Creational\FactoryMethod\VehicleInterface + \DesignPatterns\Creational\FactoryMethod\LoggerFactory + \DesignPatterns\Creational\FactoryMethod\StdoutLoggerFactory + \DesignPatterns\Creational\FactoryMethod\FileLogger + \DesignPatterns\Creational\FactoryMethod\FileLoggerFactory + \DesignPatterns\Creational\FactoryMethod\StdoutLogger + \DesignPatterns\Creational\FactoryMethod\Logger - + - - - + + + - - - - - + + + + + - - - - - + - - - + + + - - - - - + + + + + - - + + + \DesignPatterns\Creational\FactoryMethod\FileLogger + \DesignPatterns\Creational\FactoryMethod\StdoutLogger + \DesignPatterns\Creational\FactoryMethod\Logger + Fields + Constants Constructors Methods diff --git a/Creational/FactoryMethod/uml/uml.png b/Creational/FactoryMethod/uml/uml.png index b705b22..8f33b88 100644 Binary files a/Creational/FactoryMethod/uml/uml.png and b/Creational/FactoryMethod/uml/uml.png differ diff --git a/Creational/FactoryMethod/uml/uml.svg b/Creational/FactoryMethod/uml/uml.svg index 6ddd586..5463cb1 100644 --- a/Creational/FactoryMethod/uml/uml.svg +++ b/Creational/FactoryMethod/uml/uml.svg @@ -1,974 +1,50 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - createVehicle(type) - - - - - - - - - - - - - create(type) - - - - - - - - - - - - - FactoryMethod - - - FactoryMethod - - - - - - - - - - - - - - - - - - - - - - createVehicle(type) - - - - - - - - - - - - - - - - create(type) - - - - - - - - - - - - - FactoryMethod - - - FactoryMethod - - - - - - - - - - - - - - - - - - - - - - - - - color - - - - - - - - - - - - - - - - setColor(rgb) - - - - - - - - - - - - - Bicycle - - - Bicycle - - - - - - - - - - - - - - - - - - - - - - color - - - - - - - - - - - - - - - - - - - setColor(rgb) - - - - - - - - - - - - - Bicycle - - - Bicycle - - - - - - - - - - - - - - - - - - - - - - - - - color - - - - - - - - - - - - - - - - setColor(rgb) - - - - - - - - - - - - - CarFerrari - - - CarFerrari - - - - - - - - - - - - - - - - - - - - - - color - - - - - - - - - - - - - - - - - - - setColor(rgb) - - - - - - - - - - - - - CarFerrari - - - CarFerrari - - - - - - - - - - - - - - - - - - - - - - createVehicle(type) - - - - - - - - - - - - - ItalianFactory - - - ItalianFactory - - - - - - - - - - - - - - - - - - - - - - createVehicle(type) - - - - - - - - - - - - - ItalianFactory - - - ItalianFactory - - - - - - - - - - - - - - - - - - - - - - - - - color - - - - - - - - - - - - - - - - setColor(rgb) - - - - - - - - - - - - - addAMGTuning() - - - - - - - - - - - - - CarMercedes - - - CarMercedes - - - - - - - - - - - - - - - - - - - - - - color - - - - - - - - - - - - - - - - - - - setColor(rgb) - - - - - - - - - - - - - - - - addAMGTuning() - - - - - - - - - - - - - CarMercedes - - - CarMercedes - - - - - - - - - - - - - - - - - - - - - - createVehicle(type) - - - - - - - - - - - - - GermanFactory - - - GermanFactory - - - - - - - - - - - - - - - - - - - - - - createVehicle(type) - - - - - - - - - - - - - GermanFactory - - - GermanFactory - - - - - - - - - - - - - - - - - - - - - - setColor(rgb) - - - - - - - - - - - - - VehicleInterface - - - VehicleInterface - - - - - - - - - - - - - - - - - - - - - - setColor(rgb) - - - - - - - - - - - - - VehicleInterface - - - VehicleInterface - - - - - - - - - - - - - - - - - + + + PHP + \DesignPatterns\Creational\FactoryMethod\StdoutLoggerFactory + + \DesignPatterns\Creational\FactoryMethod\LoggerFactory + \DesignPatterns\Creational\FactoryMethod\StdoutLoggerFactory + \DesignPatterns\Creational\FactoryMethod\FileLogger + \DesignPatterns\Creational\FactoryMethod\FileLoggerFactory + \DesignPatterns\Creational\FactoryMethod\StdoutLogger + \DesignPatterns\Creational\FactoryMethod\Logger + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fields + Constants + Constructors + Methods + + private + + diff --git a/Creational/StaticFactory/FormatNumber.php b/Creational/StaticFactory/FormatNumber.php index 69fd9e1..7579a92 100644 --- a/Creational/StaticFactory/FormatNumber.php +++ b/Creational/StaticFactory/FormatNumber.php @@ -2,6 +2,10 @@ namespace DesignPatterns\Creational\StaticFactory; -class FormatNumber implements FormatterInterface +class FormatNumber implements Formatter { + public function format(string $input): string + { + return number_format($input); + } } diff --git a/Creational/StaticFactory/FormatString.php b/Creational/StaticFactory/FormatString.php index 14c2055..41e7221 100644 --- a/Creational/StaticFactory/FormatString.php +++ b/Creational/StaticFactory/FormatString.php @@ -2,6 +2,10 @@ namespace DesignPatterns\Creational\StaticFactory; -class FormatString implements FormatterInterface +class FormatString implements Formatter { + public function format(string $input): string + { + return $input; + } } diff --git a/Creational/StaticFactory/Formatter.php b/Creational/StaticFactory/Formatter.php new file mode 100644 index 0000000..f6abe51 --- /dev/null +++ b/Creational/StaticFactory/Formatter.php @@ -0,0 +1,8 @@ + - - PHP - \DesignPatterns\Creational\StaticFactory\FormatNumber - - \DesignPatterns\Creational\StaticFactory\FormatNumber - \DesignPatterns\Creational\StaticFactory\StaticFactory - \DesignPatterns\Creational\StaticFactory\FormatString - \DesignPatterns\Creational\StaticFactory\FormatterInterface - - - - - - - - - - - - - - - - - - - - Fields - Constants - Constructors - Methods - - private - - + + + PHP + \DesignPatterns\Creational\StaticFactory\FormatNumber + + \DesignPatterns\Creational\StaticFactory\FormatString + \DesignPatterns\Creational\StaticFactory\StaticFactory + \DesignPatterns\Creational\StaticFactory\Formatter + \DesignPatterns\Creational\StaticFactory\FormatNumber + + + + + + + + + + + + + + + + + + + + Fields + Constants + Constructors + Methods + + private + + diff --git a/Creational/StaticFactory/uml/uml.png b/Creational/StaticFactory/uml/uml.png index f1b6688..7b833da 100644 Binary files a/Creational/StaticFactory/uml/uml.png and b/Creational/StaticFactory/uml/uml.png differ diff --git a/Creational/StaticFactory/uml/uml.svg b/Creational/StaticFactory/uml/uml.svg index e57a79b..2626370 100644 --- a/Creational/StaticFactory/uml/uml.svg +++ b/Creational/StaticFactory/uml/uml.svg @@ -1,207 +1,76 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FormatNumber - - - FormatNumber - - - - - - - - - - - - - - - - - - factory(type) - - - - - - - - - - - - - StaticFactory - - - StaticFactory - - - - - - - - - - - - - - - - FormatString - - - FormatString - - - - - - - - - - - - - - - - FormatterInterface - - - FormatterInterface - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Dockerfile b/Dockerfile index b5413a3..de87d01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ -FROM php:7.2.0-cli -WORKDIR /opt/php +FROM php:7.3.0-cli +WORKDIR /app RUN apt-get update \ - && apt-get install -y zlib1g-dev wget git-core \ - && docker-php-ext-install zip -ADD . /opt/php -CMD [ "./docker/test_runner.sh" ] + && apt-get install -y libzip-dev wget git-core python-pip \ + && docker-php-ext-install zip \ + && pip install Sphinx +ADD . /app +CMD [ "make", "cs", "test" ] diff --git a/LICENSE b/LICENSE index c29a41e..c9bcb97 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2011-2017 Dominik Liebler and contributors +Copyright (c) 2011-2018 Dominik Liebler and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/Makefile b/Makefile index c3841a2..ff8edc0 100644 --- a/Makefile +++ b/Makefile @@ -191,14 +191,11 @@ pseudoxml: @echo @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." -composer.phar: - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" - php composer-setup.php - php -r "unlink('composer-setup.php');" - install: vendor +composer.phar: + docker/install-composer.sh + vendor: composer.phar php composer.phar install diff --git a/More/Delegation/JuniorDeveloper.php b/More/Delegation/JuniorDeveloper.php deleted file mode 100644 index dbaa30a..0000000 --- a/More/Delegation/JuniorDeveloper.php +++ /dev/null @@ -1,11 +0,0 @@ -junior = $junior; - } - - public function writeCode(): string - { - return $this->junior->writeBadCode(); - } -} diff --git a/More/Delegation/Tests/DelegationTest.php b/More/Delegation/Tests/DelegationTest.php deleted file mode 100644 index 888555a..0000000 --- a/More/Delegation/Tests/DelegationTest.php +++ /dev/null @@ -1,17 +0,0 @@ -assertEquals($junior->writeBadCode(), $teamLead->writeCode()); - } -} diff --git a/More/Delegation/uml/Delegation.uml b/More/Delegation/uml/Delegation.uml deleted file mode 100644 index ffb8e68..0000000 --- a/More/Delegation/uml/Delegation.uml +++ /dev/null @@ -1,21 +0,0 @@ - - - PHP - \DesignPatterns\More\Delegation\JuniorDeveloper - - \DesignPatterns\More\Delegation\JuniorDeveloper - \DesignPatterns\More\Delegation\TeamLead - - - - - - - Fields - Constants - Constructors - Methods - - private - - diff --git a/More/Delegation/uml/uml.png b/More/Delegation/uml/uml.png deleted file mode 100644 index f673da2..0000000 Binary files a/More/Delegation/uml/uml.png and /dev/null differ diff --git a/More/Delegation/uml/uml.svg b/More/Delegation/uml/uml.svg deleted file mode 100644 index ff49d10..0000000 --- a/More/Delegation/uml/uml.svg +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - writeBadCode() - - - - - - - - - - - - - JuniorDeveloper - - - JuniorDeveloper - - - - - - - - - - - - - - - - - - - slave - - - - - - - - - - - - - __construct(junior) - - - - - - - - - - - - - writeCode() - - - - - - - - - - - - - TeamLead - - - TeamLead - - - diff --git a/More/README.md b/More/README.md index cba33e7..be4341b 100644 --- a/More/README.md +++ b/More/README.md @@ -1,6 +1,5 @@ # More -* [Delegation](Delegation) [:notebook:](http://en.wikipedia.org/wiki/Delegation_pattern) * [ServiceLocator](ServiceLocator) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern) * [Repository](Repository) * [EAV](EAV) [:notebook:](https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model) diff --git a/More/README.rst b/More/README.rst index a2de938..c224c02 100644 --- a/More/README.rst +++ b/More/README.rst @@ -4,7 +4,6 @@ More .. toctree:: :titlesonly: - Delegation/README ServiceLocator/README Repository/README EAV/README diff --git a/More/Repository/Domain/Post.php b/More/Repository/Domain/Post.php new file mode 100644 index 0000000..ca67c3b --- /dev/null +++ b/More/Repository/Domain/Post.php @@ -0,0 +1,80 @@ +id = $id; + $this->status = $status; + $this->text = $text; + $this->title = $title; + } + + public function getId(): PostId + { + return $this->id; + } + + public function getStatus(): PostStatus + { + return $this->status; + } + + public function getText(): string + { + return $this->text; + } + + public function getTitle(): string + { + return $this->title; + } +} diff --git a/More/Repository/Domain/PostId.php b/More/Repository/Domain/PostId.php new file mode 100644 index 0000000..ceadc78 --- /dev/null +++ b/More/Repository/Domain/PostId.php @@ -0,0 +1,42 @@ +id = $id; + } + + public function toInt(): int + { + return $this->id; + } + + private static function ensureIsValid(int $id) + { + if ($id <= 0) { + throw new \InvalidArgumentException('Invalid PostId given'); + } + } +} diff --git a/More/Repository/Domain/PostStatus.php b/More/Repository/Domain/PostStatus.php new file mode 100644 index 0000000..90ef81b --- /dev/null +++ b/More/Repository/Domain/PostStatus.php @@ -0,0 +1,80 @@ + self::STATE_DRAFT, + self::STATE_PUBLISHED_ID => self::STATE_PUBLISHED, + ]; + + /** + * @var int + */ + private $id; + + /** + * @var string + */ + private $name; + + public static function fromInt(int $statusId) + { + self::ensureIsValidId($statusId); + + return new self($statusId, self::$validStates[$statusId]); + } + + public static function fromString(string $status) + { + self::ensureIsValidName($status); + + return new self(array_search($status, self::$validStates), $status); + } + + private function __construct(int $id, string $name) + { + $this->id = $id; + $this->name = $name; + } + + public function toInt(): int + { + return $this->id; + } + + /** + * there is a reason that I avoid using __toString() as it operates outside of the stack in PHP + * and is therefor not able to operate well with exceptions + */ + public function toString(): string + { + return $this->name; + } + + private static function ensureIsValidId(int $status) + { + if (!in_array($status, array_keys(self::$validStates), true)) { + throw new \InvalidArgumentException('Invalid status id given'); + } + } + + + private static function ensureIsValidName(string $status) + { + if (!in_array($status, self::$validStates, true)) { + throw new \InvalidArgumentException('Invalid status name given'); + } + } +} diff --git a/More/Repository/MemoryStorage.php b/More/Repository/InMemoryPersistence.php similarity index 64% rename from More/Repository/MemoryStorage.php rename to More/Repository/InMemoryPersistence.php index f0fd69a..b378321 100644 --- a/More/Repository/MemoryStorage.php +++ b/More/Repository/InMemoryPersistence.php @@ -2,7 +2,7 @@ namespace DesignPatterns\More\Repository; -class MemoryStorage +class InMemoryPersistence implements Persistence { /** * @var array @@ -14,20 +14,22 @@ class MemoryStorage */ private $lastId = 0; - public function persist(array $data): int + public function generateId(): int { $this->lastId++; - $data['id'] = $this->lastId; - $this->data[$this->lastId] = $data; - return $this->lastId; } + public function persist(array $data) + { + $this->data[$this->lastId] = $data; + } + public function retrieve(int $id): array { if (!isset($this->data[$id])) { - throw new \OutOfRangeException(sprintf('No data found for ID %d', $id)); + throw new \OutOfBoundsException(sprintf('No data found for ID %d', $id)); } return $this->data[$id]; @@ -36,7 +38,7 @@ class MemoryStorage public function delete(int $id) { if (!isset($this->data[$id])) { - throw new \OutOfRangeException(sprintf('No data found for ID %d', $id)); + throw new \OutOfBoundsException(sprintf('No data found for ID %d', $id)); } unset($this->data[$id]); diff --git a/More/Repository/Persistence.php b/More/Repository/Persistence.php new file mode 100644 index 0000000..eed76b9 --- /dev/null +++ b/More/Repository/Persistence.php @@ -0,0 +1,14 @@ +id = $id; - $this->text = $text; - $this->title = $title; - } - - public function setId(int $id) - { - $this->id = $id; - } - - public function getId(): int - { - return $this->id; - } - - public function getText(): string - { - return $this->text; - } - - public function getTitle(): string - { - return $this->title; - } -} diff --git a/More/Repository/PostRepository.php b/More/Repository/PostRepository.php index 417bf52..d06da37 100644 --- a/More/Repository/PostRepository.php +++ b/More/Repository/PostRepository.php @@ -2,8 +2,11 @@ namespace DesignPatterns\More\Repository; +use DesignPatterns\More\Repository\Domain\Post; +use DesignPatterns\More\Repository\Domain\PostId; + /** - * This class is situated between Entity layer (class Post) and access object layer (MemoryStorage). + * This class is situated between Entity layer (class Post) and access object layer (Persistence). * * Repository encapsulates the set of objects persisted in a data store and the operations performed over them * providing a more object-oriented view of the persistence layer @@ -14,21 +17,26 @@ namespace DesignPatterns\More\Repository; class PostRepository { /** - * @var MemoryStorage + * @var Persistence */ private $persistence; - public function __construct(MemoryStorage $persistence) + public function __construct(Persistence $persistence) { $this->persistence = $persistence; } - public function findById(int $id): Post + public function generateId(): PostId { - $arrayData = $this->persistence->retrieve($id); + return PostId::fromInt($this->persistence->generateId()); + } - if (is_null($arrayData)) { - throw new \InvalidArgumentException(sprintf('Post with ID %d does not exist', $id)); + public function findById(PostId $id): Post + { + try { + $arrayData = $this->persistence->retrieve($id->toInt()); + } catch (\OutOfBoundsException $e) { + throw new \OutOfBoundsException(sprintf('Post with id %d does not exist', $id->toInt()), 0, $e); } return Post::fromState($arrayData); @@ -36,11 +44,11 @@ class PostRepository public function save(Post $post) { - $id = $this->persistence->persist([ + $this->persistence->persist([ + 'id' => $post->getId()->toInt(), + 'statusId' => $post->getStatus()->toInt(), 'text' => $post->getText(), 'title' => $post->getTitle(), ]); - - $post->setId($id); } } diff --git a/More/Repository/README.rst b/More/Repository/README.rst index fb27585..c7158e1 100644 --- a/More/Repository/README.rst +++ b/More/Repository/README.rst @@ -33,7 +33,19 @@ You can also find this code on `GitHub`_ Post.php -.. literalinclude:: Post.php +.. literalinclude:: Domain/Post.php + :language: php + :linenos: + +PostId.php + +.. literalinclude:: Domain/PostId.php + :language: php + :linenos: + +PostStatus.php + +.. literalinclude:: Domain/PostStatus.php :language: php :linenos: @@ -43,18 +55,24 @@ PostRepository.php :language: php :linenos: -MemoryStorage.php +Persistence.php -.. literalinclude:: MemoryStorage.php +.. literalinclude:: Persistence.php + :language: php + :linenos: + +InMemoryPersistence.php + +.. literalinclude:: InMemoryPersistence.php :language: php :linenos: Test ---- -Tests/RepositoryTest.php +Tests/PostRepositoryTest.php -.. literalinclude:: Tests/RepositoryTest.php +.. literalinclude:: Tests/PostRepositoryTest.php :language: php :linenos: diff --git a/More/Repository/Tests/PostRepositoryTest.php b/More/Repository/Tests/PostRepositoryTest.php new file mode 100644 index 0000000..fec6ef1 --- /dev/null +++ b/More/Repository/Tests/PostRepositoryTest.php @@ -0,0 +1,49 @@ +repository = new PostRepository(new InMemoryPersistence()); + } + + public function testCanGenerateId() + { + $this->assertEquals(1, $this->repository->generateId()->toInt()); + } + + /** + * @expectedException \OutOfBoundsException + * @expectedExceptionMessage Post with id 42 does not exist + */ + public function testThrowsExceptionWhenTryingToFindPostWhichDoesNotExist() + { + $this->repository->findById(PostId::fromInt(42)); + } + + public function testCanPersistPostDraft() + { + $postId = $this->repository->generateId(); + $post = Post::draft($postId, 'Repository Pattern', 'Design Patterns PHP'); + $this->repository->save($post); + + $this->repository->findById($postId); + + $this->assertEquals($postId, $this->repository->findById($postId)->getId()); + $this->assertEquals(PostStatus::STATE_DRAFT, $post->getStatus()->toString()); + } +} diff --git a/More/Repository/Tests/RepositoryTest.php b/More/Repository/Tests/RepositoryTest.php deleted file mode 100644 index 9bd2b80..0000000 --- a/More/Repository/Tests/RepositoryTest.php +++ /dev/null @@ -1,22 +0,0 @@ -save($post); - - $this->assertEquals(1, $post->getId()); - $this->assertEquals($post->getId(), $repository->findById(1)->getId()); - } -} diff --git a/More/Repository/uml/Repository.uml b/More/Repository/uml/Repository.uml index 84dd0e4..6b02568 100644 --- a/More/Repository/uml/Repository.uml +++ b/More/Repository/uml/Repository.uml @@ -3,20 +3,24 @@ PHP \DesignPatterns\More\Repository\PostRepository - \DesignPatterns\More\Repository\Storage - \DesignPatterns\More\Repository\MemoryStorage - \DesignPatterns\More\Repository\Post - \DesignPatterns\More\Repository\PostRepository + \DesignPatterns\More\Repository\InMemoryPersistence + \DesignPatterns\More\Repository\Domain\PostStatus + \DesignPatterns\More\Repository\Domain\PostId + \DesignPatterns\More\Repository\Domain\Post + \DesignPatterns\More\Repository\Persistence + \DesignPatterns\More\Repository\PostRepository - - - + + + - - + + + \DesignPatterns\More\Repository\PostRepository + Fields Constants diff --git a/More/Repository/uml/uml.png b/More/Repository/uml/uml.png index d22ede8..ce0c5e6 100644 Binary files a/More/Repository/uml/uml.png and b/More/Repository/uml/uml.png differ diff --git a/More/Repository/uml/uml.svg b/More/Repository/uml/uml.svg index 8b9987c..97e0a5c 100644 --- a/More/Repository/uml/uml.svg +++ b/More/Repository/uml/uml.svg @@ -1,687 +1,113 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - persist(data) - - - - - - - - - retrieve(id) - - - - - - - - - delete(id) - - - - - - - - - - - - - Storage - - - Storage - - - - - - - - - - - - - - - - - - - data - - - - - - - - - - lastId - - - - - - - - - - - - __construct() - - - - - - - - - - - - persist(data) - - - - - - - - - retrieve(id) - - - - - - - - - delete(id) - - - - - - - - - - - - - MemoryStorage - - - MemoryStorage - - - - - - - - - - - - - - - - - - - id - - - - - - - - - - title - - - - - - - - - - text - - - - - - - - - - author - - - - - - - - - - created - - - - - - - - - - - - setId(id) - - - - - - - - - getId() - - - - - - - - - setAuthor(author) - - - - - - - - - getAuthor() - - - - - - - - - setCreated(created) - - - - - - - - - getCreated() - - - - - - - - - setText(text) - - - - - - - - - getText() - - - - - - - - - setTitle(title) - - - - - - - - - getTitle() - - - - - - - - - - - - - Post - - - Post - - - - - - - - - - - - - - - - - - - persistence - - - - - - - - - - - - __construct(persistence) - - - - - - - - - - - - getById(id) - - - - - - - - - save(post) - - - - - - - - - delete(post) - - - - - - - - - - - - - PostRepository - - - PostRepository - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md old mode 100755 new mode 100644 index 872e9de..cf52c8c --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # DesignPatternsPHP [![Build Status](https://travis-ci.org/domnikl/DesignPatternsPHP.svg?branch=master)](https://travis-ci.org/domnikl/DesignPatternsPHP) +[![Documentation Status](https://readthedocs.org/projects/designpatternsphp/badge/?version=latest)](https://readthedocs.org/projects/designpatternsphp/?badge=latest) [![Donate](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square)](https://paypal.me/DominikLiebler) [Read the Docs of DesignPatternsPHP](http://designpatternsphp.readthedocs.org) @@ -14,34 +15,33 @@ I think the problem with patterns is that often people do know them but don't kn You should look at and run the tests to see what happens in the example. To do this, you should install dependencies with `Composer` first: -### [optional] Using Docker - -You can optionally run tests using [Docker for Mac](https://www.docker.com/docker-mac) or [Windows](https://www.docker.com/docker-windows) or native one for [Linux](https://www.docker.com/docker-debian). -Just run: -``` -docker-compose up -``` - -### Install dependencies - ```bash $ composer install ``` Read more about how to install and use `Composer` on your local machine [here](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx). -If you are using Docker, you just have to run: - -```bash -docker-compose run composer install -``` - -### Running test suite +To run the tests use `phpunit`: ```bash $ ./vendor/bin/phpunit ``` +## using Docker (optional) + +You can optionally run tests using [Docker for Mac](https://www.docker.com/docker-mac) or [Windows](https://www.docker.com/docker-windows) or native one for [Linux](https://www.docker.com/docker-debian). +Just run: + +```bash +$ docker-compose up +``` + +To only install the dependencies, use `docker-compose` like this: + +```bash +$ docker-compose run composer install +``` + ## Patterns The patterns can be structured in roughly three different categories. Please click on the [:notebook:](http://en.wikipedia.org/wiki/Software_design_pattern) for a full explanation of the pattern on Wikipedia. @@ -88,7 +88,7 @@ The patterns can be structured in roughly three different categories. Please cli * [Visitor](Behavioral/Visitor) [:notebook:](http://en.wikipedia.org/wiki/Visitor_pattern) ### [More](More) -* [Delegation](More/Delegation) [:notebook:](http://en.wikipedia.org/wiki/Delegation_pattern) + * [ServiceLocator](More/ServiceLocator) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern) (is considered an anti-pattern! :no_entry:) * [Repository](More/Repository) * [EAV](More/EAV) [:notebook:](https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model) diff --git a/README.rst b/README.rst index 7254f57..027c790 100644 --- a/README.rst +++ b/README.rst @@ -4,6 +4,10 @@ DesignPatternsPHP ================= +.. image:: https://travis-ci.org/domnikl/DesignPatternsPHP.svg?branch=master + :target: https://travis-ci.org/domnikl/DesignPatternsPHP + :alt: Build Status + .. image:: https://readthedocs.org/projects/designpatternsphp/badge/?version=latest :target: https://readthedocs.org/projects/designpatternsphp/?badge=latest :alt: Documentation Status @@ -44,3 +48,6 @@ To establish a consistent code quality, please check your code using `PHP CodeSniffer`_ against `PSR2 standard`_ using ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``. +.. _`design patterns`: http://en.wikipedia.org/wiki/Software_design_pattern +.. _`PHP CodeSniffer`: https://github.com/squizlabs/PHP_CodeSniffer +.. _`PSR2 standard`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md diff --git a/Structural/Adapter/Tests/AdapterTest.php b/Structural/Adapter/Tests/AdapterTest.php index d2db30e..47636f0 100644 --- a/Structural/Adapter/Tests/AdapterTest.php +++ b/Structural/Adapter/Tests/AdapterTest.php @@ -15,7 +15,7 @@ class AdapterTest extends TestCase $book->open(); $book->turnPage(); - $this->assertEquals(2, $book->getPage()); + $this->assertSame(2, $book->getPage()); } public function testCanTurnPageOnKindleLikeInANormalBook() @@ -26,6 +26,6 @@ class AdapterTest extends TestCase $book->open(); $book->turnPage(); - $this->assertEquals(2, $book->getPage()); + $this->assertSame(2, $book->getPage()); } } diff --git a/Structural/Bridge/Formatter.php b/Structural/Bridge/Formatter.php new file mode 100644 index 0000000..7d161bf --- /dev/null +++ b/Structural/Bridge/Formatter.php @@ -0,0 +1,8 @@ +implementation->format('Hello World'); } diff --git a/Structural/Bridge/HtmlFormatter.php b/Structural/Bridge/HtmlFormatter.php index 79e49b5..043bc15 100644 --- a/Structural/Bridge/HtmlFormatter.php +++ b/Structural/Bridge/HtmlFormatter.php @@ -2,9 +2,9 @@ namespace DesignPatterns\Structural\Bridge; -class HtmlFormatter implements FormatterInterface +class HtmlFormatter implements Formatter { - public function format(string $text) + public function format(string $text): string { return sprintf('

%s

', $text); } diff --git a/Structural/Bridge/PingService.php b/Structural/Bridge/PingService.php new file mode 100644 index 0000000..f72cf81 --- /dev/null +++ b/Structural/Bridge/PingService.php @@ -0,0 +1,11 @@ +implementation->format('pong'); + } +} diff --git a/Structural/Bridge/PlainTextFormatter.php b/Structural/Bridge/PlainTextFormatter.php index af46283..1c36cb5 100644 --- a/Structural/Bridge/PlainTextFormatter.php +++ b/Structural/Bridge/PlainTextFormatter.php @@ -2,9 +2,9 @@ namespace DesignPatterns\Structural\Bridge; -class PlainTextFormatter implements FormatterInterface +class PlainTextFormatter implements Formatter { - public function format(string $text) + public function format(string $text): string { return $text; } diff --git a/Structural/Bridge/README.rst b/Structural/Bridge/README.rst index e228166..4bb6ef5 100644 --- a/Structural/Bridge/README.rst +++ b/Structural/Bridge/README.rst @@ -25,9 +25,9 @@ Code You can also find this code on `GitHub`_ -FormatterInterface.php +Formatter.php -.. literalinclude:: FormatterInterface.php +.. literalinclude:: Formatter.php :language: php :linenos: @@ -55,6 +55,12 @@ HelloWorldService.php :language: php :linenos: +PingService.php + +.. literalinclude:: PingService.php + :language: php + :linenos: + Test ---- diff --git a/Structural/Bridge/Service.php b/Structural/Bridge/Service.php index 06c6252..479b50f 100644 --- a/Structural/Bridge/Service.php +++ b/Structural/Bridge/Service.php @@ -5,25 +5,25 @@ namespace DesignPatterns\Structural\Bridge; abstract class Service { /** - * @var FormatterInterface + * @var Formatter */ protected $implementation; /** - * @param FormatterInterface $printer + * @param Formatter $printer */ - public function __construct(FormatterInterface $printer) + public function __construct(Formatter $printer) { $this->implementation = $printer; } /** - * @param FormatterInterface $printer + * @param Formatter $printer */ - public function setImplementation(FormatterInterface $printer) + public function setImplementation(Formatter $printer) { $this->implementation = $printer; } - abstract public function get(); + abstract public function get(): string; } diff --git a/Structural/Bridge/Tests/BridgeTest.php b/Structural/Bridge/Tests/BridgeTest.php index 2f1fd8e..10e3e58 100644 --- a/Structural/Bridge/Tests/BridgeTest.php +++ b/Structural/Bridge/Tests/BridgeTest.php @@ -9,13 +9,17 @@ use PHPUnit\Framework\TestCase; class BridgeTest extends TestCase { - public function testCanPrintUsingThePlainTextPrinter() + public function testCanPrintUsingThePlainTextFormatter() { $service = new HelloWorldService(new PlainTextFormatter()); - $this->assertEquals('Hello World', $service->get()); - // now change the implementation and use the HtmlFormatter instead - $service->setImplementation(new HtmlFormatter()); - $this->assertEquals('

Hello World

', $service->get()); + $this->assertSame('Hello World', $service->get()); + } + + public function testCanPrintUsingTheHtmlFormatter() + { + $service = new HelloWorldService(new HtmlFormatter()); + + $this->assertSame('

Hello World

', $service->get()); } } diff --git a/Structural/Bridge/uml/Bridge.uml b/Structural/Bridge/uml/Bridge.uml index d63905a..7b0eb0f 100644 --- a/Structural/Bridge/uml/Bridge.uml +++ b/Structural/Bridge/uml/Bridge.uml @@ -1,38 +1,48 @@ PHP - \DesignPatterns\Structural\Bridge\HtmlFormatter + \DesignPatterns\Structural\Bridge\Service - \DesignPatterns\Structural\Bridge\PlainTextFormatter - \DesignPatterns\Structural\Bridge\FormatterInterface - \DesignPatterns\Structural\Bridge\Service - \DesignPatterns\Structural\Bridge\HelloWorldService - \DesignPatterns\Structural\Bridge\HtmlFormatter + \DesignPatterns\Structural\Bridge\PlainTextFormatter + \DesignPatterns\Structural\Bridge\Formatter + \DesignPatterns\Structural\Bridge\Service + \DesignPatterns\Structural\Bridge\PingService + \DesignPatterns\Structural\Bridge\HelloWorldService + \DesignPatterns\Structural\Bridge\HtmlFormatter - + + + - + - - - + + + - + - - - + + + + + + + + + - + Fields Constants + Constructors Methods private diff --git a/Structural/Bridge/uml/uml.png b/Structural/Bridge/uml/uml.png index 6de5b02..c5a88e0 100644 Binary files a/Structural/Bridge/uml/uml.png and b/Structural/Bridge/uml/uml.png differ diff --git a/Structural/Bridge/uml/uml.svg b/Structural/Bridge/uml/uml.svg index 9483eab..8a0b7e4 100644 --- a/Structural/Bridge/uml/uml.svg +++ b/Structural/Bridge/uml/uml.svg @@ -1,661 +1,116 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - - format(text) + + - - + + - - - + + - - + + - - PlainTextFormatter + + - - PlainTextFormatter + + - - + + - - - - - - - - - - - - - - - - - - format(text) - - - - - - - - - - - - - PlainTextFormatter - - - PlainTextFormatter - - - - - - - - - - - - - - - - - - - - - - format(text) - - - - - - - - - - - - - FormatterInterface - - - FormatterInterface - - - - - - - - - - - - - - - - - - - - - - format(text) - - - - - - - - - - - - - FormatterInterface - - - FormatterInterface - - - - - - - - - - - - - - - - - - - - - - - - - implementation - - - - - - - - - - - - - - - - setImplementation(printer) - - - - - - - - - - - - - get() - - - - - - - - - - - - - Service - - - Service - - - - - - - - - - - - - - - - - - - - - - implementation - - - - - - - - - - - - - - - - - - - setImplementation(printer) - - - - - - - - - - - - - - - - get() - - - - - - - - - - - - - Service - - - Service - - - - - - - - - - - - - - - - - - - - - - get() - - - - - - - - - - - - - HelloWorldService - - - HelloWorldService - - - - - - - - - - - - - - - - - - - - - - get() - - - - - - - - - - - - - HelloWorldService - - - HelloWorldService - - - - - - - - - - - - - - - - - - - - - - format(text) - - - - - - - - - - - - - HtmlFormatter - - - HtmlFormatter - - - - - - - - - - - - - - - - - - - - - - format(text) - - - - - - - - - - - - - HtmlFormatter - - - HtmlFormatter - - - - - - - - - - + + + + + + + + diff --git a/Structural/Composite/Tests/CompositeTest.php b/Structural/Composite/Tests/CompositeTest.php index da5bbb7..90b8e12 100644 --- a/Structural/Composite/Tests/CompositeTest.php +++ b/Structural/Composite/Tests/CompositeTest.php @@ -20,7 +20,7 @@ class CompositeTest extends TestCase // This is just an example, in a real world scenario it is important to remember that web browsers do not // currently support nested forms - $this->assertEquals( + $this->assertSame( '
Email:
Password:
', $form->render() ); diff --git a/Structural/Decorator/Booking.php b/Structural/Decorator/Booking.php new file mode 100644 index 0000000..1ce0146 --- /dev/null +++ b/Structural/Decorator/Booking.php @@ -0,0 +1,10 @@ +booking = $booking; + } +} diff --git a/Structural/Decorator/DoubleRoomBooking.php b/Structural/Decorator/DoubleRoomBooking.php new file mode 100644 index 0000000..9d745d7 --- /dev/null +++ b/Structural/Decorator/DoubleRoomBooking.php @@ -0,0 +1,16 @@ +booking->calculatePrice() + self::PRICE; + } + + public function getDescription(): string + { + return $this->booking->getDescription() . ' with extra bed'; + } +} diff --git a/Structural/Decorator/JsonRenderer.php b/Structural/Decorator/JsonRenderer.php deleted file mode 100644 index 9cc4066..0000000 --- a/Structural/Decorator/JsonRenderer.php +++ /dev/null @@ -1,11 +0,0 @@ -wrapped->renderData()); - } -} diff --git a/Structural/Decorator/README.rst b/Structural/Decorator/README.rst index 702fe12..aa16655 100644 --- a/Structural/Decorator/README.rst +++ b/Structural/Decorator/README.rst @@ -25,33 +25,33 @@ Code You can also find this code on `GitHub`_ -RenderableInterface.php +Booking.php -.. literalinclude:: RenderableInterface.php +.. literalinclude:: Booking.php :language: php :linenos: -Webservice.php +BookingDecorator.php -.. literalinclude:: Webservice.php +.. literalinclude:: BookingDecorator.php :language: php :linenos: -RendererDecorator.php +DoubleRoomBooking.php -.. literalinclude:: RendererDecorator.php +.. literalinclude:: DoubleRoomBooking.php :language: php :linenos: -XmlRenderer.php +ExtraBed.php -.. literalinclude:: XmlRenderer.php +.. literalinclude:: ExtraBed.php :language: php :linenos: -JsonRenderer.php +WiFi.php -.. literalinclude:: JsonRenderer.php +.. literalinclude:: WiFi.php :language: php :linenos: diff --git a/Structural/Decorator/RenderableInterface.php b/Structural/Decorator/RenderableInterface.php deleted file mode 100644 index 07e11d1..0000000 --- a/Structural/Decorator/RenderableInterface.php +++ /dev/null @@ -1,8 +0,0 @@ -wrapped = $renderer; - } -} diff --git a/Structural/Decorator/Tests/DecoratorTest.php b/Structural/Decorator/Tests/DecoratorTest.php index 100100d..6576f90 100644 --- a/Structural/Decorator/Tests/DecoratorTest.php +++ b/Structural/Decorator/Tests/DecoratorTest.php @@ -2,32 +2,37 @@ namespace DesignPatterns\Structural\Decorator\Tests; -use DesignPatterns\Structural\Decorator; +use DesignPatterns\Structural\Decorator\DoubleRoomBooking; +use DesignPatterns\Structural\Decorator\ExtraBed; +use DesignPatterns\Structural\Decorator\WiFi; use PHPUnit\Framework\TestCase; class DecoratorTest extends TestCase { - /** - * @var Decorator\Webservice - */ - private $service; - - protected function setUp() + public function testCanCalculatePriceForBasicDoubleRoomBooking() { - $this->service = new Decorator\Webservice('foobar'); + $booking = new DoubleRoomBooking(); + + $this->assertSame(40, $booking->calculatePrice()); + $this->assertSame('double room', $booking->getDescription()); } - public function testJsonDecorator() + public function testCanCalculatePriceForDoubleRoomBookingWithWiFi() { - $service = new Decorator\JsonRenderer($this->service); + $booking = new DoubleRoomBooking(); + $booking = new WiFi($booking); - $this->assertEquals('"foobar"', $service->renderData()); + $this->assertSame(42, $booking->calculatePrice()); + $this->assertSame('double room with wifi', $booking->getDescription()); } - public function testXmlDecorator() + public function testCanCalculatePriceForDoubleRoomBookingWithWiFiAndExtraBed() { - $service = new Decorator\XmlRenderer($this->service); + $booking = new DoubleRoomBooking(); + $booking = new WiFi($booking); + $booking = new ExtraBed($booking); - $this->assertXmlStringEqualsXmlString('foobar', $service->renderData()); + $this->assertSame(72, $booking->calculatePrice()); + $this->assertSame('double room with wifi with extra bed', $booking->getDescription()); } } diff --git a/Structural/Decorator/Webservice.php b/Structural/Decorator/Webservice.php deleted file mode 100644 index 6715a22..0000000 --- a/Structural/Decorator/Webservice.php +++ /dev/null @@ -1,21 +0,0 @@ -data = $data; - } - - public function renderData(): string - { - return $this->data; - } -} diff --git a/Structural/Decorator/WiFi.php b/Structural/Decorator/WiFi.php new file mode 100644 index 0000000..4226002 --- /dev/null +++ b/Structural/Decorator/WiFi.php @@ -0,0 +1,18 @@ +booking->calculatePrice() + self::PRICE; + } + + public function getDescription(): string + { + return $this->booking->getDescription() . ' with wifi'; + } +} diff --git a/Structural/Decorator/XmlRenderer.php b/Structural/Decorator/XmlRenderer.php deleted file mode 100644 index 012da47..0000000 --- a/Structural/Decorator/XmlRenderer.php +++ /dev/null @@ -1,15 +0,0 @@ -wrapped->renderData(); - $doc->appendChild($doc->createElement('content', $data)); - - return $doc->saveXML(); - } -} diff --git a/Structural/Decorator/uml/Decorator.uml b/Structural/Decorator/uml/Decorator.uml index 0a80f98..a834305 100644 --- a/Structural/Decorator/uml/Decorator.uml +++ b/Structural/Decorator/uml/Decorator.uml @@ -1,51 +1,49 @@ - - - PHP - \DesignPatterns\Structural\Decorator\RenderInXml - - \DesignPatterns\Structural\Decorator\RenderInJson - \DesignPatterns\Structural\Decorator\RenderInXml - \DesignPatterns\Structural\Decorator\Webservice - \DesignPatterns\Structural\Decorator\Decorator - \DesignPatterns\Structural\Decorator\RendererInterface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \DesignPatterns\Structural\Decorator\RenderInXml - - - Fields - Constants - Constructors - Methods - - private - - + + + PHP + \DesignPatterns\Structural\Decorator\Booking + + \DesignPatterns\Structural\Decorator\WiFi + \DesignPatterns\Structural\Decorator\DoubleRoomBooking + \DesignPatterns\Structural\Decorator\ExtraBed + \DesignPatterns\Structural\Decorator\Booking + \DesignPatterns\Structural\Decorator\BookingDecorator + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fields + Constants + Constructors + Methods + + private + + diff --git a/Structural/Decorator/uml/uml.png b/Structural/Decorator/uml/uml.png index dc4fae3..4ab80b2 100644 Binary files a/Structural/Decorator/uml/uml.png and b/Structural/Decorator/uml/uml.png differ diff --git a/Structural/Decorator/uml/uml.svg b/Structural/Decorator/uml/uml.svg index a488e8e..5e20bf9 100644 --- a/Structural/Decorator/uml/uml.svg +++ b/Structural/Decorator/uml/uml.svg @@ -1,380 +1,95 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - renderData() - - - - - - - - - - - - - RenderInJson - - - RenderInJson - - - - - - - - - - - - - - - - - - - renderData() - - - - - - - - - - - - - RenderInXml - - - RenderInXml - - - - - - - - - - - - - - - - - - - data - - - - - - - - - - - - - __construct(data) - - - - - - - - - - - - - renderData() - - - - - - - - - - - - - Webservice - - - Webservice - - - - - - - - - - - - - - - - - - - wrapped - - - - - - - - - - - - - __construct(wrappable) - - - - - - - - - - - - - Decorator - - - Decorator - - - - - - - - - - - - - - - - - - - renderData() - - - - - - - - - - - - - RendererInterface - - - RendererInterface - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Structural/DependencyInjection/Tests/DependencyInjectionTest.php b/Structural/DependencyInjection/Tests/DependencyInjectionTest.php index c2375f3..e0e5bd2 100644 --- a/Structural/DependencyInjection/Tests/DependencyInjectionTest.php +++ b/Structural/DependencyInjection/Tests/DependencyInjectionTest.php @@ -13,6 +13,6 @@ class DependencyInjectionTest extends TestCase $config = new DatabaseConfiguration('localhost', 3306, 'domnikl', '1234'); $connection = new DatabaseConnection($config); - $this->assertEquals('domnikl:1234@localhost:3306', $connection->getDsn()); + $this->assertSame('domnikl:1234@localhost:3306', $connection->getDsn()); } } diff --git a/Structural/Facade/README.rst b/Structural/Facade/README.rst index 46b729b..95e8a17 100644 --- a/Structural/Facade/README.rst +++ b/Structural/Facade/README.rst @@ -4,7 +4,7 @@ Purpose ------- -The primary goal of a Facade Pattern is not to avoid you to read the +The primary goal of a Facade Pattern is not to avoid you having to read the manual of a complex API. It's only a side-effect. The first goal is to reduce coupling and follow the Law of Demeter. diff --git a/Structural/Facade/Tests/FacadeTest.php b/Structural/Facade/Tests/FacadeTest.php index de75ae2..0017eea 100644 --- a/Structural/Facade/Tests/FacadeTest.php +++ b/Structural/Facade/Tests/FacadeTest.php @@ -31,6 +31,6 @@ class FacadeTest extends TestCase $facade->turnOn(); // but you can also access the underlying components - $this->assertEquals('Linux', $os->getName()); + $this->assertSame('Linux', $os->getName()); } } diff --git a/Structural/FluentInterface/Tests/FluentInterfaceTest.php b/Structural/FluentInterface/Tests/FluentInterfaceTest.php index ff1c058..8cea81b 100644 --- a/Structural/FluentInterface/Tests/FluentInterfaceTest.php +++ b/Structural/FluentInterface/Tests/FluentInterfaceTest.php @@ -14,6 +14,6 @@ class FluentInterfaceTest extends TestCase ->from('foobar', 'f') ->where('f.bar = ?'); - $this->assertEquals('SELECT foo, bar FROM foobar AS f WHERE f.bar = ?', (string) $query); + $this->assertSame('SELECT foo, bar FROM foobar AS f WHERE f.bar = ?', (string) $query); } } diff --git a/Structural/Flyweight/Tests/FlyweightTest.php b/Structural/Flyweight/Tests/FlyweightTest.php index 7380f46..492d15b 100644 --- a/Structural/Flyweight/Tests/FlyweightTest.php +++ b/Structural/Flyweight/Tests/FlyweightTest.php @@ -20,7 +20,7 @@ class FlyweightTest extends TestCase $flyweight = $factory->get($char); $rendered = $flyweight->render($font); - $this->assertEquals(sprintf('Character %s with font %s', $char, $font), $rendered); + $this->assertSame(sprintf('Character %s with font %s', $char, $font), $rendered); } } diff --git a/Structural/Proxy/BankAccount.php b/Structural/Proxy/BankAccount.php new file mode 100644 index 0000000..84fab34 --- /dev/null +++ b/Structural/Proxy/BankAccount.php @@ -0,0 +1,10 @@ +balance === null) { + $this->balance = parent::getBalance(); + } + + return $this->balance; + } +} diff --git a/Structural/Proxy/HeavyBankAccount.php b/Structural/Proxy/HeavyBankAccount.php new file mode 100644 index 0000000..7fd8c17 --- /dev/null +++ b/Structural/Proxy/HeavyBankAccount.php @@ -0,0 +1,25 @@ +transactions[] = $amount; + } + + public function getBalance(): int + { + // this is the heavy part, imagine all the transactions even from + // years and decades ago must be fetched from a database or web service + // and the balance must be calculated from it + + return array_sum($this->transactions); + } +} diff --git a/Structural/Proxy/README.rst b/Structural/Proxy/README.rst index 554a0fc..4b3e410 100644 --- a/Structural/Proxy/README.rst +++ b/Structural/Proxy/README.rst @@ -25,15 +25,21 @@ Code You can also find this code on `GitHub`_ -Record.php +BankAccount.php -.. literalinclude:: Record.php +.. literalinclude:: BankAccount.php :language: php :linenos: -RecordProxy.php +HeavyBankAccount.php -.. literalinclude:: RecordProxy.php +.. literalinclude:: HeavyBankAccount.php + :language: php + :linenos: + +BankAccountProxy.php + +.. literalinclude:: BankAccountProxy.php :language: php :linenos: diff --git a/Structural/Proxy/Record.php b/Structural/Proxy/Record.php deleted file mode 100644 index ea018b2..0000000 --- a/Structural/Proxy/Record.php +++ /dev/null @@ -1,40 +0,0 @@ -data = $data; - } - - /** - * @param string $name - * @param string $value - */ - public function __set(string $name, string $value) - { - $this->data[$name] = $value; - } - - public function __get(string $name): string - { - if (!isset($this->data[$name])) { - throw new \OutOfRangeException('Invalid name given'); - } - - return $this->data[$name]; - } -} diff --git a/Structural/Proxy/RecordProxy.php b/Structural/Proxy/RecordProxy.php deleted file mode 100644 index 4d29ee8..0000000 --- a/Structural/Proxy/RecordProxy.php +++ /dev/null @@ -1,49 +0,0 @@ - 0) { - $this->isInitialized = true; - $this->isDirty = true; - } - } - - /** - * @param string $name - * @param string $value - */ - public function __set(string $name, string $value) - { - $this->isDirty = true; - - parent::__set($name, $value); - } - - public function isDirty(): bool - { - return $this->isDirty; - } -} diff --git a/Structural/Proxy/Tests/ProxyTest.php b/Structural/Proxy/Tests/ProxyTest.php index f2cf2f4..ec62b48 100644 --- a/Structural/Proxy/Tests/ProxyTest.php +++ b/Structural/Proxy/Tests/ProxyTest.php @@ -2,24 +2,23 @@ namespace DesignPatterns\Structural\Proxy\Tests; -use DesignPatterns\Structural\Proxy\RecordProxy; +use DesignPatterns\Structural\Proxy\BankAccountProxy; use PHPUnit\Framework\TestCase; class ProxyTest extends TestCase { - public function testWillSetDirtyFlagInProxy() + public function testProxyWillOnlyExecuteExpensiveGetBalanceOnce() { - $recordProxy = new RecordProxy([]); - $recordProxy->username = 'baz'; + $bankAccount = new BankAccountProxy(); + $bankAccount->deposit(30); - $this->assertTrue($recordProxy->isDirty()); - } + // this time balance is being calculated + $this->assertSame(30, $bankAccount->getBalance()); - public function testProxyIsInstanceOfRecord() - { - $recordProxy = new RecordProxy([]); - $recordProxy->username = 'baz'; + // inheritance allows for BankAccountProxy to behave to an outsider exactly like ServerBankAccount + $bankAccount->deposit(50); - $this->assertInstanceOf(RecordProxy::class, $recordProxy); + // this time the previously calculated balance is returned again without re-calculating it + $this->assertSame(30, $bankAccount->getBalance()); } } diff --git a/Structural/Proxy/uml/Proxy.uml b/Structural/Proxy/uml/Proxy.uml index 9b407e1..a66d877 100644 --- a/Structural/Proxy/uml/Proxy.uml +++ b/Structural/Proxy/uml/Proxy.uml @@ -1,28 +1,43 @@ - - - PHP - \DesignPatterns\Structural\Proxy\Record - - \DesignPatterns\Structural\Proxy\Record - \DesignPatterns\Structural\Proxy\RecordProxy - - - - - - - - - - - \DesignPatterns\Structural\Proxy\Record - - - Fields - Constants - Constructors - Methods - - private - - + + + PHP + \DesignPatterns\Structural\Proxy\BankAccount + + \DesignPatterns\Structural\Proxy\BankAccountProxy + \DesignPatterns\Structural\Proxy\HeavyBankAccount + \DesignPatterns\Structural\Proxy\BankAccount + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fields + Constants + Constructors + Methods + + private + + diff --git a/Structural/Proxy/uml/uml.png b/Structural/Proxy/uml/uml.png index 82f548a..ef75cd6 100644 Binary files a/Structural/Proxy/uml/uml.png and b/Structural/Proxy/uml/uml.png differ diff --git a/Structural/Proxy/uml/uml.svg b/Structural/Proxy/uml/uml.svg index 1ec1d46..a2c889f 100644 --- a/Structural/Proxy/uml/uml.svg +++ b/Structural/Proxy/uml/uml.svg @@ -1,281 +1,75 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - data - - - - - - - - - - - - - __construct(data) - - - - - - - - - - - - - __set(name, value) - - - - - - - - - - __get(name) - - - - - - - - - - - - - Record - - - Record - - - - - - - - - - - - - - - - - - - isDirty - - - - - - - - - - isInitialized - - - - - - - - - - - - - __construct(data) - - - - - - - - - - - - - __set(name, value) - - - - - - - - - - - - - RecordProxy - - - RecordProxy - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/composer.json b/composer.json index bdf73ac..c9c8e6a 100644 --- a/composer.json +++ b/composer.json @@ -9,12 +9,12 @@ ], "minimum-stability": "stable", "require": { - "php": ">=7.0", + "php": ">=7.1", "psr/http-message": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^6.0", - "squizlabs/php_codesniffer": "1.5.*" + "phpunit/phpunit": "^7", + "squizlabs/php_codesniffer": "^3" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 863381e..b0a014e 100644 --- a/composer.lock +++ b/composer.lock @@ -1,10 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "967b2d81af5c0ae65ab57db374efe747", + "content-hash": "af39391ec89831e5552cd0018816e53e", "packages": [ { "name": "psr/http-message", @@ -60,32 +60,32 @@ "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.0.5", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", + "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", "shasum": "" }, "require": { - "php": ">=5.3,<8.0-DEV" + "php": "^7.1" }, "require-dev": { "athletic/athletic": "~0.1.8", "ext-pdo": "*", "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.0" + "phpunit/phpunit": "^6.2.3", + "squizlabs/php_codesniffer": "^3.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { @@ -110,41 +110,44 @@ "constructor", "instantiate" ], - "time": "2015-06-14T21:17:01+00:00" + "time": "2017-07-22T11:58:36+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.6.0", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe" + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/5a5a9fc8025a08d8919be87d6884d5a92520cefe", - "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", "shasum": "" }, "require": { - "php": ">=5.4.0" + "php": "^5.6 || ^7.0" }, "require-dev": { - "doctrine/collections": "1.*", - "phpunit/phpunit": "~4.1" + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^4.1" }, "type": "library", "autoload": { "psr-4": { "DeepCopy\\": "src/DeepCopy/" - } + }, + "files": [ + "src/DeepCopy/deep_copy.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "description": "Create deep copies (clones) of your objects", - "homepage": "https://github.com/myclabs/DeepCopy", "keywords": [ "clone", "copy", @@ -152,20 +155,122 @@ "object", "object graph" ], - "time": "2017-01-26T22:05:40+00:00" + "time": "2017-10-19T19:58:43+00:00" }, { - "name": "phpdocumentor/reflection-common", - "version": "1.0", + "name": "phar-io/manifest", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + "url": "https://github.com/phar-io/manifest.git", + "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", + "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "phar-io/version": "^1.0.1", + "php": "^5.6 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "time": "2017-03-05T18:14:27+00:00" + }, + { + "name": "phar-io/version", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", + "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "time": "2017-03-05T17:38:23+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", "shasum": "" }, "require": { @@ -206,33 +311,39 @@ "reflection", "static analysis" ], - "time": "2015-12-27T11:43:31+00:00" + "time": "2017-09-11T18:02:19+00:00" }, { "name": "phpdocumentor/reflection-docblock", - "version": "3.1.1", + "version": "4.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e" + "reference": "94fd0001232e47129dd3504189fa1c7225010d08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", + "reference": "94fd0001232e47129dd3504189fa1c7225010d08", "shasum": "" }, "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0@dev", - "phpdocumentor/type-resolver": "^0.2.0", + "php": "^7.0", + "phpdocumentor/reflection-common": "^1.0.0", + "phpdocumentor/type-resolver": "^0.4.0", "webmozart/assert": "^1.0" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^4.4" + "doctrine/instantiator": "~1.0.5", + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^6.4" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.x-dev" + } + }, "autoload": { "psr-4": { "phpDocumentor\\Reflection\\": [ @@ -251,24 +362,24 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-09-30T07:12:33+00:00" + "time": "2017-11-30T07:14:17+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "0.2.1", + "version": "0.4.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", "shasum": "" }, "require": { - "php": ">=5.5", + "php": "^5.5 || ^7.0", "phpdocumentor/reflection-common": "^1.0" }, "require-dev": { @@ -298,37 +409,37 @@ "email": "me@mikevanriel.com" } ], - "time": "2016-11-25T06:54:22+00:00" + "time": "2017-07-14T14:27:02+00:00" }, { "name": "phpspec/prophecy", - "version": "v1.7.0", + "version": "1.7.5", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "93d39f1f7f9326d746203c7c056f300f7f126073" + "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", - "reference": "93d39f1f7f9326d746203c7c056f300f7f126073", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884a336cc4f461b3b2401", + "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", "sebastian/comparator": "^1.1|^2.0", "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8 || ^5.6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.6.x-dev" + "dev-master": "1.7.x-dev" } }, "autoload": { @@ -361,44 +472,44 @@ "spy", "stub" ], - "time": "2017-03-02T20:05:34+00:00" + "time": "2018-02-19T10:16:54+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "5.0.3", + "version": "6.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1" + "reference": "774a82c0c5da4c1c7701790c262035d235ab7856" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1", - "reference": "4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/774a82c0c5da4c1c7701790c262035d235ab7856", + "reference": "774a82c0c5da4c1c7701790c262035d235ab7856", "shasum": "" }, "require": { "ext-dom": "*", "ext-xmlwriter": "*", - "php": "^7.0", - "phpunit/php-file-iterator": "^1.3", - "phpunit/php-text-template": "^1.2", - "phpunit/php-token-stream": "^1.4.11 || ^2.0", - "sebastian/code-unit-reverse-lookup": "^1.0", - "sebastian/environment": "^2.0", - "sebastian/version": "^2.0" + "php": "^7.1", + "phpunit/php-file-iterator": "^1.4.2", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-token-stream": "^3.0", + "sebastian/code-unit-reverse-lookup": "^1.0.1", + "sebastian/environment": "^3.1", + "sebastian/version": "^2.0.1", + "theseer/tokenizer": "^1.1" }, "require-dev": { - "ext-xdebug": "^2.5", - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^7.0" }, "suggest": { - "ext-xdebug": "^2.5.1" + "ext-xdebug": "^2.6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0.x-dev" + "dev-master": "6.0-dev" } }, "autoload": { @@ -413,7 +524,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -424,20 +535,20 @@ "testing", "xunit" ], - "time": "2017-03-06T14:22:16+00:00" + "time": "2018-04-06T15:39:20+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.2", + "version": "1.4.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", "shasum": "" }, "require": { @@ -471,7 +582,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03T07:40:28+00:00" + "time": "2017-11-27T13:52:08+00:00" }, { "name": "phpunit/php-text-template", @@ -516,28 +627,28 @@ }, { "name": "phpunit/php-timer", - "version": "1.0.9", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" + "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/8b8454ea6958c3dee38453d3bd571e023108c91f", + "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -552,7 +663,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -561,33 +672,33 @@ "keywords": [ "timer" ], - "time": "2017-02-26T11:10:40+00:00" + "time": "2018-02-01T13:07:23+00:00" }, { "name": "phpunit/php-token-stream", - "version": "1.4.11", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" + "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/21ad88bbba7c3d93530d93994e0a33cd45f02ace", + "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=5.3.3" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -610,20 +721,20 @@ "keywords": [ "tokenizer" ], - "time": "2017-02-27T10:12:30+00:00" + "time": "2018-02-01T13:16:43+00:00" }, { "name": "phpunit/phpunit", - "version": "6.0.8", + "version": "7.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "47ee3fa1bca5c50f1d25105201eb20df777bd7b6" + "reference": "6a17c170fb92845896e1b3b00fcb462cd4b3c017" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/47ee3fa1bca5c50f1d25105201eb20df777bd7b6", - "reference": "47ee3fa1bca5c50f1d25105201eb20df777bd7b6", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6a17c170fb92845896e1b3b00fcb462cd4b3c017", + "reference": "6a17c170fb92845896e1b3b00fcb462cd4b3c017", "shasum": "" }, "require": { @@ -632,33 +743,31 @@ "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "myclabs/deep-copy": "^1.3", - "php": "^7.0", - "phpspec/prophecy": "^1.6.2", - "phpunit/php-code-coverage": "^5.0", - "phpunit/php-file-iterator": "^1.4", - "phpunit/php-text-template": "^1.2", - "phpunit/php-timer": "^1.0.6", - "phpunit/phpunit-mock-objects": "^4.0", - "sebastian/comparator": "^1.2.4 || ^2.0", - "sebastian/diff": "^1.2", - "sebastian/environment": "^2.0", - "sebastian/exporter": "^2.0 || ^3.0", - "sebastian/global-state": "^1.1 || ^2.0", - "sebastian/object-enumerator": "^2.0 || ^3.0", + "myclabs/deep-copy": "^1.6.1", + "phar-io/manifest": "^1.0.1", + "phar-io/version": "^1.0", + "php": "^7.1", + "phpspec/prophecy": "^1.7", + "phpunit/php-code-coverage": "^6.0.1", + "phpunit/php-file-iterator": "^1.4.3", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-timer": "^2.0", + "phpunit/phpunit-mock-objects": "^6.1", + "sebastian/comparator": "^2.1", + "sebastian/diff": "^3.0", + "sebastian/environment": "^3.1", + "sebastian/exporter": "^3.1", + "sebastian/global-state": "^2.0", + "sebastian/object-enumerator": "^3.0.3", "sebastian/resource-operations": "^1.0", - "sebastian/version": "^2.0" - }, - "conflict": { - "phpdocumentor/reflection-docblock": "3.0.2", - "phpunit/dbunit": "<3.0" + "sebastian/version": "^2.0.1" }, "require-dev": { "ext-pdo": "*" }, "suggest": { "ext-xdebug": "*", - "phpunit/php-invoker": "^1.1" + "phpunit/php-invoker": "^2.0" }, "bin": [ "phpunit" @@ -666,7 +775,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.0.x-dev" + "dev-master": "7.1-dev" } }, "autoload": { @@ -692,33 +801,30 @@ "testing", "xunit" ], - "time": "2017-03-02T15:24:03+00:00" + "time": "2018-04-10T11:40:22+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "4.0.1", + "version": "6.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "eabce450df194817a7d7e27e19013569a903a2bf" + "reference": "3f5ca97eee66a07951d018f6726017629c85c86d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/eabce450df194817a7d7e27e19013569a903a2bf", - "reference": "eabce450df194817a7d7e27e19013569a903a2bf", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3f5ca97eee66a07951d018f6726017629c85c86d", + "reference": "3f5ca97eee66a07951d018f6726017629c85c86d", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^7.0", - "phpunit/php-text-template": "^1.2", - "sebastian/exporter": "^3.0" - }, - "conflict": { - "phpunit/phpunit": "<6.0" + "doctrine/instantiator": "^1.0.5", + "php": "^7.1", + "phpunit/php-text-template": "^1.2.1", + "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^7.0" }, "suggest": { "ext-soap": "*" @@ -726,7 +832,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0.x-dev" + "dev-master": "6.1-dev" } }, "autoload": { @@ -741,7 +847,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -751,7 +857,7 @@ "mock", "xunit" ], - "time": "2017-03-03T06:30:20+00:00" + "time": "2018-04-06T08:14:40+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -800,30 +906,30 @@ }, { "name": "sebastian/comparator", - "version": "2.0.0", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "20f84f468cb67efee293246e6a09619b891f55f0" + "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/20f84f468cb67efee293246e6a09619b891f55f0", - "reference": "20f84f468cb67efee293246e6a09619b891f55f0", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9", + "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9", "shasum": "" }, "require": { "php": "^7.0", - "sebastian/diff": "^1.2", - "sebastian/exporter": "^3.0" + "sebastian/diff": "^2.0 || ^3.0", + "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^6.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.1.x-dev" } }, "autoload": { @@ -854,38 +960,39 @@ } ], "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", + "homepage": "https://github.com/sebastianbergmann/comparator", "keywords": [ "comparator", "compare", "equality" ], - "time": "2017-03-03T06:26:08+00:00" + "time": "2018-02-01T13:46:46+00:00" }, { "name": "sebastian/diff", - "version": "1.4.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + "reference": "e09160918c66281713f1c324c1f4c4c3037ba1e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/e09160918c66281713f1c324c1f4c4c3037ba1e8", + "reference": "e09160918c66281713f1c324c1f4c4c3037ba1e8", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "~4.8" + "phpunit/phpunit": "^7.0", + "symfony/process": "^2 || ^3.3 || ^4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -910,34 +1017,37 @@ "description": "Diff implementation", "homepage": "https://github.com/sebastianbergmann/diff", "keywords": [ - "diff" + "diff", + "udiff", + "unidiff", + "unified diff" ], - "time": "2015-12-08T07:14:41+00:00" + "time": "2018-02-01T13:45:15+00:00" }, { "name": "sebastian/environment", - "version": "2.0.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" + "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5", + "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "^5.0" + "phpunit/phpunit": "^6.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.1.x-dev" } }, "autoload": { @@ -962,20 +1072,20 @@ "environment", "hhvm" ], - "time": "2016-11-26T07:53:53+00:00" + "time": "2017-07-01T08:51:00+00:00" }, { "name": "sebastian/exporter", - "version": "3.0.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "b82d077cb3459e393abcf4867ae8f7230dcb51f6" + "reference": "234199f4528de6d12aaa58b612e98f7d36adb937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/b82d077cb3459e393abcf4867ae8f7230dcb51f6", - "reference": "b82d077cb3459e393abcf4867ae8f7230dcb51f6", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937", + "reference": "234199f4528de6d12aaa58b612e98f7d36adb937", "shasum": "" }, "require": { @@ -989,7 +1099,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "3.1.x-dev" } }, "autoload": { @@ -1029,27 +1139,27 @@ "export", "exporter" ], - "time": "2017-03-03T06:25:06+00:00" + "time": "2017-04-03T13:19:02+00:00" }, { "name": "sebastian/global-state", - "version": "1.1.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "phpunit/phpunit": "^6.0" }, "suggest": { "ext-uopz": "*" @@ -1057,7 +1167,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -1080,24 +1190,25 @@ "keywords": [ "global state" ], - "time": "2015-10-12T03:26:01+00:00" + "time": "2017-04-27T15:39:26+00:00" }, { "name": "sebastian/object-enumerator", - "version": "3.0.0", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "de6e32f7192dfea2e4bedc892434f4830b5c5794" + "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/de6e32f7192dfea2e4bedc892434f4830b5c5794", - "reference": "de6e32f7192dfea2e4bedc892434f4830b5c5794", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5", + "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5", "shasum": "" }, "require": { "php": "^7.0", + "sebastian/object-reflector": "^1.1.1", "sebastian/recursion-context": "^3.0" }, "require-dev": { @@ -1126,7 +1237,52 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-03-03T06:21:01+00:00" + "time": "2017-08-03T12:35:26+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "773f97c67f28de00d397be301821b06708fca0be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be", + "reference": "773f97c67f28de00d397be301821b06708fca0be", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "time": "2017-03-29T09:07:27+00:00" }, { "name": "sebastian/recursion-context", @@ -1268,61 +1424,37 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "1.5.6", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "6f3e42d311b882b25b4d409d23a289f4d3b803d5" + "reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/6f3e42d311b882b25b4d409d23a289f4d3b803d5", - "reference": "6f3e42d311b882b25b4d409d23a289f4d3b803d5", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/6ad28354c04b364c3c71a34e4a18b629cc3b231e", + "reference": "6ad28354c04b364c3c71a34e4a18b629cc3b231e", "shasum": "" }, "require": { + "ext-simplexml": "*", "ext-tokenizer": "*", - "php": ">=5.1.2" + "ext-xmlwriter": "*", + "php": ">=5.4.0" }, - "suggest": { - "phpunit/php-timer": "dev-master" + "require-dev": { + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "bin": [ - "scripts/phpcs" + "bin/phpcs", + "bin/phpcbf" ], "type": "library", "extra": { "branch-alias": { - "dev-phpcs-fixer": "2.0.x-dev" + "dev-master": "3.x-dev" } }, - "autoload": { - "classmap": [ - "CodeSniffer.php", - "CodeSniffer/CLI.php", - "CodeSniffer/Exception.php", - "CodeSniffer/File.php", - "CodeSniffer/Report.php", - "CodeSniffer/Reporting.php", - "CodeSniffer/Sniff.php", - "CodeSniffer/Tokens.php", - "CodeSniffer/Reports/", - "CodeSniffer/CommentParser/", - "CodeSniffer/Tokenizers/", - "CodeSniffer/DocGenerators/", - "CodeSniffer/Standards/AbstractPatternSniff.php", - "CodeSniffer/Standards/AbstractScopeSniff.php", - "CodeSniffer/Standards/AbstractVariableSniff.php", - "CodeSniffer/Standards/IncorrectPatternException.php", - "CodeSniffer/Standards/Generic/Sniffs/", - "CodeSniffer/Standards/MySource/Sniffs/", - "CodeSniffer/Standards/PEAR/Sniffs/", - "CodeSniffer/Standards/PSR1/Sniffs/", - "CodeSniffer/Standards/PSR2/Sniffs/", - "CodeSniffer/Standards/Squiz/Sniffs/", - "CodeSniffer/Standards/Zend/Sniffs/" - ] - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" @@ -1333,26 +1465,66 @@ "role": "lead" } ], - "description": "PHP_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", "homepage": "http://www.squizlabs.com/php-codesniffer", "keywords": [ "phpcs", "standards" ], - "time": "2014-12-04T22:32:15+00:00" + "time": "2018-09-23T23:08:17+00:00" }, { - "name": "webmozart/assert", - "version": "1.2.0", + "name": "theseer/tokenizer", + "version": "1.1.0", "source": { "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + "url": "https://github.com/theseer/tokenizer.git", + "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "time": "2017-04-07T12:08:54+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "0df1908962e7a3071564e857d86874dad1ef204a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", + "reference": "0df1908962e7a3071564e857d86874dad1ef204a", "shasum": "" }, "require": { @@ -1389,7 +1561,7 @@ "check", "validate" ], - "time": "2016-11-23T20:04:58+00:00" + "time": "2018-01-29T19:49:41+00:00" } ], "aliases": [], @@ -1398,7 +1570,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=7.0" + "php": ">=7.1" }, "platform-dev": [] } diff --git a/conf.py b/conf.py index 10ce0b0..15f4994 100644 --- a/conf.py +++ b/conf.py @@ -47,7 +47,7 @@ master_doc = 'README' # General information about the project. project = u'DesignPatternsPHP' -copyright = u'2015, Dominik Liebler and contributors' +copyright = u'2011-2018, Dominik Liebler and contributors' author = u'Dominik Liebler and contributors' # The version info for the project you're documenting, acts as replacement for @@ -137,7 +137,7 @@ html_theme = 'sphinx_rtd_theme' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +#html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied diff --git a/docker-compose.yml b/docker-compose.yml index 1242ae2..af6b1cc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,12 +5,4 @@ services: context: . dockerfile: Dockerfile volumes: - - .:/opt/php - command: ["/opt/php/docker/test_runner.sh"] - composer: - image: composer:latest - working_dir: /app - volumes: - - .:/app - command: - - install + - .:/app diff --git a/docker/install-composer.sh b/docker/install-composer.sh new file mode 100644 index 0000000..d39d20a --- /dev/null +++ b/docker/install-composer.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)" +php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" +ACTUAL_SIGNATURE="$(php -r "echo hash_file('SHA384', 'composer-setup.php');")" + +if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ] +then + >&2 echo 'ERROR: Invalid installer signature' + rm composer-setup.php + exit 1 +fi + +php composer-setup.php --quiet +RESULT=$? +rm composer-setup.php +exit $RESULT diff --git a/docker/test_runner.sh b/docker/test_runner.sh deleted file mode 100755 index 6ce56da..0000000 --- a/docker/test_runner.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -echo "Installing composer..." -EXPECTED_SIGNATURE=$(wget -q -O - https://composer.github.io/installer.sig) -php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" -ACTUAL_SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');") - -if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ] -then - >&2 echo 'ERROR: Invalid installer signature' - rm composer-setup.php - exit 1 -fi - -php composer-setup.php --quiet -rm composer-setup.php - -echo "Downloading dependencies using composer..." -php composer.phar install --prefer-dist --no-interaction - -echo "Running tests..." -if ./vendor/bin/phpunit; then - echo "Tests passed successfully!" - exit 0 -else - echo "Tests failed :(" - exit 1 -fi diff --git a/locale/ca/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/ca/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index 19f8d8d..74da4e5 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -65,26 +65,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:36 -msgid "Request.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:42 -msgid "Handler.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:48 -msgid "Responsible/SlowStorage.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:54 -msgid "Responsible/FastStorage.php" -msgstr "" - #: ../../Behavioral/ChainOfResponsibilities/README.rst:61 msgid "Test" msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:63 -msgid "Tests/ChainTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/Command/README.po b/locale/ca/LC_MESSAGES/Behavioral/Command/README.po index 158d346..e289808 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/Command/README.po @@ -74,26 +74,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Command/README.rst:43 -msgid "CommandInterface.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:49 -msgid "HelloCommand.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:55 -msgid "Receiver.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:61 -msgid "Invoker.php" -msgstr "" - #: ../../Behavioral/Command/README.rst:68 msgid "Test" msgstr "" - -#: ../../Behavioral/Command/README.rst:70 -msgid "Tests/CommandTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/ca/LC_MESSAGES/Behavioral/Iterator/README.po index 25ccf3a..043f4f3 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/Iterator/README.po @@ -56,26 +56,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Iterator/README.rst:36 -msgid "Book.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:42 -msgid "BookList.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:48 -msgid "BookListIterator.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:54 -msgid "BookListReverseIterator.php" -msgstr "" - #: ../../Behavioral/Iterator/README.rst:61 msgid "Test" msgstr "" - -#: ../../Behavioral/Iterator/README.rst:63 -msgid "Tests/IteratorTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/ca/LC_MESSAGES/Behavioral/Mediator/README.po index e9a44dd..58fdb1e 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/Mediator/README.po @@ -45,34 +45,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Mediator/README.rst:27 -msgid "MediatorInterface.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:33 -msgid "Mediator.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:39 -msgid "Colleague.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:45 -msgid "Subsystem/Client.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:51 -msgid "Subsystem/Database.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:57 -msgid "Subsystem/Server.php" -msgstr "" - #: ../../Behavioral/Mediator/README.rst:64 msgid "Test" msgstr "" - -#: ../../Behavioral/Mediator/README.rst:66 -msgid "Tests/MediatorTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/Memento/README.po b/locale/ca/LC_MESSAGES/Behavioral/Memento/README.po index 2d4b2e1..361a5f9 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/Memento/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/Memento/README.po @@ -102,23 +102,7 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Memento/README.rst:57 -msgid "Memento.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:63 -msgid "Originator.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:69 -msgid "Caretaker.php" -msgstr "" - #: ../../Behavioral/Memento/README.rst:76 msgid "Test" msgstr "" -#: ../../Behavioral/Memento/README.rst:78 -msgid "Tests/MementoTest.php" -msgstr "" - diff --git a/locale/ca/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/ca/LC_MESSAGES/Behavioral/NullObject/README.po index a397fc5..4bdb431 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/NullObject/README.po @@ -78,26 +78,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/NullObject/README.rst:41 -msgid "Service.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:47 -msgid "LoggerInterface.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:53 -msgid "PrintLogger.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:59 -msgid "NullLogger.php" -msgstr "" - #: ../../Behavioral/NullObject/README.rst:66 msgid "Test" msgstr "" - -#: ../../Behavioral/NullObject/README.rst:68 -msgid "Tests/LoggerTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/Observer/README.po b/locale/ca/LC_MESSAGES/Behavioral/Observer/README.po index 8a43616..a1b786a 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/Observer/README.po @@ -58,18 +58,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Observer/README.rst:36 -msgid "User.php" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:42 -msgid "UserObserver.php" -msgstr "" - #: ../../Behavioral/Observer/README.rst:49 msgid "Test" msgstr "" - -#: ../../Behavioral/Observer/README.rst:51 -msgid "Tests/ObserverTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/Specification/README.po b/locale/ca/LC_MESSAGES/Behavioral/Specification/README.po index 7b1982b..64e14a8 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/Specification/README.po @@ -47,38 +47,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Specification/README.rst:29 -msgid "Item.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:35 -msgid "SpecificationInterface.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:41 -msgid "AbstractSpecification.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:47 -msgid "Either.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:53 -msgid "PriceSpecification.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:59 -msgid "Plus.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:65 -msgid "Not.php" -msgstr "" - #: ../../Behavioral/Specification/README.rst:72 msgid "Test" msgstr "" - -#: ../../Behavioral/Specification/README.rst:74 -msgid "Tests/SpecificationTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/State/README.po b/locale/ca/LC_MESSAGES/Behavioral/State/README.po index 2ced881..8dfd381 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/State/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/State/README.po @@ -38,26 +38,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/State/README.rst:23 -msgid "OrderController.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:29 -msgid "OrderFactory.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:35 -msgid "OrderInterface.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:41 -msgid "ShippingOrder.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:47 -msgid "CreateOrder.php" -msgstr "" - #: ../../Behavioral/State/README.rst:54 msgid "Test" msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/ca/LC_MESSAGES/Behavioral/Strategy/README.po index c3b9fea..0b60661 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/Strategy/README.po @@ -67,26 +67,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Strategy/README.rst:37 -msgid "ObjectCollection.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:43 -msgid "ComparatorInterface.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:49 -msgid "DateComparator.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:55 -msgid "IdComparator.php" -msgstr "" - #: ../../Behavioral/Strategy/README.rst:62 msgid "Test" msgstr "" - -#: ../../Behavioral/Strategy/README.rst:64 -msgid "Tests/StrategyTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/ca/LC_MESSAGES/Behavioral/TemplateMethod/README.po index 331d234..66e4e9b 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/TemplateMethod/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -62,22 +62,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/TemplateMethod/README.rst:36 -msgid "Journey.php" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:42 -msgid "BeachJourney.php" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:48 -msgid "CityJourney.php" -msgstr "" - #: ../../Behavioral/TemplateMethod/README.rst:55 msgid "Test" msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:57 -msgid "Tests/JourneyTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/ca/LC_MESSAGES/Behavioral/Visitor/README.po index 08784a3..62f65e1 100644 --- a/locale/ca/LC_MESSAGES/Behavioral/Visitor/README.po +++ b/locale/ca/LC_MESSAGES/Behavioral/Visitor/README.po @@ -46,30 +46,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Visitor/README.rst:28 -msgid "RoleVisitorInterface.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:34 -msgid "RolePrintVisitor.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:40 -msgid "Role.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:46 -msgid "User.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:52 -msgid "Group.php" -msgstr "" - #: ../../Behavioral/Visitor/README.rst:59 msgid "Test" msgstr "" - -#: ../../Behavioral/Visitor/README.rst:61 -msgid "Tests/VisitorTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/ca/LC_MESSAGES/Creational/AbstractFactory/README.po index 5f30dba..d5571da 100644 --- a/locale/ca/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/ca/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -39,50 +39,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/AbstractFactory/README.rst:24 -msgid "AbstractFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:30 -msgid "JsonFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:36 -msgid "HtmlFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:42 -msgid "MediaInterface.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:48 -msgid "Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:54 -msgid "Text.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:60 -msgid "Json/Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:66 -msgid "Json/Text.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:72 -msgid "Html/Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:78 -msgid "Html/Text.php" -msgstr "" - #: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:87 -msgid "Tests/AbstractFactoryTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/Builder/README.po b/locale/ca/LC_MESSAGES/Creational/Builder/README.po index 52e2701..14769f8 100644 --- a/locale/ca/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/ca/LC_MESSAGES/Creational/Builder/README.po @@ -61,50 +61,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/Builder/README.rst:35 -msgid "Director.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:41 -msgid "BuilderInterface.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:47 -msgid "BikeBuilder.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:53 -msgid "CarBuilder.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:59 -msgid "Parts/Vehicle.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:65 -msgid "Parts/Bike.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:71 -msgid "Parts/Car.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:77 -msgid "Parts/Engine.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:83 -msgid "Parts/Wheel.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:89 -msgid "Parts/Door.php" -msgstr "" - #: ../../Creational/Builder/README.rst:96 msgid "Test" msgstr "" - -#: ../../Creational/Builder/README.rst:98 -msgid "Tests/DirectorTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/ca/LC_MESSAGES/Creational/FactoryMethod/README.po index 9640841..d409bec 100644 --- a/locale/ca/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/ca/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -32,7 +32,7 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" #: ../../Creational/FactoryMethod/README.rst:15 @@ -53,38 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/FactoryMethod/README.rst:31 -msgid "FactoryMethod.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:37 -msgid "ItalianFactory.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:43 -msgid "GermanFactory.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:49 -msgid "VehicleInterface.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:55 -msgid "Porsche.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:61 -msgid "Bicycle.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:67 -msgid "Ferrari.php" -msgstr "" - #: ../../Creational/FactoryMethod/README.rst:74 msgid "Test" msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:76 -msgid "Tests/FactoryMethodTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/Multiton/README.po b/locale/ca/LC_MESSAGES/Creational/Multiton/README.po index d6892a9..caa1137 100644 --- a/locale/ca/LC_MESSAGES/Creational/Multiton/README.po +++ b/locale/ca/LC_MESSAGES/Creational/Multiton/README.po @@ -55,10 +55,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/Multiton/README.rst:31 -msgid "Multiton.php" -msgstr "" - #: ../../Creational/Multiton/README.rst:38 msgid "Test" msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/Pool/README.po b/locale/ca/LC_MESSAGES/Creational/Pool/README.po index 899f583..ec43dea 100644 --- a/locale/ca/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/ca/LC_MESSAGES/Creational/Pool/README.po @@ -56,26 +56,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/Pool/README.rst:36 -msgid "Pool.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:42 -msgid "Processor.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:48 -msgid "Worker.php" -msgstr "" - #: ../../Creational/Pool/README.rst:55 msgid "Test" msgstr "" - -#: ../../Creational/Pool/README.rst:57 -msgid "Tests/PoolTest.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:63 -msgid "Tests/TestWorker.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/Prototype/README.po b/locale/ca/LC_MESSAGES/Creational/Prototype/README.po index 14e0bc2..261ba2e 100644 --- a/locale/ca/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/ca/LC_MESSAGES/Creational/Prototype/README.po @@ -47,22 +47,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/Prototype/README.rst:28 -msgid "index.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:34 -msgid "BookPrototype.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:40 -msgid "BarBookPrototype.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:46 -msgid "FooBookPrototype.php" -msgstr "" - #: ../../Creational/Prototype/README.rst:53 msgid "Test" msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/ca/LC_MESSAGES/Creational/SimpleFactory/README.po index 751085e..382089e 100644 --- a/locale/ca/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/ca/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -47,26 +47,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/SimpleFactory/README.rst:27 -msgid "SimpleFactory.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:33 -msgid "VehicleInterface.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:39 -msgid "Bicycle.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:45 -msgid "Scooter.php" -msgstr "" - #: ../../Creational/SimpleFactory/README.rst:52 msgid "Test" msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:54 -msgid "Tests/SimpleFactoryTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/Singleton/README.po b/locale/ca/LC_MESSAGES/Creational/Singleton/README.po index a80a777..bcf716e 100644 --- a/locale/ca/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/ca/LC_MESSAGES/Creational/Singleton/README.po @@ -62,14 +62,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/Singleton/README.rst:34 -msgid "Singleton.php" -msgstr "" - #: ../../Creational/Singleton/README.rst:41 msgid "Test" msgstr "" - -#: ../../Creational/Singleton/README.rst:43 -msgid "Tests/SingletonTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/ca/LC_MESSAGES/Creational/StaticFactory/README.po index 538587f..c5ad37c 100644 --- a/locale/ca/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/ca/LC_MESSAGES/Creational/StaticFactory/README.po @@ -50,26 +50,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/StaticFactory/README.rst:31 -msgid "StaticFactory.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:37 -msgid "FormatterInterface.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:43 -msgid "FormatString.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:49 -msgid "FormatNumber.php" -msgstr "" - #: ../../Creational/StaticFactory/README.rst:56 msgid "Test" msgstr "" - -#: ../../Creational/StaticFactory/README.rst:58 -msgid "Tests/StaticFactoryTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/More/Delegation/README.po b/locale/ca/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index 907d828..0000000 --- a/locale/ca/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,80 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2015, Dominik Liebler and contributors -# This file is distributed under the same license as the DesignPatternsPHP -# package. -# FIRST AUTHOR , 2016. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-03 23:59+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" - -#: ../../More/Delegation/README.rst:2 -msgid "`Delegation`__" -msgstr "" - -#: ../../More/Delegation/README.rst:5 -msgid "Purpose" -msgstr "" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing" -" one of its stated tasks, delegates that task to an associated helper " -"object. In this case TeamLead professes to writeCode and Usage uses this," -" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode " -"function. This inverts the responsibility so that Usage is unknowingly " -"executing writeBadCode." -msgstr "" - -#: ../../More/Delegation/README.rst:10 -msgid "Examples" -msgstr "" - -#: ../../More/Delegation/README.rst:12 -msgid "" -"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to " -"see it all tied together." -msgstr "" - -#: ../../More/Delegation/README.rst:15 -msgid "UML Diagram" -msgstr "" - -#: ../../More/Delegation/README.rst:22 -msgid "Code" -msgstr "" - -#: ../../More/Delegation/README.rst:24 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../More/Delegation/README.rst:26 -msgid "Usage.php" -msgstr "" - -#: ../../More/Delegation/README.rst:32 -msgid "TeamLead.php" -msgstr "" - -#: ../../More/Delegation/README.rst:38 -msgid "JuniorDeveloper.php" -msgstr "" - -#: ../../More/Delegation/README.rst:45 -msgid "Test" -msgstr "" - -#: ../../More/Delegation/README.rst:47 -msgid "Tests/DelegationTest.php" -msgstr "" - diff --git a/locale/ca/LC_MESSAGES/More/EAV/README.po b/locale/ca/LC_MESSAGES/More/EAV/README.po index d0113c0..8e72b00 100644 --- a/locale/ca/LC_MESSAGES/More/EAV/README.po +++ b/locale/ca/LC_MESSAGES/More/EAV/README.po @@ -64,15 +64,3 @@ msgstr "" msgid "Test" msgstr "" -#: ../../More/EAV/README.rst:104 -msgid "Tests/EntityTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:110 -msgid "Tests/AttributeTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:116 -msgid "Tests/ValueTest.php" -msgstr "" - diff --git a/locale/ca/LC_MESSAGES/More/Repository/README.po b/locale/ca/LC_MESSAGES/More/Repository/README.po index 5a37043..b6e39ab 100644 --- a/locale/ca/LC_MESSAGES/More/Repository/README.po +++ b/locale/ca/LC_MESSAGES/More/Repository/README.po @@ -55,22 +55,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../More/Repository/README.rst:34 -msgid "Post.php" -msgstr "" - -#: ../../More/Repository/README.rst:40 -msgid "PostRepository.php" -msgstr "" - -#: ../../More/Repository/README.rst:46 -msgid "Storage.php" -msgstr "" - -#: ../../More/Repository/README.rst:52 -msgid "MemoryStorage.php" -msgstr "" - #: ../../More/Repository/README.rst:59 msgid "Test" msgstr "" diff --git a/locale/ca/LC_MESSAGES/More/ServiceLocator/README.po b/locale/ca/LC_MESSAGES/More/ServiceLocator/README.po index 8efac15..a41751d 100644 --- a/locale/ca/LC_MESSAGES/More/ServiceLocator/README.po +++ b/locale/ca/LC_MESSAGES/More/ServiceLocator/README.po @@ -61,34 +61,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../More/ServiceLocator/README.rst:38 -msgid "ServiceLocatorInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:44 -msgid "ServiceLocator.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:50 -msgid "LogServiceInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:56 -msgid "LogService.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:62 -msgid "DatabaseServiceInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:68 -msgid "DatabaseService.php" -msgstr "" - #: ../../More/ServiceLocator/README.rst:75 msgid "Test" msgstr "" - -#: ../../More/ServiceLocator/README.rst:77 -msgid "Tests/ServiceLocatorTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/Adapter/README.po b/locale/ca/LC_MESSAGES/Structural/Adapter/README.po index 00c1d2f..aa79116 100644 --- a/locale/ca/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/ca/LC_MESSAGES/Structural/Adapter/README.po @@ -53,30 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Adapter/README.rst:31 -msgid "PaperBookInterface.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:37 -msgid "Book.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:43 -msgid "EBookAdapter.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:49 -msgid "EBookInterface.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:55 -msgid "Kindle.php" -msgstr "" - #: ../../Structural/Adapter/README.rst:62 msgid "Test" msgstr "" - -#: ../../Structural/Adapter/README.rst:64 -msgid "Tests/AdapterTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/Bridge/README.po b/locale/ca/LC_MESSAGES/Structural/Bridge/README.po index e2ee3f6..ac8200c 100644 --- a/locale/ca/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/ca/LC_MESSAGES/Structural/Bridge/README.po @@ -45,34 +45,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Bridge/README.rst:28 -msgid "Workshop.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:34 -msgid "Assemble.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:40 -msgid "Produce.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:46 -msgid "Vehicle.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:52 -msgid "Motorcycle.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:58 -msgid "Car.php" -msgstr "" - #: ../../Structural/Bridge/README.rst:65 msgid "Test" msgstr "" - -#: ../../Structural/Bridge/README.rst:67 -msgid "Tests/BridgeTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/Composite/README.po b/locale/ca/LC_MESSAGES/Structural/Composite/README.po index a5b59d4..7908b74 100644 --- a/locale/ca/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/ca/LC_MESSAGES/Structural/Composite/README.po @@ -53,26 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Composite/README.rst:31 -msgid "FormElement.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:37 -msgid "Form.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:43 -msgid "InputElement.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:49 -msgid "TextElement.php" -msgstr "" - #: ../../Structural/Composite/README.rst:56 msgid "Test" msgstr "" - -#: ../../Structural/Composite/README.rst:58 -msgid "Tests/CompositeTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/DataMapper/README.po b/locale/ca/LC_MESSAGES/Structural/DataMapper/README.po index 6093eea..164f7ed 100644 --- a/locale/ca/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/ca/LC_MESSAGES/Structural/DataMapper/README.po @@ -60,18 +60,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/DataMapper/README.rst:38 -msgid "User.php" -msgstr "" - -#: ../../Structural/DataMapper/README.rst:44 -msgid "UserMapper.php" -msgstr "" - #: ../../Structural/DataMapper/README.rst:51 msgid "Test" msgstr "" - -#: ../../Structural/DataMapper/README.rst:53 -msgid "Tests/DataMapperTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/Decorator/README.po b/locale/ca/LC_MESSAGES/Structural/Decorator/README.po index 124019f..335d776 100644 --- a/locale/ca/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/ca/LC_MESSAGES/Structural/Decorator/README.po @@ -49,30 +49,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Decorator/README.rst:28 -msgid "RendererInterface.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:34 -msgid "Webservice.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:40 -msgid "Decorator.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:46 -msgid "RenderInXml.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:52 -msgid "RenderInJson.php" -msgstr "" - #: ../../Structural/Decorator/README.rst:59 msgid "Test" msgstr "" - -#: ../../Structural/Decorator/README.rst:61 -msgid "Tests/DecoratorTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/ca/LC_MESSAGES/Structural/DependencyInjection/README.po index 7eeeb06..f017805 100644 --- a/locale/ca/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/ca/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -78,30 +78,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/DependencyInjection/README.rst:48 -msgid "AbstractConfig.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:54 -msgid "Parameters.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:60 -msgid "ArrayConfig.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:66 -msgid "Connection.php" -msgstr "" - #: ../../Structural/DependencyInjection/README.rst:73 msgid "Test" msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:75 -msgid "Tests/DependencyInjectionTest.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:81 -msgid "Tests/config.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/Facade/README.po b/locale/ca/LC_MESSAGES/Structural/Facade/README.po index 81358f4..6cca97b 100644 --- a/locale/ca/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/ca/LC_MESSAGES/Structural/Facade/README.po @@ -66,22 +66,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Facade/README.rst:38 -msgid "Facade.php" -msgstr "" - -#: ../../Structural/Facade/README.rst:44 -msgid "OsInterface.php" -msgstr "" - -#: ../../Structural/Facade/README.rst:50 -msgid "BiosInterface.php" -msgstr "" - #: ../../Structural/Facade/README.rst:57 msgid "Test" msgstr "" - -#: ../../Structural/Facade/README.rst:59 -msgid "Tests/FacadeTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/ca/LC_MESSAGES/Structural/FluentInterface/README.po index 4331b7c..b330ab4 100644 --- a/locale/ca/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/ca/LC_MESSAGES/Structural/FluentInterface/README.po @@ -53,14 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/FluentInterface/README.rst:30 -msgid "Sql.php" -msgstr "" - #: ../../Structural/FluentInterface/README.rst:37 msgid "Test" msgstr "" - -#: ../../Structural/FluentInterface/README.rst:39 -msgid "Tests/FluentInterfaceTest.php" -msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/Flyweight/README.po b/locale/ca/LC_MESSAGES/Structural/Flyweight/README.po index cfa8492..2514886 100644 --- a/locale/ca/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/ca/LC_MESSAGES/Structural/Flyweight/README.po @@ -47,23 +47,7 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Flyweight/README.rst:23 -msgid "FlyweightInterface.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:29 -msgid "CharacterFlyweight.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:35 -msgid "FlyweightFactory.php" -msgstr "" - #: ../../Structural/Flyweight/README.rst:42 msgid "Test" msgstr "" -#: ../../Structural/Flyweight/README.rst:44 -msgid "Tests/FlyweightTest.php" -msgstr "" - diff --git a/locale/ca/LC_MESSAGES/Structural/Proxy/README.po b/locale/ca/LC_MESSAGES/Structural/Proxy/README.po index 1e52782..6a3e254 100644 --- a/locale/ca/LC_MESSAGES/Structural/Proxy/README.po +++ b/locale/ca/LC_MESSAGES/Structural/Proxy/README.po @@ -46,14 +46,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Proxy/README.rst:28 -msgid "Record.php" -msgstr "" - -#: ../../Structural/Proxy/README.rst:34 -msgid "RecordProxy.php" -msgstr "" - #: ../../Structural/Proxy/README.rst:41 msgid "Test" msgstr "" diff --git a/locale/ca/LC_MESSAGES/Structural/Registry/README.po b/locale/ca/LC_MESSAGES/Structural/Registry/README.po index 104a57d..326d6c0 100644 --- a/locale/ca/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/ca/LC_MESSAGES/Structural/Registry/README.po @@ -54,14 +54,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Registry/README.rst:31 -msgid "Registry.php" -msgstr "" - #: ../../Structural/Registry/README.rst:38 msgid "Test" msgstr "" - -#: ../../Structural/Registry/README.rst:40 -msgid "Tests/RegistryTest.php" -msgstr "" diff --git a/locale/de/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/de/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index b84bf8a..1e543a4 100644 --- a/locale/de/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -71,26 +71,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du kannst den Code auch auf `GitHub` einsehen_" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:36 -msgid "Request.php" -msgstr "Request.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:42 -msgid "Handler.php" -msgstr "Handler.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:48 -msgid "Responsible/SlowStorage.php" -msgstr "Responsible/SlowStorage.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:54 -msgid "Responsible/FastStorage.php" -msgstr "Responsible/FastStorage.php" - #: ../../Behavioral/ChainOfResponsibilities/README.rst:61 msgid "Test" msgstr "Теst" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:63 -msgid "Tests/ChainTest.php" -msgstr "Tests/ChainTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/Command/README.po b/locale/de/LC_MESSAGES/Behavioral/Command/README.po index 3e90fb0..03a548b 100644 --- a/locale/de/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/Command/README.po @@ -85,26 +85,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du kannst diesen Code auch auf `GitHub` einsehen_" -#: ../../Behavioral/Command/README.rst:43 -msgid "CommandInterface.php" -msgstr "CommandInterface.php" - -#: ../../Behavioral/Command/README.rst:49 -msgid "HelloCommand.php" -msgstr "HelloCommand.php" - -#: ../../Behavioral/Command/README.rst:55 -msgid "Receiver.php" -msgstr "Receiver.php" - -#: ../../Behavioral/Command/README.rst:61 -msgid "Invoker.php" -msgstr "Invoker.php" - #: ../../Behavioral/Command/README.rst:68 msgid "Test" msgstr "Теst" - -#: ../../Behavioral/Command/README.rst:70 -msgid "Tests/CommandTest.php" -msgstr "Tests/CommandTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/de/LC_MESSAGES/Behavioral/Iterator/README.po index 0d137cc..1ee22d3 100644 --- a/locale/de/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/Iterator/README.po @@ -65,26 +65,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du kannst den Code auch auf `GitHub` einsehen_" -#: ../../Behavioral/Iterator/README.rst:36 -msgid "Book.php" -msgstr "Book.php" - -#: ../../Behavioral/Iterator/README.rst:42 -msgid "BookList.php" -msgstr "BookList.php" - -#: ../../Behavioral/Iterator/README.rst:48 -msgid "BookListIterator.php" -msgstr "BookListIterator.php" - -#: ../../Behavioral/Iterator/README.rst:54 -msgid "BookListReverseIterator.php" -msgstr "BookListReverseIterator.php" - #: ../../Behavioral/Iterator/README.rst:61 msgid "Test" msgstr "Теst" - -#: ../../Behavioral/Iterator/README.rst:63 -msgid "Tests/IteratorTest.php" -msgstr "Tests/IteratorTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/de/LC_MESSAGES/Behavioral/Mediator/README.po index 6915d6f..1492ba6 100644 --- a/locale/de/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/Mediator/README.po @@ -52,34 +52,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code hierzu auf `GitHub`_" -#: ../../Behavioral/Mediator/README.rst:27 -msgid "MediatorInterface.php" -msgstr "MediatorInterface.php" - -#: ../../Behavioral/Mediator/README.rst:33 -msgid "Mediator.php" -msgstr "Mediator.php" - -#: ../../Behavioral/Mediator/README.rst:39 -msgid "Colleague.php" -msgstr "Colleague.php" - -#: ../../Behavioral/Mediator/README.rst:45 -msgid "Subsystem/Client.php" -msgstr "Subsystem/Client.php" - -#: ../../Behavioral/Mediator/README.rst:51 -msgid "Subsystem/Database.php" -msgstr "Subsystem/Database.php" - -#: ../../Behavioral/Mediator/README.rst:57 -msgid "Subsystem/Server.php" -msgstr "Subsystem/Server.php" - #: ../../Behavioral/Mediator/README.rst:64 msgid "Test" msgstr "Test" - -#: ../../Behavioral/Mediator/README.rst:66 -msgid "Tests/MediatorTest.php" -msgstr "Tests/MediatorTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/Memento/README.po b/locale/de/LC_MESSAGES/Behavioral/Memento/README.po index f00407c..024cfcd 100644 --- a/locale/de/LC_MESSAGES/Behavioral/Memento/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/Memento/README.po @@ -102,26 +102,10 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Memento/README.rst:57 -msgid "Memento.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:63 -msgid "Originator.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:69 -msgid "Caretaker.php" -msgstr "" - #: ../../Behavioral/Memento/README.rst:76 msgid "Test" msgstr "" -#: ../../Behavioral/Memento/README.rst:78 -msgid "Tests/MementoTest.php" -msgstr "" - #. # #. msgid "" diff --git a/locale/de/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/de/LC_MESSAGES/Behavioral/NullObject/README.po index 08ad9f7..ce9772a 100644 --- a/locale/de/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/NullObject/README.po @@ -84,26 +84,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code hierzu auf `GitHub`_" -#: ../../Behavioral/NullObject/README.rst:41 -msgid "Service.php" -msgstr "Service.php" - -#: ../../Behavioral/NullObject/README.rst:47 -msgid "LoggerInterface.php" -msgstr "LoggerInterface.php" - -#: ../../Behavioral/NullObject/README.rst:53 -msgid "PrintLogger.php" -msgstr "PrintLogger.php" - -#: ../../Behavioral/NullObject/README.rst:59 -msgid "NullLogger.php" -msgstr "NullLogger.php" - #: ../../Behavioral/NullObject/README.rst:66 msgid "Test" msgstr "Test" - -#: ../../Behavioral/NullObject/README.rst:68 -msgid "Tests/LoggerTest.php" -msgstr "Tests/LoggerTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/Observer/README.po b/locale/de/LC_MESSAGES/Behavioral/Observer/README.po index 86de6a8..30db12b 100644 --- a/locale/de/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/Observer/README.po @@ -64,18 +64,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code hierzu auf `GitHub`_" -#: ../../Behavioral/Observer/README.rst:36 -msgid "User.php" -msgstr "User.php" - -#: ../../Behavioral/Observer/README.rst:42 -msgid "UserObserver.php" -msgstr "UserObserver.php" - #: ../../Behavioral/Observer/README.rst:49 msgid "Test" msgstr "Test" - -#: ../../Behavioral/Observer/README.rst:51 -msgid "Tests/ObserverTest.php" -msgstr "Tests/ObserverTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/Specification/README.po b/locale/de/LC_MESSAGES/Behavioral/Specification/README.po index 2dbb78b..ca61f40 100644 --- a/locale/de/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/Specification/README.po @@ -51,38 +51,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code hierzu auf `GitHub`_" -#: ../../Behavioral/Specification/README.rst:29 -msgid "Item.php" -msgstr "Item.php" - -#: ../../Behavioral/Specification/README.rst:35 -msgid "SpecificationInterface.php" -msgstr "SpecificationInterface.php" - -#: ../../Behavioral/Specification/README.rst:41 -msgid "AbstractSpecification.php" -msgstr "AbstractSpecification.php" - -#: ../../Behavioral/Specification/README.rst:47 -msgid "Either.php" -msgstr "Either.php" - -#: ../../Behavioral/Specification/README.rst:53 -msgid "PriceSpecification.php" -msgstr "PriceSpecification.php" - -#: ../../Behavioral/Specification/README.rst:59 -msgid "Plus.php" -msgstr "Plus.php" - -#: ../../Behavioral/Specification/README.rst:65 -msgid "Not.php" -msgstr "Not.php" - #: ../../Behavioral/Specification/README.rst:72 msgid "Test" msgstr "Test" - -#: ../../Behavioral/Specification/README.rst:74 -msgid "Tests/SpecificationTest.php" -msgstr "Tests/SpecificationTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/State/README.po b/locale/de/LC_MESSAGES/Behavioral/State/README.po index a4bbc2f..6019a54 100644 --- a/locale/de/LC_MESSAGES/Behavioral/State/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/State/README.po @@ -43,26 +43,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code hierzu auf `GitHub`_" -#: ../../Behavioral/State/README.rst:23 -msgid "OrderController.php" -msgstr "OrderController.php" - -#: ../../Behavioral/State/README.rst:29 -msgid "OrderFactory.php" -msgstr "OrderFactory.php" - -#: ../../Behavioral/State/README.rst:35 -msgid "OrderInterface.php" -msgstr "OrderInterface.php" - -#: ../../Behavioral/State/README.rst:41 -msgid "ShippingOrder.php" -msgstr "ShippingOrder.php" - -#: ../../Behavioral/State/README.rst:47 -msgid "CreateOrder.php" -msgstr "CreateOrder.php" - #: ../../Behavioral/State/README.rst:54 msgid "Test" msgstr "Test" diff --git a/locale/de/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/de/LC_MESSAGES/Behavioral/Strategy/README.po index 0649cff..0e951c0 100644 --- a/locale/de/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/Strategy/README.po @@ -73,26 +73,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code hierzu auf `GitHub`_" -#: ../../Behavioral/Strategy/README.rst:37 -msgid "ObjectCollection.php" -msgstr "ObjectCollection.php" - -#: ../../Behavioral/Strategy/README.rst:43 -msgid "ComparatorInterface.php" -msgstr "ComparatorInterface.php" - -#: ../../Behavioral/Strategy/README.rst:49 -msgid "DateComparator.php" -msgstr "DateComparator.php" - -#: ../../Behavioral/Strategy/README.rst:55 -msgid "IdComparator.php" -msgstr "IdComparator.php" - #: ../../Behavioral/Strategy/README.rst:62 msgid "Test" msgstr "Test" - -#: ../../Behavioral/Strategy/README.rst:64 -msgid "Tests/StrategyTest.php" -msgstr "Tests/StrategyTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/de/LC_MESSAGES/Behavioral/TemplateMethod/README.po index e5d5359..d95ffdd 100644 --- a/locale/de/LC_MESSAGES/Behavioral/TemplateMethod/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -65,22 +65,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code hierzu auf `GitHub`_" -#: ../../Behavioral/TemplateMethod/README.rst:36 -msgid "Journey.php" -msgstr "Journey.php" - -#: ../../Behavioral/TemplateMethod/README.rst:42 -msgid "BeachJourney.php" -msgstr "BeachJourney.php" - -#: ../../Behavioral/TemplateMethod/README.rst:48 -msgid "CityJourney.php" -msgstr "CityJourney.php" - #: ../../Behavioral/TemplateMethod/README.rst:55 msgid "Test" msgstr "Test" - -#: ../../Behavioral/TemplateMethod/README.rst:57 -msgid "Tests/JourneyTest.php" -msgstr "Tests/JourneyTest.php" diff --git a/locale/de/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/de/LC_MESSAGES/Behavioral/Visitor/README.po index 5384b89..2979a3e 100644 --- a/locale/de/LC_MESSAGES/Behavioral/Visitor/README.po +++ b/locale/de/LC_MESSAGES/Behavioral/Visitor/README.po @@ -51,30 +51,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code hierzu auf `GitHub`_" -#: ../../Behavioral/Visitor/README.rst:28 -msgid "RoleVisitorInterface.php" -msgstr "RoleVisitorInterface.php" - -#: ../../Behavioral/Visitor/README.rst:34 -msgid "RolePrintVisitor.php" -msgstr "RolePrintVisitor.php" - -#: ../../Behavioral/Visitor/README.rst:40 -msgid "Role.php" -msgstr "Role.php" - -#: ../../Behavioral/Visitor/README.rst:46 -msgid "User.php" -msgstr "User.php" - -#: ../../Behavioral/Visitor/README.rst:52 -msgid "Group.php" -msgstr "Group.php" - #: ../../Behavioral/Visitor/README.rst:59 msgid "Test" msgstr "Test" - -#: ../../Behavioral/Visitor/README.rst:61 -msgid "Tests/VisitorTest.php" -msgstr "Tests/VisitorTest.php" diff --git a/locale/de/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/de/LC_MESSAGES/Creational/AbstractFactory/README.po index ef9802d..3fe7727 100644 --- a/locale/de/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/de/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -46,50 +46,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:24 -msgid "AbstractFactory.php" -msgstr "AbstractFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:30 -msgid "JsonFactory.php" -msgstr "JsonFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:36 -msgid "HtmlFactory.php" -msgstr "HtmlFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:42 -msgid "MediaInterface.php" -msgstr "MediaInterface.php" - -#: ../../Creational/AbstractFactory/README.rst:48 -msgid "Picture.php" -msgstr "Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:54 -msgid "Text.php" -msgstr "Text.php" - -#: ../../Creational/AbstractFactory/README.rst:60 -msgid "Json/Picture.php" -msgstr "Json/Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:66 -msgid "Json/Text.php" -msgstr "Json/Text.php" - -#: ../../Creational/AbstractFactory/README.rst:72 -msgid "Html/Picture.php" -msgstr "Html/Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:78 -msgid "Html/Text.php" -msgstr "Html/Text.php" - #: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Теst" - -#: ../../Creational/AbstractFactory/README.rst:87 -msgid "Tests/AbstractFactoryTest.php" -msgstr "Tests/AbstractFactoryTest.php" diff --git a/locale/de/LC_MESSAGES/Creational/Builder/README.po b/locale/de/LC_MESSAGES/Creational/Builder/README.po index 5572e5a..2b9a437 100644 --- a/locale/de/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/de/LC_MESSAGES/Creational/Builder/README.po @@ -71,50 +71,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/Builder/README.rst:35 -msgid "Director.php" -msgstr "Director.php" - -#: ../../Creational/Builder/README.rst:41 -msgid "BuilderInterface.php" -msgstr "BuilderInterface.php" - -#: ../../Creational/Builder/README.rst:47 -msgid "BikeBuilder.php" -msgstr "BikeBuilder.php" - -#: ../../Creational/Builder/README.rst:53 -msgid "CarBuilder.php" -msgstr "CarBuilder.php" - -#: ../../Creational/Builder/README.rst:59 -msgid "Parts/Vehicle.php" -msgstr "Parts/Vehicle.php" - -#: ../../Creational/Builder/README.rst:65 -msgid "Parts/Bike.php" -msgstr "Parts/Bike.php" - -#: ../../Creational/Builder/README.rst:71 -msgid "Parts/Car.php" -msgstr "Parts/Car.php" - -#: ../../Creational/Builder/README.rst:77 -msgid "Parts/Engine.php" -msgstr "Parts/Engine.php" - -#: ../../Creational/Builder/README.rst:83 -msgid "Parts/Wheel.php" -msgstr "Parts/Wheel.php" - -#: ../../Creational/Builder/README.rst:89 -msgid "Parts/Door.php" -msgstr "Parts/Door.php" - #: ../../Creational/Builder/README.rst:96 msgid "Test" msgstr "Теst" - -#: ../../Creational/Builder/README.rst:98 -msgid "Tests/DirectorTest.php" -msgstr "Tests/DirectorTest.php" diff --git a/locale/de/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/de/LC_MESSAGES/Creational/FactoryMethod/README.po index d17699d..080c906 100644 --- a/locale/de/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/de/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -39,10 +39,10 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" -"Dieses Muster ist ein \"echtes\" Muster, da es das \"D\" in S.O.L.I.D. " -"implementiert, das \"Dependency Inversion Prinzip\"." +"Dieses Muster ist ein \"echtes\" Muster, da es das \"D\" in SOLID " +"implementiert, das Dependency Inversion Prinzip." #: ../../Creational/FactoryMethod/README.rst:15 msgid "" @@ -65,38 +65,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/FactoryMethod/README.rst:31 -msgid "FactoryMethod.php" -msgstr "FactoryMethod.php" - -#: ../../Creational/FactoryMethod/README.rst:37 -msgid "ItalianFactory.php" -msgstr "ItalianFactory.php" - -#: ../../Creational/FactoryMethod/README.rst:43 -msgid "GermanFactory.php" -msgstr "GermanFactory.php" - -#: ../../Creational/FactoryMethod/README.rst:49 -msgid "VehicleInterface.php" -msgstr "VehicleInterface.php" - -#: ../../Creational/FactoryMethod/README.rst:55 -msgid "Porsche.php" -msgstr "Porsche.php" - -#: ../../Creational/FactoryMethod/README.rst:61 -msgid "Bicycle.php" -msgstr "Bicycle.php" - -#: ../../Creational/FactoryMethod/README.rst:67 -msgid "Ferrari.php" -msgstr "Ferrari.php" - #: ../../Creational/FactoryMethod/README.rst:74 msgid "Test" msgstr "Теst" - -#: ../../Creational/FactoryMethod/README.rst:76 -msgid "Tests/FactoryMethodTest.php" -msgstr "Tests/FactoryMethodTest.php" diff --git a/locale/de/LC_MESSAGES/Creational/Multiton/README.po b/locale/de/LC_MESSAGES/Creational/Multiton/README.po index f6a2a20..33b53ab 100644 --- a/locale/de/LC_MESSAGES/Creational/Multiton/README.po +++ b/locale/de/LC_MESSAGES/Creational/Multiton/README.po @@ -62,10 +62,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/Multiton/README.rst:31 -msgid "Multiton.php" -msgstr "Multiton.php" - #: ../../Creational/Multiton/README.rst:38 msgid "Test" msgstr "Теst" diff --git a/locale/de/LC_MESSAGES/Creational/Pool/README.po b/locale/de/LC_MESSAGES/Creational/Pool/README.po index a77401d..f84a67a 100644 --- a/locale/de/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/de/LC_MESSAGES/Creational/Pool/README.po @@ -76,26 +76,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/Pool/README.rst:36 -msgid "Pool.php" -msgstr "Pool.php" - -#: ../../Creational/Pool/README.rst:42 -msgid "Processor.php" -msgstr "Processor.php" - -#: ../../Creational/Pool/README.rst:48 -msgid "Worker.php" -msgstr "Worker.php" - #: ../../Creational/Pool/README.rst:55 msgid "Test" msgstr "Теst" - -#: ../../Creational/Pool/README.rst:57 -msgid "Tests/PoolTest.php" -msgstr "Tests/PoolTest.php" - -#: ../../Creational/Pool/README.rst:63 -msgid "Tests/TestWorker.php" -msgstr "Tests/TestWorker.php" diff --git a/locale/de/LC_MESSAGES/Creational/Prototype/README.po b/locale/de/LC_MESSAGES/Creational/Prototype/README.po index 59840c7..8ff4dc4 100644 --- a/locale/de/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/de/LC_MESSAGES/Creational/Prototype/README.po @@ -54,22 +54,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/Prototype/README.rst:28 -msgid "index.php" -msgstr "index.php" - -#: ../../Creational/Prototype/README.rst:34 -msgid "BookPrototype.php" -msgstr "BookPrototype.php" - -#: ../../Creational/Prototype/README.rst:40 -msgid "BarBookPrototype.php" -msgstr "BarBookPrototype.php" - -#: ../../Creational/Prototype/README.rst:46 -msgid "FooBookPrototype.php" -msgstr "FooBookPrototype.php" - #: ../../Creational/Prototype/README.rst:53 msgid "Test" msgstr "Теst" diff --git a/locale/de/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/de/LC_MESSAGES/Creational/SimpleFactory/README.po index 9c216de..3ff0222 100644 --- a/locale/de/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/de/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -55,26 +55,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/SimpleFactory/README.rst:27 -msgid "SimpleFactory.php" -msgstr "SimpleFactory.php" - -#: ../../Creational/SimpleFactory/README.rst:33 -msgid "VehicleInterface.php" -msgstr "VehicleInterface.php" - -#: ../../Creational/SimpleFactory/README.rst:39 -msgid "Bicycle.php" -msgstr "Bicycle.php" - -#: ../../Creational/SimpleFactory/README.rst:45 -msgid "Scooter.php" -msgstr "Scooter.php" - #: ../../Creational/SimpleFactory/README.rst:52 msgid "Test" msgstr "Теst" - -#: ../../Creational/SimpleFactory/README.rst:54 -msgid "Tests/SimpleFactoryTest.php" -msgstr "Tests/SimpleFactoryTest.php" diff --git a/locale/de/LC_MESSAGES/Creational/Singleton/README.po b/locale/de/LC_MESSAGES/Creational/Singleton/README.po index 6c62928..1ff2dfc 100644 --- a/locale/de/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/de/LC_MESSAGES/Creational/Singleton/README.po @@ -72,14 +72,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/Singleton/README.rst:34 -msgid "Singleton.php" -msgstr "Singleton.php" - #: ../../Creational/Singleton/README.rst:41 msgid "Test" msgstr "Теst" - -#: ../../Creational/Singleton/README.rst:43 -msgid "Tests/SingletonTest.php" -msgstr "Tests/SingletonTest.php" diff --git a/locale/de/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/de/LC_MESSAGES/Creational/StaticFactory/README.po index 8281af6..c37877e 100644 --- a/locale/de/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/de/LC_MESSAGES/Creational/StaticFactory/README.po @@ -59,26 +59,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Creational/StaticFactory/README.rst:31 -msgid "StaticFactory.php" -msgstr "StaticFactory.php" - -#: ../../Creational/StaticFactory/README.rst:37 -msgid "FormatterInterface.php" -msgstr "FormatterInterface.php" - -#: ../../Creational/StaticFactory/README.rst:43 -msgid "FormatString.php" -msgstr "FormatString.php" - -#: ../../Creational/StaticFactory/README.rst:49 -msgid "FormatNumber.php" -msgstr "FormatNumber.php" - #: ../../Creational/StaticFactory/README.rst:56 msgid "Test" msgstr "Теst" - -#: ../../Creational/StaticFactory/README.rst:58 -msgid "Tests/StaticFactoryTest.php" -msgstr "Tests/StaticFactoryTest.php" diff --git a/locale/de/LC_MESSAGES/More/Delegation/README.po b/locale/de/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index 907d828..0000000 --- a/locale/de/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,80 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2015, Dominik Liebler and contributors -# This file is distributed under the same license as the DesignPatternsPHP -# package. -# FIRST AUTHOR , 2016. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-03 23:59+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" - -#: ../../More/Delegation/README.rst:2 -msgid "`Delegation`__" -msgstr "" - -#: ../../More/Delegation/README.rst:5 -msgid "Purpose" -msgstr "" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing" -" one of its stated tasks, delegates that task to an associated helper " -"object. In this case TeamLead professes to writeCode and Usage uses this," -" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode " -"function. This inverts the responsibility so that Usage is unknowingly " -"executing writeBadCode." -msgstr "" - -#: ../../More/Delegation/README.rst:10 -msgid "Examples" -msgstr "" - -#: ../../More/Delegation/README.rst:12 -msgid "" -"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to " -"see it all tied together." -msgstr "" - -#: ../../More/Delegation/README.rst:15 -msgid "UML Diagram" -msgstr "" - -#: ../../More/Delegation/README.rst:22 -msgid "Code" -msgstr "" - -#: ../../More/Delegation/README.rst:24 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../More/Delegation/README.rst:26 -msgid "Usage.php" -msgstr "" - -#: ../../More/Delegation/README.rst:32 -msgid "TeamLead.php" -msgstr "" - -#: ../../More/Delegation/README.rst:38 -msgid "JuniorDeveloper.php" -msgstr "" - -#: ../../More/Delegation/README.rst:45 -msgid "Test" -msgstr "" - -#: ../../More/Delegation/README.rst:47 -msgid "Tests/DelegationTest.php" -msgstr "" - diff --git a/locale/de/LC_MESSAGES/More/EAV/README.po b/locale/de/LC_MESSAGES/More/EAV/README.po index d0113c0..8e72b00 100644 --- a/locale/de/LC_MESSAGES/More/EAV/README.po +++ b/locale/de/LC_MESSAGES/More/EAV/README.po @@ -64,15 +64,3 @@ msgstr "" msgid "Test" msgstr "" -#: ../../More/EAV/README.rst:104 -msgid "Tests/EntityTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:110 -msgid "Tests/AttributeTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:116 -msgid "Tests/ValueTest.php" -msgstr "" - diff --git a/locale/de/LC_MESSAGES/More/Repository/README.po b/locale/de/LC_MESSAGES/More/Repository/README.po index 152a3e7..1c1dd7f 100644 --- a/locale/de/LC_MESSAGES/More/Repository/README.po +++ b/locale/de/LC_MESSAGES/More/Repository/README.po @@ -66,22 +66,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../More/Repository/README.rst:34 -msgid "Post.php" -msgstr "Post.php" - -#: ../../More/Repository/README.rst:40 -msgid "PostRepository.php" -msgstr "PostRepository.php" - -#: ../../More/Repository/README.rst:46 -msgid "Storage.php" -msgstr "Storage.php" - -#: ../../More/Repository/README.rst:52 -msgid "MemoryStorage.php" -msgstr "MemoryStorage.php" - #: ../../More/Repository/README.rst:59 msgid "Test" msgstr "Теst" diff --git a/locale/de/LC_MESSAGES/More/ServiceLocator/README.po b/locale/de/LC_MESSAGES/More/ServiceLocator/README.po index d3914c8..8baeb3e 100644 --- a/locale/de/LC_MESSAGES/More/ServiceLocator/README.po +++ b/locale/de/LC_MESSAGES/More/ServiceLocator/README.po @@ -75,34 +75,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../More/ServiceLocator/README.rst:38 -msgid "ServiceLocatorInterface.php" -msgstr "ServiceLocatorInterface.php" - -#: ../../More/ServiceLocator/README.rst:44 -msgid "ServiceLocator.php" -msgstr "ServiceLocator.php" - -#: ../../More/ServiceLocator/README.rst:50 -msgid "LogServiceInterface.php" -msgstr "LogServiceInterface.php" - -#: ../../More/ServiceLocator/README.rst:56 -msgid "LogService.php" -msgstr "LogService.php" - -#: ../../More/ServiceLocator/README.rst:62 -msgid "DatabaseServiceInterface.php" -msgstr "DatabaseServiceInterface.php" - -#: ../../More/ServiceLocator/README.rst:68 -msgid "DatabaseService.php" -msgstr "DatabaseService.php" - #: ../../More/ServiceLocator/README.rst:75 msgid "Test" msgstr "Теst" - -#: ../../More/ServiceLocator/README.rst:77 -msgid "Tests/ServiceLocatorTest.php" -msgstr "Tests/ServiceLocatorTest.php" diff --git a/locale/de/LC_MESSAGES/Structural/Adapter/README.po b/locale/de/LC_MESSAGES/Structural/Adapter/README.po index d02f228..9517fda 100644 --- a/locale/de/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/de/LC_MESSAGES/Structural/Adapter/README.po @@ -63,30 +63,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/Adapter/README.rst:31 -msgid "PaperBookInterface.php" -msgstr "PaperBookInterface.php" - -#: ../../Structural/Adapter/README.rst:37 -msgid "Book.php" -msgstr "Book.php" - -#: ../../Structural/Adapter/README.rst:43 -msgid "EBookAdapter.php" -msgstr "EBookAdapter.php" - -#: ../../Structural/Adapter/README.rst:49 -msgid "EBookInterface.php" -msgstr "EBookInterface.php" - -#: ../../Structural/Adapter/README.rst:55 -msgid "Kindle.php" -msgstr "Kindle.php" - #: ../../Structural/Adapter/README.rst:62 msgid "Test" msgstr "Теst" - -#: ../../Structural/Adapter/README.rst:64 -msgid "Tests/AdapterTest.php" -msgstr "Tests/AdapterTest.php" diff --git a/locale/de/LC_MESSAGES/Structural/Bridge/README.po b/locale/de/LC_MESSAGES/Structural/Bridge/README.po index 62dd226..b57ae86 100644 --- a/locale/de/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/de/LC_MESSAGES/Structural/Bridge/README.po @@ -50,34 +50,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/Bridge/README.rst:28 -msgid "Workshop.php" -msgstr "Workshop.php" - -#: ../../Structural/Bridge/README.rst:34 -msgid "Assemble.php" -msgstr "Assemble.php" - -#: ../../Structural/Bridge/README.rst:40 -msgid "Produce.php" -msgstr "Produce.php" - -#: ../../Structural/Bridge/README.rst:46 -msgid "Vehicle.php" -msgstr "Vehicle.php" - -#: ../../Structural/Bridge/README.rst:52 -msgid "Motorcycle.php" -msgstr "Motorcycle.php" - -#: ../../Structural/Bridge/README.rst:58 -msgid "Car.php" -msgstr "Car.php" - #: ../../Structural/Bridge/README.rst:65 msgid "Test" msgstr "Теst" - -#: ../../Structural/Bridge/README.rst:67 -msgid "Tests/BridgeTest.php" -msgstr "Tests/BridgeTest.php" diff --git a/locale/de/LC_MESSAGES/Structural/Composite/README.po b/locale/de/LC_MESSAGES/Structural/Composite/README.po index 3bb2f07..92d0b5d 100644 --- a/locale/de/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/de/LC_MESSAGES/Structural/Composite/README.po @@ -63,26 +63,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/Composite/README.rst:31 -msgid "FormElement.php" -msgstr "FormElement.php" - -#: ../../Structural/Composite/README.rst:37 -msgid "Form.php" -msgstr "Form.php" - -#: ../../Structural/Composite/README.rst:43 -msgid "InputElement.php" -msgstr "InputElement.php" - -#: ../../Structural/Composite/README.rst:49 -msgid "TextElement.php" -msgstr "TextElement.php" - #: ../../Structural/Composite/README.rst:56 msgid "Test" msgstr "Теst" - -#: ../../Structural/Composite/README.rst:58 -msgid "Tests/CompositeTest.php" -msgstr "Tests/CompositeTest.php" diff --git a/locale/de/LC_MESSAGES/Structural/DataMapper/README.po b/locale/de/LC_MESSAGES/Structural/DataMapper/README.po index 0caf1e7..821cf65 100644 --- a/locale/de/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/de/LC_MESSAGES/Structural/DataMapper/README.po @@ -75,18 +75,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/DataMapper/README.rst:38 -msgid "User.php" -msgstr "User.php" - -#: ../../Structural/DataMapper/README.rst:44 -msgid "UserMapper.php" -msgstr "UserMapper.php" - #: ../../Structural/DataMapper/README.rst:51 msgid "Test" msgstr "Теst" - -#: ../../Structural/DataMapper/README.rst:53 -msgid "Tests/DataMapperTest.php" -msgstr "Tests/DataMapperTest.php" diff --git a/locale/de/LC_MESSAGES/Structural/Decorator/README.po b/locale/de/LC_MESSAGES/Structural/Decorator/README.po index c9e07db..584daff 100644 --- a/locale/de/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/de/LC_MESSAGES/Structural/Decorator/README.po @@ -51,30 +51,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/Decorator/README.rst:28 -msgid "RendererInterface.php" -msgstr "RendererInterface.php" - -#: ../../Structural/Decorator/README.rst:34 -msgid "Webservice.php" -msgstr "Webservice.php" - -#: ../../Structural/Decorator/README.rst:40 -msgid "Decorator.php" -msgstr "Decorator.php" - -#: ../../Structural/Decorator/README.rst:46 -msgid "RenderInXml.php" -msgstr "RenderInXml.php" - -#: ../../Structural/Decorator/README.rst:52 -msgid "RenderInJson.php" -msgstr "RenderInJson.php" - #: ../../Structural/Decorator/README.rst:59 msgid "Test" msgstr "Теst" - -#: ../../Structural/Decorator/README.rst:61 -msgid "Tests/DecoratorTest.php" -msgstr "Tests/DecoratorTest.php" diff --git a/locale/de/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/de/LC_MESSAGES/Structural/DependencyInjection/README.po index 101df4f..9abbf97 100644 --- a/locale/de/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/de/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -99,30 +99,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/DependencyInjection/README.rst:48 -msgid "AbstractConfig.php" -msgstr "AbstractConfig.php" - -#: ../../Structural/DependencyInjection/README.rst:54 -msgid "Parameters.php" -msgstr "Parameters.php" - -#: ../../Structural/DependencyInjection/README.rst:60 -msgid "ArrayConfig.php" -msgstr "ArrayConfig.php" - -#: ../../Structural/DependencyInjection/README.rst:66 -msgid "Connection.php" -msgstr "Connection.php" - #: ../../Structural/DependencyInjection/README.rst:73 msgid "Test" msgstr "Теst" - -#: ../../Structural/DependencyInjection/README.rst:75 -msgid "Tests/DependencyInjectionTest.php" -msgstr "Tests/DependencyInjectionTest.php" - -#: ../../Structural/DependencyInjection/README.rst:81 -msgid "Tests/config.php" -msgstr "Tests/config.php" diff --git a/locale/de/LC_MESSAGES/Structural/Facade/README.po b/locale/de/LC_MESSAGES/Structural/Facade/README.po index ee3902c..957d6a8 100644 --- a/locale/de/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/de/LC_MESSAGES/Structural/Facade/README.po @@ -81,22 +81,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/Facade/README.rst:38 -msgid "Facade.php" -msgstr "Facade.php" - -#: ../../Structural/Facade/README.rst:44 -msgid "OsInterface.php" -msgstr "OsInterface.php" - -#: ../../Structural/Facade/README.rst:50 -msgid "BiosInterface.php" -msgstr "BiosInterface.php" - #: ../../Structural/Facade/README.rst:57 msgid "Test" msgstr "Теst" - -#: ../../Structural/Facade/README.rst:59 -msgid "Tests/FacadeTest.php" -msgstr "Tests/FacadeTest.php" diff --git a/locale/de/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/de/LC_MESSAGES/Structural/FluentInterface/README.po index f51776a..c4ed0c3 100644 --- a/locale/de/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/de/LC_MESSAGES/Structural/FluentInterface/README.po @@ -59,14 +59,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/FluentInterface/README.rst:30 -msgid "Sql.php" -msgstr "Sql.php" - #: ../../Structural/FluentInterface/README.rst:37 msgid "Test" msgstr "Теst" - -#: ../../Structural/FluentInterface/README.rst:39 -msgid "Tests/FluentInterfaceTest.php" -msgstr "Tests/FluentInterfaceTest.php" diff --git a/locale/de/LC_MESSAGES/Structural/Flyweight/README.po b/locale/de/LC_MESSAGES/Structural/Flyweight/README.po index cfa8492..2514886 100644 --- a/locale/de/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/de/LC_MESSAGES/Structural/Flyweight/README.po @@ -47,23 +47,7 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Flyweight/README.rst:23 -msgid "FlyweightInterface.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:29 -msgid "CharacterFlyweight.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:35 -msgid "FlyweightFactory.php" -msgstr "" - #: ../../Structural/Flyweight/README.rst:42 msgid "Test" msgstr "" -#: ../../Structural/Flyweight/README.rst:44 -msgid "Tests/FlyweightTest.php" -msgstr "" - diff --git a/locale/de/LC_MESSAGES/Structural/Proxy/README.po b/locale/de/LC_MESSAGES/Structural/Proxy/README.po index 3d85bb4..9f14568 100644 --- a/locale/de/LC_MESSAGES/Structural/Proxy/README.po +++ b/locale/de/LC_MESSAGES/Structural/Proxy/README.po @@ -53,14 +53,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/Proxy/README.rst:28 -msgid "Record.php" -msgstr "Record.php" - -#: ../../Structural/Proxy/README.rst:34 -msgid "RecordProxy.php" -msgstr "RecordProxy.php" - #: ../../Structural/Proxy/README.rst:41 msgid "Test" msgstr "Теst" diff --git a/locale/de/LC_MESSAGES/Structural/Registry/README.po b/locale/de/LC_MESSAGES/Structural/Registry/README.po index efda2fd..c1c2fbf 100644 --- a/locale/de/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/de/LC_MESSAGES/Structural/Registry/README.po @@ -64,14 +64,6 @@ msgstr "Code" msgid "You can also find this code on `GitHub`_" msgstr "Du findest den Code auch auf `GitHub`_" -#: ../../Structural/Registry/README.rst:31 -msgid "Registry.php" -msgstr "Registry.php" - #: ../../Structural/Registry/README.rst:38 msgid "Test" msgstr "Теst" - -#: ../../Structural/Registry/README.rst:40 -msgid "Tests/RegistryTest.php" -msgstr "Tests/RegistryTest.php" diff --git a/locale/es/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/es/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index cf1873c..9b795e4 100644 --- a/locale/es/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -65,26 +65,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:36 -msgid "Request.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:42 -msgid "Handler.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:48 -msgid "Responsible/SlowStorage.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:54 -msgid "Responsible/FastStorage.php" -msgstr "" - #: ../../Behavioral/ChainOfResponsibilities/README.rst:61 msgid "Test" msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:63 -msgid "Tests/ChainTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/Command/README.po b/locale/es/LC_MESSAGES/Behavioral/Command/README.po index 0198a5d..25279ce 100644 --- a/locale/es/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/Command/README.po @@ -74,26 +74,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/Command/README.rst:43 -msgid "CommandInterface.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:49 -msgid "HelloCommand.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:55 -msgid "Receiver.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:61 -msgid "Invoker.php" -msgstr "" - #: ../../Behavioral/Command/README.rst:68 msgid "Test" msgstr "" - -#: ../../Behavioral/Command/README.rst:70 -msgid "Tests/CommandTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/es/LC_MESSAGES/Behavioral/Iterator/README.po index 18e83fb..709ea20 100644 --- a/locale/es/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/Iterator/README.po @@ -56,26 +56,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/Iterator/README.rst:36 -msgid "Book.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:42 -msgid "BookList.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:48 -msgid "BookListIterator.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:54 -msgid "BookListReverseIterator.php" -msgstr "" - #: ../../Behavioral/Iterator/README.rst:61 msgid "Test" msgstr "" - -#: ../../Behavioral/Iterator/README.rst:63 -msgid "Tests/IteratorTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/es/LC_MESSAGES/Behavioral/Mediator/README.po index 1bf6c04..bac2aeb 100644 --- a/locale/es/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/Mediator/README.po @@ -45,34 +45,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/Mediator/README.rst:27 -msgid "MediatorInterface.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:33 -msgid "Mediator.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:39 -msgid "Colleague.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:45 -msgid "Subsystem/Client.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:51 -msgid "Subsystem/Database.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:57 -msgid "Subsystem/Server.php" -msgstr "" - #: ../../Behavioral/Mediator/README.rst:64 msgid "Test" msgstr "" - -#: ../../Behavioral/Mediator/README.rst:66 -msgid "Tests/MediatorTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/Memento/README.po b/locale/es/LC_MESSAGES/Behavioral/Memento/README.po index ec42c6a..4cab022 100644 --- a/locale/es/LC_MESSAGES/Behavioral/Memento/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/Memento/README.po @@ -102,26 +102,10 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/Memento/README.rst:57 -msgid "Memento.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:63 -msgid "Originator.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:69 -msgid "Caretaker.php" -msgstr "" - #: ../../Behavioral/Memento/README.rst:76 msgid "Test" msgstr "" -#: ../../Behavioral/Memento/README.rst:78 -msgid "Tests/MementoTest.php" -msgstr "" - #. # diff --git a/locale/es/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/es/LC_MESSAGES/Behavioral/NullObject/README.po index 592e25c..8c52f4f 100644 --- a/locale/es/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/NullObject/README.po @@ -78,26 +78,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/NullObject/README.rst:41 -msgid "Service.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:47 -msgid "LoggerInterface.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:53 -msgid "PrintLogger.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:59 -msgid "NullLogger.php" -msgstr "" - #: ../../Behavioral/NullObject/README.rst:66 msgid "Test" msgstr "" - -#: ../../Behavioral/NullObject/README.rst:68 -msgid "Tests/LoggerTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/Observer/README.po b/locale/es/LC_MESSAGES/Behavioral/Observer/README.po index 3889db1..ec38f2c 100644 --- a/locale/es/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/Observer/README.po @@ -58,18 +58,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/Observer/README.rst:36 -msgid "User.php" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:42 -msgid "UserObserver.php" -msgstr "" - #: ../../Behavioral/Observer/README.rst:49 msgid "Test" msgstr "" - -#: ../../Behavioral/Observer/README.rst:51 -msgid "Tests/ObserverTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/Specification/README.po b/locale/es/LC_MESSAGES/Behavioral/Specification/README.po index bf96867..4f3237e 100644 --- a/locale/es/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/Specification/README.po @@ -47,38 +47,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/Specification/README.rst:29 -msgid "Item.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:35 -msgid "SpecificationInterface.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:41 -msgid "AbstractSpecification.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:47 -msgid "Either.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:53 -msgid "PriceSpecification.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:59 -msgid "Plus.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:65 -msgid "Not.php" -msgstr "" - #: ../../Behavioral/Specification/README.rst:72 msgid "Test" msgstr "" - -#: ../../Behavioral/Specification/README.rst:74 -msgid "Tests/SpecificationTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/State/README.po b/locale/es/LC_MESSAGES/Behavioral/State/README.po index 193cd6c..c18a2a8 100644 --- a/locale/es/LC_MESSAGES/Behavioral/State/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/State/README.po @@ -38,26 +38,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/State/README.rst:23 -msgid "OrderController.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:29 -msgid "OrderFactory.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:35 -msgid "OrderInterface.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:41 -msgid "ShippingOrder.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:47 -msgid "CreateOrder.php" -msgstr "" - #: ../../Behavioral/State/README.rst:54 msgid "Test" msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/es/LC_MESSAGES/Behavioral/Strategy/README.po index 16f4b88..8060552 100644 --- a/locale/es/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/Strategy/README.po @@ -67,26 +67,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/Strategy/README.rst:37 -msgid "ObjectCollection.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:43 -msgid "ComparatorInterface.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:49 -msgid "DateComparator.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:55 -msgid "IdComparator.php" -msgstr "" - #: ../../Behavioral/Strategy/README.rst:62 msgid "Test" msgstr "" - -#: ../../Behavioral/Strategy/README.rst:64 -msgid "Tests/StrategyTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/es/LC_MESSAGES/Behavioral/TemplateMethod/README.po index f603e75..3cca2b3 100644 --- a/locale/es/LC_MESSAGES/Behavioral/TemplateMethod/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -62,22 +62,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/TemplateMethod/README.rst:36 -msgid "Journey.php" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:42 -msgid "BeachJourney.php" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:48 -msgid "CityJourney.php" -msgstr "" - #: ../../Behavioral/TemplateMethod/README.rst:55 msgid "Test" msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:57 -msgid "Tests/JourneyTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/es/LC_MESSAGES/Behavioral/Visitor/README.po index 563d992..50f3b70 100644 --- a/locale/es/LC_MESSAGES/Behavioral/Visitor/README.po +++ b/locale/es/LC_MESSAGES/Behavioral/Visitor/README.po @@ -46,30 +46,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Behavioral/Visitor/README.rst:28 -msgid "RoleVisitorInterface.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:34 -msgid "RolePrintVisitor.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:40 -msgid "Role.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:46 -msgid "User.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:52 -msgid "Group.php" -msgstr "" - #: ../../Behavioral/Visitor/README.rst:59 msgid "Test" msgstr "" - -#: ../../Behavioral/Visitor/README.rst:61 -msgid "Tests/VisitorTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/es/LC_MESSAGES/Creational/AbstractFactory/README.po index d15d864..0e0c68a 100644 --- a/locale/es/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/es/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -45,50 +45,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:24 -msgid "AbstractFactory.php" -msgstr "AbstractFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:30 -msgid "JsonFactory.php" -msgstr "JsonFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:36 -msgid "HtmlFactory.php" -msgstr "HtmlFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:42 -msgid "MediaInterface.php" -msgstr "MediaInterface.php" - -#: ../../Creational/AbstractFactory/README.rst:48 -msgid "Picture.php" -msgstr "Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:54 -msgid "Text.php" -msgstr "Text.php" - -#: ../../Creational/AbstractFactory/README.rst:60 -msgid "Json/Picture.php" -msgstr "Json/Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:66 -msgid "Json/Text.php" -msgstr "Json/Text.php" - -#: ../../Creational/AbstractFactory/README.rst:72 -msgid "Html/Picture.php" -msgstr "Html/Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:78 -msgid "Html/Text.php" -msgstr "Html/Text.php" - #: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Test" - -#: ../../Creational/AbstractFactory/README.rst:87 -msgid "Tests/AbstractFactoryTest.php" -msgstr "Tests/AbstractFactoryTest.php" diff --git a/locale/es/LC_MESSAGES/Creational/Builder/README.po b/locale/es/LC_MESSAGES/Creational/Builder/README.po index 9458005..7d2f6ca 100644 --- a/locale/es/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/es/LC_MESSAGES/Creational/Builder/README.po @@ -72,50 +72,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Creational/Builder/README.rst:35 -msgid "Director.php" -msgstr "Director.php" - -#: ../../Creational/Builder/README.rst:41 -msgid "BuilderInterface.php" -msgstr "BuilderInterface.php" - -#: ../../Creational/Builder/README.rst:47 -msgid "BikeBuilder.php" -msgstr "BikeBuilder.php" - -#: ../../Creational/Builder/README.rst:53 -msgid "CarBuilder.php" -msgstr "CarBuilder.php" - -#: ../../Creational/Builder/README.rst:59 -msgid "Parts/Vehicle.php" -msgstr "Parts/Vehicle.php" - -#: ../../Creational/Builder/README.rst:65 -msgid "Parts/Bike.php" -msgstr "Parts/Bike.php" - -#: ../../Creational/Builder/README.rst:71 -msgid "Parts/Car.php" -msgstr "Parts/Car.php" - -#: ../../Creational/Builder/README.rst:77 -msgid "Parts/Engine.php" -msgstr "Parts/Engine.php" - -#: ../../Creational/Builder/README.rst:83 -msgid "Parts/Wheel.php" -msgstr "Parts/Wheel.php" - -#: ../../Creational/Builder/README.rst:89 -msgid "Parts/Door.php" -msgstr "Parts/Door.php" - #: ../../Creational/Builder/README.rst:96 msgid "Test" msgstr "Test" - -#: ../../Creational/Builder/README.rst:98 -msgid "Tests/DirectorTest.php" -msgstr "Tests/DirectorTest.php" diff --git a/locale/es/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/es/LC_MESSAGES/Creational/FactoryMethod/README.po index 2767257..9ff261a 100644 --- a/locale/es/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/es/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -36,7 +36,7 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" #: ../../Creational/FactoryMethod/README.rst:15 @@ -60,38 +60,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Creational/FactoryMethod/README.rst:31 -msgid "FactoryMethod.php" -msgstr "FactoryMethod.php" - -#: ../../Creational/FactoryMethod/README.rst:37 -msgid "ItalianFactory.php" -msgstr "ItalianFactory.php" - -#: ../../Creational/FactoryMethod/README.rst:43 -msgid "GermanFactory.php" -msgstr "GermanFactory.php" - -#: ../../Creational/FactoryMethod/README.rst:49 -msgid "VehicleInterface.php" -msgstr "VehicleInterface.php" - -#: ../../Creational/FactoryMethod/README.rst:55 -msgid "Porsche.php" -msgstr "Porsche.php" - -#: ../../Creational/FactoryMethod/README.rst:61 -msgid "Bicycle.php" -msgstr "Bicycle.php" - -#: ../../Creational/FactoryMethod/README.rst:67 -msgid "Ferrari.php" -msgstr "Ferrari.php" - #: ../../Creational/FactoryMethod/README.rst:74 msgid "Test" msgstr "Test" - -#: ../../Creational/FactoryMethod/README.rst:76 -msgid "Tests/FactoryMethodTest.php" -msgstr "Tests/FactoryMethodTest.php" diff --git a/locale/es/LC_MESSAGES/Creational/Multiton/README.po b/locale/es/LC_MESSAGES/Creational/Multiton/README.po index 9ff0c3a..a877fb6 100644 --- a/locale/es/LC_MESSAGES/Creational/Multiton/README.po +++ b/locale/es/LC_MESSAGES/Creational/Multiton/README.po @@ -62,10 +62,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Creational/Multiton/README.rst:31 -msgid "Multiton.php" -msgstr "Multiton.php" - #: ../../Creational/Multiton/README.rst:38 msgid "Test" msgstr "Test" diff --git a/locale/es/LC_MESSAGES/Creational/Pool/README.po b/locale/es/LC_MESSAGES/Creational/Pool/README.po index 9ddb8c9..db1ef6d 100644 --- a/locale/es/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/es/LC_MESSAGES/Creational/Pool/README.po @@ -69,26 +69,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Creational/Pool/README.rst:36 -msgid "Pool.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:42 -msgid "Processor.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:48 -msgid "Worker.php" -msgstr "" - #: ../../Creational/Pool/README.rst:55 msgid "Test" msgstr "" - -#: ../../Creational/Pool/README.rst:57 -msgid "Tests/PoolTest.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:63 -msgid "Tests/TestWorker.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Creational/Prototype/README.po b/locale/es/LC_MESSAGES/Creational/Prototype/README.po index 422c3ef..87f3561 100644 --- a/locale/es/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/es/LC_MESSAGES/Creational/Prototype/README.po @@ -53,22 +53,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Creational/Prototype/README.rst:28 -msgid "index.php" -msgstr "index.php" - -#: ../../Creational/Prototype/README.rst:34 -msgid "BookPrototype.php" -msgstr "BookPrototype.php" - -#: ../../Creational/Prototype/README.rst:40 -msgid "BarBookPrototype.php" -msgstr "BarBookPrototype.php" - -#: ../../Creational/Prototype/README.rst:46 -msgid "FooBookPrototype.php" -msgstr "FooBookPrototype.php" - #: ../../Creational/Prototype/README.rst:53 msgid "Test" msgstr "Test" diff --git a/locale/es/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/es/LC_MESSAGES/Creational/SimpleFactory/README.po index 1535b3a..021178a 100644 --- a/locale/es/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/es/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -47,26 +47,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Creational/SimpleFactory/README.rst:27 -msgid "SimpleFactory.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:33 -msgid "VehicleInterface.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:39 -msgid "Bicycle.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:45 -msgid "Scooter.php" -msgstr "" - #: ../../Creational/SimpleFactory/README.rst:52 msgid "Test" msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:54 -msgid "Tests/SimpleFactoryTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Creational/Singleton/README.po b/locale/es/LC_MESSAGES/Creational/Singleton/README.po index 9f0dfb2..c53dcaa 100644 --- a/locale/es/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/es/LC_MESSAGES/Creational/Singleton/README.po @@ -71,14 +71,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar este código en `GitHub`_" -#: ../../Creational/Singleton/README.rst:34 -msgid "Singleton.php" -msgstr "Singleton.php" - #: ../../Creational/Singleton/README.rst:41 msgid "Test" msgstr "Test" - -#: ../../Creational/Singleton/README.rst:43 -msgid "Tests/SingletonTest.php" -msgstr "Tests/SingletonTest.php" diff --git a/locale/es/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/es/LC_MESSAGES/Creational/StaticFactory/README.po index 038d1e4..45e367d 100644 --- a/locale/es/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/es/LC_MESSAGES/Creational/StaticFactory/README.po @@ -59,26 +59,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Creational/StaticFactory/README.rst:31 -msgid "StaticFactory.php" -msgstr "StaticFactory.php" - -#: ../../Creational/StaticFactory/README.rst:37 -msgid "FormatterInterface.php" -msgstr "FormatterInterface.php" - -#: ../../Creational/StaticFactory/README.rst:43 -msgid "FormatString.php" -msgstr "FormatString.php" - -#: ../../Creational/StaticFactory/README.rst:49 -msgid "FormatNumber.php" -msgstr "FormatNumber.php" - #: ../../Creational/StaticFactory/README.rst:56 msgid "Test" msgstr "Test" - -#: ../../Creational/StaticFactory/README.rst:58 -msgid "Tests/StaticFactoryTest.php" -msgstr "Tests/StaticFactoryTest.php" diff --git a/locale/es/LC_MESSAGES/More/Delegation/README.po b/locale/es/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index 0166041..0000000 --- a/locale/es/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,80 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2015, Dominik Liebler and contributors -# This file is distributed under the same license as the DesignPatternsPHP -# package. -# FIRST AUTHOR , 2016. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-03 23:59+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" - -#: ../../More/Delegation/README.rst:2 -msgid "`Delegation`__" -msgstr "" - -#: ../../More/Delegation/README.rst:5 -msgid "Purpose" -msgstr "" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing" -" one of its stated tasks, delegates that task to an associated helper " -"object. In this case TeamLead professes to writeCode and Usage uses this," -" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode " -"function. This inverts the responsibility so that Usage is unknowingly " -"executing writeBadCode." -msgstr "" - -#: ../../More/Delegation/README.rst:10 -msgid "Examples" -msgstr "" - -#: ../../More/Delegation/README.rst:12 -msgid "" -"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to " -"see it all tied together." -msgstr "" - -#: ../../More/Delegation/README.rst:15 -msgid "UML Diagram" -msgstr "" - -#: ../../More/Delegation/README.rst:22 -msgid "Code" -msgstr "" - -#: ../../More/Delegation/README.rst:24 -msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar el código en `GitHub`_" - -#: ../../More/Delegation/README.rst:26 -msgid "Usage.php" -msgstr "" - -#: ../../More/Delegation/README.rst:32 -msgid "TeamLead.php" -msgstr "" - -#: ../../More/Delegation/README.rst:38 -msgid "JuniorDeveloper.php" -msgstr "" - -#: ../../More/Delegation/README.rst:45 -msgid "Test" -msgstr "" - -#: ../../More/Delegation/README.rst:47 -msgid "Tests/DelegationTest.php" -msgstr "" - diff --git a/locale/es/LC_MESSAGES/More/EAV/README.po b/locale/es/LC_MESSAGES/More/EAV/README.po index e43d2a8..f305f0a 100644 --- a/locale/es/LC_MESSAGES/More/EAV/README.po +++ b/locale/es/LC_MESSAGES/More/EAV/README.po @@ -64,15 +64,3 @@ msgstr "Puedes encontrar el código en `GitHub`_" msgid "Test" msgstr "" -#: ../../More/EAV/README.rst:104 -msgid "Tests/EntityTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:110 -msgid "Tests/AttributeTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:116 -msgid "Tests/ValueTest.php" -msgstr "" - diff --git a/locale/es/LC_MESSAGES/More/Repository/README.po b/locale/es/LC_MESSAGES/More/Repository/README.po index 569d52b..91048c9 100644 --- a/locale/es/LC_MESSAGES/More/Repository/README.po +++ b/locale/es/LC_MESSAGES/More/Repository/README.po @@ -55,22 +55,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../More/Repository/README.rst:34 -msgid "Post.php" -msgstr "" - -#: ../../More/Repository/README.rst:40 -msgid "PostRepository.php" -msgstr "" - -#: ../../More/Repository/README.rst:46 -msgid "Storage.php" -msgstr "" - -#: ../../More/Repository/README.rst:52 -msgid "MemoryStorage.php" -msgstr "" - #: ../../More/Repository/README.rst:59 msgid "Test" msgstr "" diff --git a/locale/es/LC_MESSAGES/More/ServiceLocator/README.po b/locale/es/LC_MESSAGES/More/ServiceLocator/README.po index 63dc0b8..5a0633e 100644 --- a/locale/es/LC_MESSAGES/More/ServiceLocator/README.po +++ b/locale/es/LC_MESSAGES/More/ServiceLocator/README.po @@ -61,34 +61,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../More/ServiceLocator/README.rst:38 -msgid "ServiceLocatorInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:44 -msgid "ServiceLocator.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:50 -msgid "LogServiceInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:56 -msgid "LogService.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:62 -msgid "DatabaseServiceInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:68 -msgid "DatabaseService.php" -msgstr "" - #: ../../More/ServiceLocator/README.rst:75 msgid "Test" msgstr "" - -#: ../../More/ServiceLocator/README.rst:77 -msgid "Tests/ServiceLocatorTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/Adapter/README.po b/locale/es/LC_MESSAGES/Structural/Adapter/README.po index c71d572..227fa2a 100644 --- a/locale/es/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/es/LC_MESSAGES/Structural/Adapter/README.po @@ -53,30 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/Adapter/README.rst:31 -msgid "PaperBookInterface.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:37 -msgid "Book.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:43 -msgid "EBookAdapter.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:49 -msgid "EBookInterface.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:55 -msgid "Kindle.php" -msgstr "" - #: ../../Structural/Adapter/README.rst:62 msgid "Test" msgstr "" - -#: ../../Structural/Adapter/README.rst:64 -msgid "Tests/AdapterTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/Bridge/README.po b/locale/es/LC_MESSAGES/Structural/Bridge/README.po index 952a5ba..ce14366 100644 --- a/locale/es/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/es/LC_MESSAGES/Structural/Bridge/README.po @@ -45,34 +45,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/Bridge/README.rst:28 -msgid "Workshop.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:34 -msgid "Assemble.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:40 -msgid "Produce.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:46 -msgid "Vehicle.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:52 -msgid "Motorcycle.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:58 -msgid "Car.php" -msgstr "" - #: ../../Structural/Bridge/README.rst:65 msgid "Test" msgstr "" - -#: ../../Structural/Bridge/README.rst:67 -msgid "Tests/BridgeTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/Composite/README.po b/locale/es/LC_MESSAGES/Structural/Composite/README.po index 30191eb..020a683 100644 --- a/locale/es/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/es/LC_MESSAGES/Structural/Composite/README.po @@ -53,26 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/Composite/README.rst:31 -msgid "FormElement.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:37 -msgid "Form.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:43 -msgid "InputElement.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:49 -msgid "TextElement.php" -msgstr "" - #: ../../Structural/Composite/README.rst:56 msgid "Test" msgstr "" - -#: ../../Structural/Composite/README.rst:58 -msgid "Tests/CompositeTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/DataMapper/README.po b/locale/es/LC_MESSAGES/Structural/DataMapper/README.po index 2834de4..7045650 100644 --- a/locale/es/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/es/LC_MESSAGES/Structural/DataMapper/README.po @@ -60,18 +60,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/DataMapper/README.rst:38 -msgid "User.php" -msgstr "" - -#: ../../Structural/DataMapper/README.rst:44 -msgid "UserMapper.php" -msgstr "" - #: ../../Structural/DataMapper/README.rst:51 msgid "Test" msgstr "" - -#: ../../Structural/DataMapper/README.rst:53 -msgid "Tests/DataMapperTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/Decorator/README.po b/locale/es/LC_MESSAGES/Structural/Decorator/README.po index ccbccc5..419785d 100644 --- a/locale/es/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/es/LC_MESSAGES/Structural/Decorator/README.po @@ -49,30 +49,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/Decorator/README.rst:28 -msgid "RendererInterface.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:34 -msgid "Webservice.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:40 -msgid "Decorator.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:46 -msgid "RenderInXml.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:52 -msgid "RenderInJson.php" -msgstr "" - #: ../../Structural/Decorator/README.rst:59 msgid "Test" msgstr "" - -#: ../../Structural/Decorator/README.rst:61 -msgid "Tests/DecoratorTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/es/LC_MESSAGES/Structural/DependencyInjection/README.po index 2c5dbde..6da7504 100644 --- a/locale/es/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/es/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -78,30 +78,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/DependencyInjection/README.rst:48 -msgid "AbstractConfig.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:54 -msgid "Parameters.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:60 -msgid "ArrayConfig.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:66 -msgid "Connection.php" -msgstr "" - #: ../../Structural/DependencyInjection/README.rst:73 msgid "Test" msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:75 -msgid "Tests/DependencyInjectionTest.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:81 -msgid "Tests/config.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/Facade/README.po b/locale/es/LC_MESSAGES/Structural/Facade/README.po index 2f4d4d4..70bb318 100644 --- a/locale/es/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/es/LC_MESSAGES/Structural/Facade/README.po @@ -66,22 +66,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/Facade/README.rst:38 -msgid "Facade.php" -msgstr "" - -#: ../../Structural/Facade/README.rst:44 -msgid "OsInterface.php" -msgstr "" - -#: ../../Structural/Facade/README.rst:50 -msgid "BiosInterface.php" -msgstr "" - #: ../../Structural/Facade/README.rst:57 msgid "Test" msgstr "" - -#: ../../Structural/Facade/README.rst:59 -msgid "Tests/FacadeTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/es/LC_MESSAGES/Structural/FluentInterface/README.po index 9ea7f40..3b9f449 100644 --- a/locale/es/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/es/LC_MESSAGES/Structural/FluentInterface/README.po @@ -53,14 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/FluentInterface/README.rst:30 -msgid "Sql.php" -msgstr "" - #: ../../Structural/FluentInterface/README.rst:37 msgid "Test" msgstr "" - -#: ../../Structural/FluentInterface/README.rst:39 -msgid "Tests/FluentInterfaceTest.php" -msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/Flyweight/README.po b/locale/es/LC_MESSAGES/Structural/Flyweight/README.po index 9c175aa..fb2bc3d 100644 --- a/locale/es/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/es/LC_MESSAGES/Structural/Flyweight/README.po @@ -47,23 +47,7 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/Flyweight/README.rst:23 -msgid "FlyweightInterface.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:29 -msgid "CharacterFlyweight.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:35 -msgid "FlyweightFactory.php" -msgstr "" - #: ../../Structural/Flyweight/README.rst:42 msgid "Test" msgstr "" -#: ../../Structural/Flyweight/README.rst:44 -msgid "Tests/FlyweightTest.php" -msgstr "" - diff --git a/locale/es/LC_MESSAGES/Structural/Proxy/README.po b/locale/es/LC_MESSAGES/Structural/Proxy/README.po index e1a2c04..7941261 100644 --- a/locale/es/LC_MESSAGES/Structural/Proxy/README.po +++ b/locale/es/LC_MESSAGES/Structural/Proxy/README.po @@ -46,14 +46,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/Proxy/README.rst:28 -msgid "Record.php" -msgstr "" - -#: ../../Structural/Proxy/README.rst:34 -msgid "RecordProxy.php" -msgstr "" - #: ../../Structural/Proxy/README.rst:41 msgid "Test" msgstr "" diff --git a/locale/es/LC_MESSAGES/Structural/Registry/README.po b/locale/es/LC_MESSAGES/Structural/Registry/README.po index 420508f..3529a0d 100644 --- a/locale/es/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/es/LC_MESSAGES/Structural/Registry/README.po @@ -54,14 +54,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "Puedes encontrar el código en `GitHub`_" -#: ../../Structural/Registry/README.rst:31 -msgid "Registry.php" -msgstr "" - #: ../../Structural/Registry/README.rst:38 msgid "Test" msgstr "" - -#: ../../Structural/Registry/README.rst:40 -msgid "Tests/RegistryTest.php" -msgstr "" diff --git a/locale/es_MX/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/es_MX/LC_MESSAGES/Creational/FactoryMethod/README.po index 161f644..8945664 100644 --- a/locale/es_MX/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/es_MX/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -38,7 +38,7 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the Dependency " -"Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" "Este es un patrón \"real\" de diseño porque realiza el Principio de " "Inversión de Dependencia, también conocido como la \"D\" de los principios S." diff --git a/locale/es_MX/LC_MESSAGES/More/Delegation/README.po b/locale/es_MX/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index 0485555..0000000 --- a/locale/es_MX/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,72 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-23 12:56-0500\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"X-Generator: Poedit 1.8.9\n" -"Last-Translator: Axel Pardemann \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Language: es_MX\n" - -#: ../../More/Delegation/README.rst:1 -msgid "Delegation" -msgstr "Delegación" - -#: ../../More/Delegation/README.rst:4 -msgid "Purpose" -msgstr "Propósito" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing " -"one of its stated tasks, delegates that task to an associated helper object. " -"In this case TeamLead professes to writeCode and Usage uses this, while " -"TeamLead delegates writeCode to JuniorDeveloper's writeBadCode function. " -"This inverts the responsibility so that Usage is unknowingly executing " -"writeBadCode." -msgstr "" -"Demostrar el patrón Delegador, en el cual un objeto, en vez de desempeñar " -"una de sus tareas asignadas, delega esta tarea a un objeto de ayuda " -"asociado. En este caso *TeamLead* (líder de equipo) establece *writeCode* " -"(escribe código) y *Usage* (uso) utiliza esta función, mientras que " -"*TeamLead* delega *writeCode* a JuniorDeveloper (desarrolaldor junior) a " -"través de la funcióin *writeBadCode* (escribe mal código). Esto invierte la " -"responsabilidad de tal manera que *Usage* está ejecutando *writeBadCode* sin " -"saberlo." - -#: ../../More/Delegation/README.rst:13 -msgid "Examples" -msgstr "Ejemplos" - -#: ../../More/Delegation/README.rst:16 -msgid "" -"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to see " -"it all tied together." -msgstr "" -"Por favor revisa JuniorDeveloper.php, TeamLead.php y luego Usage.php para " -"ver como se integran en conjunto." - -#: ../../More/Delegation/README.rst:18 -msgid "UML Diagram" -msgstr "Diagrama UML" - -#: ../../More/Delegation/README.rst:22 -msgid "Alt Delegation UML Diagram" -msgstr "Alt Diagrama UML Delegacion" - -#: ../../More/Delegation/README.rst:25 -msgid "Code" -msgstr "Código" - -#: ../../More/Delegation/README.rst:28 -msgid "You can also find this code on `GitHub`_" -msgstr "Puedes encontrar este código también en `GitHub`_" - -#: ../../More/Delegation/README.rst:42 -msgid "Test" -msgstr "Pruebas" diff --git a/locale/pl/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/pl/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index a92163b..94d667f 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -74,26 +74,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/ChainOfResponsibilities/README.rst:36 -msgid "Request.php" -msgstr "Request.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:42 -msgid "Handler.php" -msgstr "Handler.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:48 -msgid "Responsible/SlowStorage.php" -msgstr "Responsible/SlowStorage.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:54 -msgid "Responsible/FastStorage.php" -msgstr "Responsible/FastStorage.php" - #: ../../Behavioral/ChainOfResponsibilities/README.rst:61 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:63 -msgid "Tests/ChainTest.php" -msgstr "Tests/ChainTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/Command/README.po b/locale/pl/LC_MESSAGES/Behavioral/Command/README.po index 12d1269..0c6eaf1 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/Command/README.po @@ -86,26 +86,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/Command/README.rst:43 -msgid "CommandInterface.php" -msgstr "CommandInterface.php" - -#: ../../Behavioral/Command/README.rst:49 -msgid "HelloCommand.php" -msgstr "HelloCommand.php" - -#: ../../Behavioral/Command/README.rst:55 -msgid "Receiver.php" -msgstr "Receiver.php" - -#: ../../Behavioral/Command/README.rst:61 -msgid "Invoker.php" -msgstr "Invoker.php" - #: ../../Behavioral/Command/README.rst:68 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/Command/README.rst:70 -msgid "Tests/CommandTest.php" -msgstr "Tests/CommandTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/pl/LC_MESSAGES/Behavioral/Iterator/README.po index 798bae0..0a7f988 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/Iterator/README.po @@ -64,26 +64,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/Iterator/README.rst:36 -msgid "Book.php" -msgstr "Book.php" - -#: ../../Behavioral/Iterator/README.rst:42 -msgid "BookList.php" -msgstr "BookList.php" - -#: ../../Behavioral/Iterator/README.rst:48 -msgid "BookListIterator.php" -msgstr "BookListIterator.php" - -#: ../../Behavioral/Iterator/README.rst:54 -msgid "BookListReverseIterator.php" -msgstr "BookListReverseIterator.php" - #: ../../Behavioral/Iterator/README.rst:61 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/Iterator/README.rst:63 -msgid "Tests/IteratorTest.php" -msgstr "Tests/IteratorTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/pl/LC_MESSAGES/Behavioral/Mediator/README.po index 563e961..1673979 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/Mediator/README.po @@ -55,34 +55,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/Mediator/README.rst:27 -msgid "MediatorInterface.php" -msgstr "MediatorInterface.php" - -#: ../../Behavioral/Mediator/README.rst:33 -msgid "Mediator.php" -msgstr "Mediator.php" - -#: ../../Behavioral/Mediator/README.rst:39 -msgid "Colleague.php" -msgstr "Colleague.php" - -#: ../../Behavioral/Mediator/README.rst:45 -msgid "Subsystem/Client.php" -msgstr "Subsystem/Client.php" - -#: ../../Behavioral/Mediator/README.rst:51 -msgid "Subsystem/Database.php" -msgstr "Subsystem/Database.php" - -#: ../../Behavioral/Mediator/README.rst:57 -msgid "Subsystem/Server.php" -msgstr "Subsystem/Server.php" - #: ../../Behavioral/Mediator/README.rst:64 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/Mediator/README.rst:66 -msgid "Tests/MediatorTest.php" -msgstr "Tests/MediatorTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/Memento/README.po b/locale/pl/LC_MESSAGES/Behavioral/Memento/README.po index 73bcb41..4f53161 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/Memento/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/Memento/README.po @@ -116,22 +116,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/Memento/README.rst:57 -msgid "Memento.php" -msgstr "Memento.php" - -#: ../../Behavioral/Memento/README.rst:63 -msgid "Originator.php" -msgstr "Originator.php" - -#: ../../Behavioral/Memento/README.rst:69 -msgid "Caretaker.php" -msgstr "Caretaker.php" - #: ../../Behavioral/Memento/README.rst:76 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/Memento/README.rst:78 -msgid "Tests/MementoTest.php" -msgstr "Tests/MementoTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/pl/LC_MESSAGES/Behavioral/NullObject/README.po index 8e3f5cb..5858337 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/NullObject/README.po @@ -84,26 +84,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/NullObject/README.rst:41 -msgid "Service.php" -msgstr "Service.php" - -#: ../../Behavioral/NullObject/README.rst:47 -msgid "LoggerInterface.php" -msgstr "LoggerInterface.php" - -#: ../../Behavioral/NullObject/README.rst:53 -msgid "PrintLogger.php" -msgstr "PrintLogger.php" - -#: ../../Behavioral/NullObject/README.rst:59 -msgid "NullLogger.php" -msgstr "NullLogger.php" - #: ../../Behavioral/NullObject/README.rst:66 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/NullObject/README.rst:68 -msgid "Tests/LoggerTest.php" -msgstr "Tests/LoggerTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/Observer/README.po b/locale/pl/LC_MESSAGES/Behavioral/Observer/README.po index aae3a67..624cc36 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/Observer/README.po @@ -65,18 +65,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/Observer/README.rst:36 -msgid "User.php" -msgstr "User.php" - -#: ../../Behavioral/Observer/README.rst:42 -msgid "UserObserver.php" -msgstr "UserObserver.php" - #: ../../Behavioral/Observer/README.rst:49 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/Observer/README.rst:51 -msgid "Tests/ObserverTest.php" -msgstr "Tests/ObserverTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/Specification/README.po b/locale/pl/LC_MESSAGES/Behavioral/Specification/README.po index 5f4bb7e..510264d 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/Specification/README.po @@ -50,38 +50,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/Specification/README.rst:29 -msgid "Item.php" -msgstr "Item.php" - -#: ../../Behavioral/Specification/README.rst:35 -msgid "SpecificationInterface.php" -msgstr "SpecificationInterface.php" - -#: ../../Behavioral/Specification/README.rst:41 -msgid "AbstractSpecification.php" -msgstr "AbstractSpecification.php" - -#: ../../Behavioral/Specification/README.rst:47 -msgid "Either.php" -msgstr "Either.php" - -#: ../../Behavioral/Specification/README.rst:53 -msgid "PriceSpecification.php" -msgstr "PriceSpecification.php" - -#: ../../Behavioral/Specification/README.rst:59 -msgid "Plus.php" -msgstr "Plus.php" - -#: ../../Behavioral/Specification/README.rst:65 -msgid "Not.php" -msgstr "Not.php" - #: ../../Behavioral/Specification/README.rst:72 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/Specification/README.rst:74 -msgid "Tests/SpecificationTest.php" -msgstr "Tests/SpecificationTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/State/README.po b/locale/pl/LC_MESSAGES/Behavioral/State/README.po index 386bb28..117c35c 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/State/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/State/README.po @@ -40,26 +40,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/State/README.rst:23 -msgid "OrderController.php" -msgstr "OrderController.php" - -#: ../../Behavioral/State/README.rst:29 -msgid "OrderFactory.php" -msgstr "OrderFactory.php" - -#: ../../Behavioral/State/README.rst:35 -msgid "OrderInterface.php" -msgstr "OrderInterface.php" - -#: ../../Behavioral/State/README.rst:41 -msgid "ShippingOrder.php" -msgstr "ShippingOrder.php" - -#: ../../Behavioral/State/README.rst:47 -msgid "CreateOrder.php" -msgstr "CreateOrder.php" - #: ../../Behavioral/State/README.rst:54 msgid "Test" msgstr "Testy" diff --git a/locale/pl/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/pl/LC_MESSAGES/Behavioral/Strategy/README.po index 600ad3c..cd9c095 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/Strategy/README.po @@ -72,26 +72,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/Strategy/README.rst:37 -msgid "Context.php" -msgstr "Context.php" - -#: ../../Behavioral/Strategy/README.rst:43 -msgid "ComparatorInterface.php" -msgstr "ComparatorInterface.php" - -#: ../../Behavioral/Strategy/README.rst:49 -msgid "DateComparator.php" -msgstr "DateComparator.php" - -#: ../../Behavioral/Strategy/README.rst:55 -msgid "IdComparator.php" -msgstr "IdComparator.php" - #: ../../Behavioral/Strategy/README.rst:62 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/Strategy/README.rst:64 -msgid "Tests/StrategyTest.php" -msgstr "Tests/StrategyTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/pl/LC_MESSAGES/Behavioral/TemplateMethod/README.po index 6105aeb..3b8067e 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/TemplateMethod/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -74,22 +74,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/TemplateMethod/README.rst:36 -msgid "Journey.php" -msgstr "Journey.php" - -#: ../../Behavioral/TemplateMethod/README.rst:42 -msgid "BeachJourney.php" -msgstr "BeachJourney.php" - -#: ../../Behavioral/TemplateMethod/README.rst:48 -msgid "CityJourney.php" -msgstr "CityJourney.php" - #: ../../Behavioral/TemplateMethod/README.rst:55 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/TemplateMethod/README.rst:57 -msgid "Tests/JourneyTest.php" -msgstr "Tests/JourneyTest.php" diff --git a/locale/pl/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/pl/LC_MESSAGES/Behavioral/Visitor/README.po index b43578e..947c064 100644 --- a/locale/pl/LC_MESSAGES/Behavioral/Visitor/README.po +++ b/locale/pl/LC_MESSAGES/Behavioral/Visitor/README.po @@ -51,30 +51,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Behavioral/Visitor/README.rst:28 -msgid "RoleVisitorInterface.php" -msgstr "RoleVisitorInterface.php" - -#: ../../Behavioral/Visitor/README.rst:34 -msgid "RolePrintVisitor.php" -msgstr "RolePrintVisitor.php" - -#: ../../Behavioral/Visitor/README.rst:40 -msgid "Role.php" -msgstr "Role.php" - -#: ../../Behavioral/Visitor/README.rst:46 -msgid "User.php" -msgstr "User.php" - -#: ../../Behavioral/Visitor/README.rst:52 -msgid "Group.php" -msgstr "Group.php" - #: ../../Behavioral/Visitor/README.rst:59 msgid "Test" msgstr "Testy" - -#: ../../Behavioral/Visitor/README.rst:61 -msgid "Tests/VisitorTest.php" -msgstr "Tests/VisitorTest.php" diff --git a/locale/pl/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/pl/LC_MESSAGES/Creational/AbstractFactory/README.po index 5598634..d5a4d2f 100644 --- a/locale/pl/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/pl/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -42,50 +42,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/AbstractFactory/README.rst:24 -msgid "AbstractFactory.php" -msgstr "AbstractFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:30 -msgid "JsonFactory.php" -msgstr "JsonFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:36 -msgid "HtmlFactory.php" -msgstr "HtmlFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:42 -msgid "MediaInterface.php" -msgstr "MediaInterface.php" - -#: ../../Creational/AbstractFactory/README.rst:48 -msgid "Picture.php" -msgstr "Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:54 -msgid "Text.php" -msgstr "Text.php" - -#: ../../Creational/AbstractFactory/README.rst:60 -msgid "Json/Picture.php" -msgstr "Json/Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:66 -msgid "Json/Text.php" -msgstr "Json/Text.php" - -#: ../../Creational/AbstractFactory/README.rst:72 -msgid "Html/Picture.php" -msgstr "Html/Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:78 -msgid "Html/Text.php" -msgstr "Html/Text.php" - #: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Testy" - -#: ../../Creational/AbstractFactory/README.rst:87 -msgid "Tests/AbstractFactoryTest.php" -msgstr "Tests/AbstractFactoryTest.php" diff --git a/locale/pl/LC_MESSAGES/Creational/Builder/README.po b/locale/pl/LC_MESSAGES/Creational/Builder/README.po index 37a016d..6360d67 100644 --- a/locale/pl/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/pl/LC_MESSAGES/Creational/Builder/README.po @@ -70,50 +70,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/Builder/README.rst:35 -msgid "Director.php" -msgstr "Director.php" - -#: ../../Creational/Builder/README.rst:41 -msgid "BuilderInterface.php" -msgstr "BuilderInterface.php" - -#: ../../Creational/Builder/README.rst:47 -msgid "BikeBuilder.php" -msgstr "BikeBuilder.php" - -#: ../../Creational/Builder/README.rst:53 -msgid "CarBuilder.php" -msgstr "CarBuilder.php" - -#: ../../Creational/Builder/README.rst:59 -msgid "Parts/Vehicle.php" -msgstr "Parts/Vehicle.php" - -#: ../../Creational/Builder/README.rst:65 -msgid "Parts/Bike.php" -msgstr "Parts/Bike.php" - -#: ../../Creational/Builder/README.rst:71 -msgid "Parts/Car.php" -msgstr "Parts/Car.php" - -#: ../../Creational/Builder/README.rst:77 -msgid "Parts/Engine.php" -msgstr "Parts/Engine.php" - -#: ../../Creational/Builder/README.rst:83 -msgid "Parts/Wheel.php" -msgstr "Parts/Wheel.php" - -#: ../../Creational/Builder/README.rst:89 -msgid "Parts/Door.php" -msgstr "Parts/Door.php" - #: ../../Creational/Builder/README.rst:96 msgid "Test" msgstr "Testy" - -#: ../../Creational/Builder/README.rst:98 -msgid "Tests/DirectorTest.php" -msgstr "Tests/DirectorTest.php" diff --git a/locale/pl/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/pl/LC_MESSAGES/Creational/FactoryMethod/README.po index 489f4c7..9e5980a 100644 --- a/locale/pl/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/pl/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -35,7 +35,7 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" "Ten wzorzec implementuje jedną z podstawowych zasad programowania obiektowego `SOLID `_ - \"D\" - zasadę odwrócenia zależności (ang. `Dependency inversion principle`)." @@ -59,38 +59,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/FactoryMethod/README.rst:31 -msgid "FactoryMethod.php" -msgstr "FactoryMethod.php" - -#: ../../Creational/FactoryMethod/README.rst:37 -msgid "ItalianFactory.php" -msgstr "ItalianFactory.php" - -#: ../../Creational/FactoryMethod/README.rst:43 -msgid "GermanFactory.php" -msgstr "GermanFactory.php" - -#: ../../Creational/FactoryMethod/README.rst:49 -msgid "VehicleInterface.php" -msgstr "VehicleInterface.php" - -#: ../../Creational/FactoryMethod/README.rst:55 -msgid "Porsche.php" -msgstr "Porsche.php" - -#: ../../Creational/FactoryMethod/README.rst:61 -msgid "Bicycle.php" -msgstr "Bicycle.php" - -#: ../../Creational/FactoryMethod/README.rst:67 -msgid "Ferrari.php" -msgstr "Ferrari.php" - #: ../../Creational/FactoryMethod/README.rst:74 msgid "Test" msgstr "Testy" - -#: ../../Creational/FactoryMethod/README.rst:76 -msgid "Tests/FactoryMethodTest.php" -msgstr "Tests/FactoryMethodTest.php" diff --git a/locale/pl/LC_MESSAGES/Creational/Multiton/README.po b/locale/pl/LC_MESSAGES/Creational/Multiton/README.po index c13b708..ecc234c 100644 --- a/locale/pl/LC_MESSAGES/Creational/Multiton/README.po +++ b/locale/pl/LC_MESSAGES/Creational/Multiton/README.po @@ -61,10 +61,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/Multiton/README.rst:31 -msgid "Multiton.php" -msgstr "Multiton.php" - #: ../../Creational/Multiton/README.rst:38 msgid "Test" msgstr "Testy" diff --git a/locale/pl/LC_MESSAGES/Creational/Pool/README.po b/locale/pl/LC_MESSAGES/Creational/Pool/README.po index a02085a..76931ec 100644 --- a/locale/pl/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/pl/LC_MESSAGES/Creational/Pool/README.po @@ -73,26 +73,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/Pool/README.rst:36 -msgid "Pool.php" -msgstr "Pool.php" - -#: ../../Creational/Pool/README.rst:42 -msgid "Processor.php" -msgstr "Processor.php" - -#: ../../Creational/Pool/README.rst:48 -msgid "Worker.php" -msgstr "Worker.php" - #: ../../Creational/Pool/README.rst:55 msgid "Test" msgstr "Testy" - -#: ../../Creational/Pool/README.rst:57 -msgid "Tests/PoolTest.php" -msgstr "Tests/PoolTest.php" - -#: ../../Creational/Pool/README.rst:63 -msgid "Tests/TestWorker.php" -msgstr "Tests/TestWorker.php" diff --git a/locale/pl/LC_MESSAGES/Creational/Prototype/README.po b/locale/pl/LC_MESSAGES/Creational/Prototype/README.po index 48d2218..30f7d88 100644 --- a/locale/pl/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/pl/LC_MESSAGES/Creational/Prototype/README.po @@ -52,22 +52,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/Prototype/README.rst:28 -msgid "index.php" -msgstr "index.php" - -#: ../../Creational/Prototype/README.rst:34 -msgid "BookPrototype.php" -msgstr "BookPrototype.php" - -#: ../../Creational/Prototype/README.rst:40 -msgid "BarBookPrototype.php" -msgstr "BarBookPrototype.php" - -#: ../../Creational/Prototype/README.rst:46 -msgid "FooBookPrototype.php" -msgstr "FooBookPrototype.php" - #: ../../Creational/Prototype/README.rst:53 msgid "Test" msgstr "Testy" diff --git a/locale/pl/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/pl/LC_MESSAGES/Creational/SimpleFactory/README.po index 368b35e..f998517 100644 --- a/locale/pl/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/pl/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -45,26 +45,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/SimpleFactory/README.rst:27 -msgid "SimpleFactory.php" -msgstr "SimpleFactory.php" - -#: ../../Creational/SimpleFactory/README.rst:33 -msgid "VehicleInterface.php" -msgstr "VehicleInterface.php" - -#: ../../Creational/SimpleFactory/README.rst:39 -msgid "Bicycle.php" -msgstr "Bicycle.php" - -#: ../../Creational/SimpleFactory/README.rst:45 -msgid "Scooter.php" -msgstr "Scooter.php" - #: ../../Creational/SimpleFactory/README.rst:52 msgid "Test" msgstr "Testy" - -#: ../../Creational/SimpleFactory/README.rst:54 -msgid "Tests/SimpleFactoryTest.php" -msgstr "Tests/SimpleFactoryTest.php" diff --git a/locale/pl/LC_MESSAGES/Creational/Singleton/README.po b/locale/pl/LC_MESSAGES/Creational/Singleton/README.po index 15fe1be..849a38e 100644 --- a/locale/pl/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/pl/LC_MESSAGES/Creational/Singleton/README.po @@ -68,14 +68,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/Singleton/README.rst:34 -msgid "Singleton.php" -msgstr "Singleton.php" - #: ../../Creational/Singleton/README.rst:41 msgid "Test" msgstr "Testy" - -#: ../../Creational/Singleton/README.rst:43 -msgid "Tests/SingletonTest.php" -msgstr "Tests/SingletonTest.php" diff --git a/locale/pl/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/pl/LC_MESSAGES/Creational/StaticFactory/README.po index eb52b55..fb8ac9e 100644 --- a/locale/pl/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/pl/LC_MESSAGES/Creational/StaticFactory/README.po @@ -56,26 +56,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Creational/StaticFactory/README.rst:31 -msgid "StaticFactory.php" -msgstr "StaticFactory.php" - -#: ../../Creational/StaticFactory/README.rst:37 -msgid "FormatterInterface.php" -msgstr "FormatterInterface.php" - -#: ../../Creational/StaticFactory/README.rst:43 -msgid "FormatString.php" -msgstr "FormatString.php" - -#: ../../Creational/StaticFactory/README.rst:49 -msgid "FormatNumber.php" -msgstr "FormatNumber.php" - #: ../../Creational/StaticFactory/README.rst:56 msgid "Test" msgstr "Testy" - -#: ../../Creational/StaticFactory/README.rst:58 -msgid "Tests/StaticFactoryTest.php" -msgstr "Tests/StaticFactoryTest.php" diff --git a/locale/pl/LC_MESSAGES/More/Delegation/README.po b/locale/pl/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index 4a1482b..0000000 --- a/locale/pl/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,88 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2015, Dominik Liebler and contributors -# This file is distributed under the same license as the DesignPatternsPHP -# package. -# FIRST AUTHOR , 2016. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-03 23:59+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Nikita Strelkov \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" - -#: ../../More/Delegation/README.rst:2 -msgid "`Delegation`__" -msgstr "Delegacja (`Delegation`__)" - -#: ../../More/Delegation/README.rst:5 -msgid "Purpose" -msgstr "Przeznaczenie" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing" -" one of its stated tasks, delegates that task to an associated helper " -"object. In this case TeamLead professes to writeCode and Usage uses this," -" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode " -"function. This inverts the responsibility so that Usage is unknowingly " -"executing writeBadCode." -msgstr "" -"Ideą wzorca projektowego Delegacji jest przekazanie zadania, które obiekt delegujący " -"powinien wykonać (ze względu na zdefiniowaną w nim metodę) do innego, powiązanego " -"obiektu, który to zadanie wykonuje. W tym przykładzie klasa ``TeamLead`` posiada metodę " -"``writeCode()``, która jest wykorzystywana w klasie ``DelegationTest``. Jednak realizacja tej metody " -"tak na prawdę odbywa się poprzez metodę ``writeBadCode()`` w klasie ``JuniorDeveloper`` - obiekt klasy " -"``TeamLead`` wykonanie tej metody deleguje na obiekt klasy ``JuniorDeveloper``. W ten sposób test nieświadomie " -"uruchamia metodę ``writeBadCode()``." - -#: ../../More/Delegation/README.rst:10 -msgid "Examples" -msgstr "Przykłady" - -#: ../../More/Delegation/README.rst:12 -msgid "" -"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to " -"see it all tied together." -msgstr "" -"Sprawdź zawartość klasy ``JuniorDeveloper``, ``TeamLead`` oraz ``DelegationTest``, " -"aby zapoznać się z ideą działania tego wzorca." - -#: ../../More/Delegation/README.rst:15 -msgid "UML Diagram" -msgstr "Diagram UML" - -#: ../../More/Delegation/README.rst:22 -msgid "Code" -msgstr "Kod" - -#: ../../More/Delegation/README.rst:24 -msgid "You can also find this code on `GitHub`_" -msgstr "Ten kod znajdziesz również na `GitHub`_." - -#: ../../More/Delegation/README.rst:26 -msgid "Usage.php" -msgstr "Usage.php" - -#: ../../More/Delegation/README.rst:32 -msgid "TeamLead.php" -msgstr "TeamLead.php" - -#: ../../More/Delegation/README.rst:38 -msgid "JuniorDeveloper.php" -msgstr "JuniorDeveloper.php" - -#: ../../More/Delegation/README.rst:45 -msgid "Test" -msgstr "Testy" - -#: ../../More/Delegation/README.rst:47 -msgid "Tests/DelegationTest.php" -msgstr "Tests/DelegationTest.php" diff --git a/locale/pl/LC_MESSAGES/More/EAV/README.po b/locale/pl/LC_MESSAGES/More/EAV/README.po index 235db1a..94fec3e 100644 --- a/locale/pl/LC_MESSAGES/More/EAV/README.po +++ b/locale/pl/LC_MESSAGES/More/EAV/README.po @@ -69,15 +69,3 @@ msgstr "Ten kod znajdziesz również na `GitHub`_." msgid "Test" msgstr "Testy" -#: ../../More/EAV/README.rst:104 -msgid "Tests/EntityTest.php" -msgstr "Tests/EntityTest.php" - -#: ../../More/EAV/README.rst:110 -msgid "Tests/AttributeTest.php" -msgstr "Tests/AttributeTest.php" - -#: ../../More/EAV/README.rst:116 -msgid "Tests/ValueTest.php" -msgstr "Tests/ValueTest.php" - diff --git a/locale/pl/LC_MESSAGES/More/Repository/README.po b/locale/pl/LC_MESSAGES/More/Repository/README.po index 577c9dd..8823bf1 100644 --- a/locale/pl/LC_MESSAGES/More/Repository/README.po +++ b/locale/pl/LC_MESSAGES/More/Repository/README.po @@ -63,22 +63,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../More/Repository/README.rst:34 -msgid "Post.php" -msgstr "Post.php" - -#: ../../More/Repository/README.rst:40 -msgid "PostRepository.php" -msgstr "PostRepository.php" - -#: ../../More/Repository/README.rst:46 -msgid "Storage.php" -msgstr "Storage.php" - -#: ../../More/Repository/README.rst:52 -msgid "MemoryStorage.php" -msgstr "MemoryStorage.php" - #: ../../More/Repository/README.rst:59 msgid "Test" msgstr "Testy" diff --git a/locale/pl/LC_MESSAGES/More/ServiceLocator/README.po b/locale/pl/LC_MESSAGES/More/ServiceLocator/README.po index 44263ee..aff8949 100644 --- a/locale/pl/LC_MESSAGES/More/ServiceLocator/README.po +++ b/locale/pl/LC_MESSAGES/More/ServiceLocator/README.po @@ -87,34 +87,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../More/ServiceLocator/README.rst:38 -msgid "ServiceLocatorInterface.php" -msgstr "ServiceLocatorInterface.php" - -#: ../../More/ServiceLocator/README.rst:44 -msgid "ServiceLocator.php" -msgstr "ServiceLocator.php" - -#: ../../More/ServiceLocator/README.rst:50 -msgid "LogServiceInterface.php" -msgstr "LogServiceInterface.php" - -#: ../../More/ServiceLocator/README.rst:56 -msgid "LogService.php" -msgstr "LogService.php" - -#: ../../More/ServiceLocator/README.rst:62 -msgid "DatabaseServiceInterface.php" -msgstr "DatabaseServiceInterface.php" - -#: ../../More/ServiceLocator/README.rst:68 -msgid "DatabaseService.php" -msgstr "DatabaseService.php" - #: ../../More/ServiceLocator/README.rst:75 msgid "Test" msgstr "Testy" - -#: ../../More/ServiceLocator/README.rst:77 -msgid "Tests/ServiceLocatorTest.php" -msgstr "Tests/ServiceLocatorTest.php" diff --git a/locale/pl/LC_MESSAGES/Structural/Adapter/README.po b/locale/pl/LC_MESSAGES/Structural/Adapter/README.po index b0c4b23..8f39ac1 100644 --- a/locale/pl/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/pl/LC_MESSAGES/Structural/Adapter/README.po @@ -61,30 +61,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/Adapter/README.rst:31 -msgid "PaperBookInterface.php" -msgstr "PaperBookInterface.php" - -#: ../../Structural/Adapter/README.rst:37 -msgid "Book.php" -msgstr "Book.php" - -#: ../../Structural/Adapter/README.rst:43 -msgid "EBookAdapter.php" -msgstr "EBookAdapter.php" - -#: ../../Structural/Adapter/README.rst:49 -msgid "EBookInterface.php" -msgstr "EBookInterface.php" - -#: ../../Structural/Adapter/README.rst:55 -msgid "Kindle.php" -msgstr "Kindle.php" - #: ../../Structural/Adapter/README.rst:62 msgid "Test" msgstr "Testy" - -#: ../../Structural/Adapter/README.rst:64 -msgid "Tests/AdapterTest.php" -msgstr "Tests/AdapterTest.php" diff --git a/locale/pl/LC_MESSAGES/Structural/Bridge/README.po b/locale/pl/LC_MESSAGES/Structural/Bridge/README.po index 4e07f7f..1a19033 100644 --- a/locale/pl/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/pl/LC_MESSAGES/Structural/Bridge/README.po @@ -49,34 +49,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/Bridge/README.rst:28 -msgid "Workshop.php" -msgstr "Workshop.php" - -#: ../../Structural/Bridge/README.rst:34 -msgid "Assemble.php" -msgstr "Assemble.php" - -#: ../../Structural/Bridge/README.rst:40 -msgid "Produce.php" -msgstr "Produce.php" - -#: ../../Structural/Bridge/README.rst:46 -msgid "Vehicle.php" -msgstr "Vehicle.php" - -#: ../../Structural/Bridge/README.rst:52 -msgid "Motorcycle.php" -msgstr "Motorcycle.php" - -#: ../../Structural/Bridge/README.rst:58 -msgid "Car.php" -msgstr "Car.php" - #: ../../Structural/Bridge/README.rst:65 msgid "Test" msgstr "Testy" - -#: ../../Structural/Bridge/README.rst:67 -msgid "Tests/BridgeTest.php" -msgstr "Tests/BridgeTest.php" diff --git a/locale/pl/LC_MESSAGES/Structural/Composite/README.po b/locale/pl/LC_MESSAGES/Structural/Composite/README.po index f7eee16..4bc91aa 100644 --- a/locale/pl/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/pl/LC_MESSAGES/Structural/Composite/README.po @@ -61,26 +61,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/Composite/README.rst:31 -msgid "FormElement.php" -msgstr "FormElement.php" - -#: ../../Structural/Composite/README.rst:37 -msgid "Form.php" -msgstr "Form.php" - -#: ../../Structural/Composite/README.rst:43 -msgid "InputElement.php" -msgstr "InputElement.php" - -#: ../../Structural/Composite/README.rst:49 -msgid "TextElement.php" -msgstr "TextElement.php" - #: ../../Structural/Composite/README.rst:56 msgid "Test" msgstr "Testy" - -#: ../../Structural/Composite/README.rst:58 -msgid "Tests/CompositeTest.php" -msgstr "Tests/CompositeTest.php" diff --git a/locale/pl/LC_MESSAGES/Structural/DataMapper/README.po b/locale/pl/LC_MESSAGES/Structural/DataMapper/README.po index 080d29c..1ed5602 100644 --- a/locale/pl/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/pl/LC_MESSAGES/Structural/DataMapper/README.po @@ -72,18 +72,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/DataMapper/README.rst:38 -msgid "User.php" -msgstr "User.php" - -#: ../../Structural/DataMapper/README.rst:44 -msgid "UserMapper.php" -msgstr "UserMapper.php" - #: ../../Structural/DataMapper/README.rst:51 msgid "Test" msgstr "Testy" - -#: ../../Structural/DataMapper/README.rst:53 -msgid "Tests/DataMapperTest.php" -msgstr "Tests/DataMapperTest.php" diff --git a/locale/pl/LC_MESSAGES/Structural/Decorator/README.po b/locale/pl/LC_MESSAGES/Structural/Decorator/README.po index 5dbc472..664cd11 100644 --- a/locale/pl/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/pl/LC_MESSAGES/Structural/Decorator/README.po @@ -52,30 +52,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/Decorator/README.rst:28 -msgid "RendererInterface.php" -msgstr "RendererInterface.php" - -#: ../../Structural/Decorator/README.rst:34 -msgid "Webservice.php" -msgstr "Webservice.php" - -#: ../../Structural/Decorator/README.rst:40 -msgid "Decorator.php" -msgstr "Decorator.php" - -#: ../../Structural/Decorator/README.rst:46 -msgid "RenderInXml.php" -msgstr "RenderInXml.php" - -#: ../../Structural/Decorator/README.rst:52 -msgid "RenderInJson.php" -msgstr "RenderInJson.php" - #: ../../Structural/Decorator/README.rst:59 msgid "Test" msgstr "Testy" - -#: ../../Structural/Decorator/README.rst:61 -msgid "Tests/DecoratorTest.php" -msgstr "Tests/DecoratorTest.php" diff --git a/locale/pl/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/pl/LC_MESSAGES/Structural/DependencyInjection/README.po index 3f24034..e8ee6ea 100644 --- a/locale/pl/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/pl/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -99,30 +99,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/DependencyInjection/README.rst:48 -msgid "AbstractConfig.php" -msgstr "AbstractConfig.php" - -#: ../../Structural/DependencyInjection/README.rst:54 -msgid "Parameters.php" -msgstr "Parameters.php" - -#: ../../Structural/DependencyInjection/README.rst:60 -msgid "ArrayConfig.php" -msgstr "ArrayConfig.php" - -#: ../../Structural/DependencyInjection/README.rst:66 -msgid "Connection.php" -msgstr "Connection.php" - #: ../../Structural/DependencyInjection/README.rst:73 msgid "Test" msgstr "Testy" - -#: ../../Structural/DependencyInjection/README.rst:75 -msgid "Tests/DependencyInjectionTest.php" -msgstr "Tests/DependencyInjectionTest.php" - -#: ../../Structural/DependencyInjection/README.rst:81 -msgid "Tests/config.php" -msgstr "Tests/config.php" diff --git a/locale/pl/LC_MESSAGES/Structural/Facade/README.po b/locale/pl/LC_MESSAGES/Structural/Facade/README.po index 3cdeba5..fc1dcca 100644 --- a/locale/pl/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/pl/LC_MESSAGES/Structural/Facade/README.po @@ -82,22 +82,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/Facade/README.rst:38 -msgid "Facade.php" -msgstr "Facade.php" - -#: ../../Structural/Facade/README.rst:44 -msgid "OsInterface.php" -msgstr "OsInterface.php" - -#: ../../Structural/Facade/README.rst:50 -msgid "BiosInterface.php" -msgstr "BiosInterface.php" - #: ../../Structural/Facade/README.rst:57 msgid "Test" msgstr "Testy" - -#: ../../Structural/Facade/README.rst:59 -msgid "Tests/FacadeTest.php" -msgstr "Tests/FacadeTest.php" diff --git a/locale/pl/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/pl/LC_MESSAGES/Structural/FluentInterface/README.po index 34330d5..73f1719 100644 --- a/locale/pl/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/pl/LC_MESSAGES/Structural/FluentInterface/README.po @@ -58,14 +58,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/FluentInterface/README.rst:30 -msgid "Sql.php" -msgstr "Sql.php" - #: ../../Structural/FluentInterface/README.rst:37 msgid "Test" msgstr "Testy" - -#: ../../Structural/FluentInterface/README.rst:39 -msgid "Tests/FluentInterfaceTest.php" -msgstr "Tests/FluentInterfaceTest.php" diff --git a/locale/pl/LC_MESSAGES/Structural/Flyweight/README.po b/locale/pl/LC_MESSAGES/Structural/Flyweight/README.po index 1037b7d..26f386b 100644 --- a/locale/pl/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/pl/LC_MESSAGES/Structural/Flyweight/README.po @@ -51,23 +51,7 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/Flyweight/README.rst:23 -msgid "FlyweightInterface.php" -msgstr "FlyweightInterface.php" - -#: ../../Structural/Flyweight/README.rst:29 -msgid "CharacterFlyweight.php" -msgstr "CharacterFlyweight.php" - -#: ../../Structural/Flyweight/README.rst:35 -msgid "FlyweightFactory.php" -msgstr "FlyweightFactory.php" - #: ../../Structural/Flyweight/README.rst:42 msgid "Test" msgstr "Testy" -#: ../../Structural/Flyweight/README.rst:44 -msgid "Tests/FlyweightTest.php" -msgstr "Tests/FlyweightTest.php" - diff --git a/locale/pl/LC_MESSAGES/Structural/Proxy/README.po b/locale/pl/LC_MESSAGES/Structural/Proxy/README.po index e1204d6..52e1009 100644 --- a/locale/pl/LC_MESSAGES/Structural/Proxy/README.po +++ b/locale/pl/LC_MESSAGES/Structural/Proxy/README.po @@ -52,14 +52,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/Proxy/README.rst:28 -msgid "Record.php" -msgstr "Record.php" - -#: ../../Structural/Proxy/README.rst:34 -msgid "RecordProxy.php" -msgstr "RecordProxy.php" - #: ../../Structural/Proxy/README.rst:41 msgid "Test" msgstr "Testy" diff --git a/locale/pl/LC_MESSAGES/Structural/Registry/README.po b/locale/pl/LC_MESSAGES/Structural/Registry/README.po index 45b17a8..91136e0 100644 --- a/locale/pl/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/pl/LC_MESSAGES/Structural/Registry/README.po @@ -63,14 +63,6 @@ msgstr "Kod" msgid "You can also find this code on `GitHub`_" msgstr "Ten kod znajdziesz również na `GitHub`_." -#: ../../Structural/Registry/README.rst:31 -msgid "Registry.php" -msgstr "Registry.php" - #: ../../Structural/Registry/README.rst:38 msgid "Test" msgstr "Testy" - -#: ../../Structural/Registry/README.rst:40 -msgid "Tests/RegistryTest.php" -msgstr "Tests/RegistryTest.php" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index 19f8d8d..74da4e5 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -65,26 +65,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:36 -msgid "Request.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:42 -msgid "Handler.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:48 -msgid "Responsible/SlowStorage.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:54 -msgid "Responsible/FastStorage.php" -msgstr "" - #: ../../Behavioral/ChainOfResponsibilities/README.rst:61 msgid "Test" msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:63 -msgid "Tests/ChainTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/Command/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/Command/README.po index 158d346..e289808 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/Command/README.po @@ -74,26 +74,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Command/README.rst:43 -msgid "CommandInterface.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:49 -msgid "HelloCommand.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:55 -msgid "Receiver.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:61 -msgid "Invoker.php" -msgstr "" - #: ../../Behavioral/Command/README.rst:68 msgid "Test" msgstr "" - -#: ../../Behavioral/Command/README.rst:70 -msgid "Tests/CommandTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/Iterator/README.po index 25ccf3a..043f4f3 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/Iterator/README.po @@ -56,26 +56,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Iterator/README.rst:36 -msgid "Book.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:42 -msgid "BookList.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:48 -msgid "BookListIterator.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:54 -msgid "BookListReverseIterator.php" -msgstr "" - #: ../../Behavioral/Iterator/README.rst:61 msgid "Test" msgstr "" - -#: ../../Behavioral/Iterator/README.rst:63 -msgid "Tests/IteratorTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/Mediator/README.po index e9a44dd..58fdb1e 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/Mediator/README.po @@ -45,34 +45,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Mediator/README.rst:27 -msgid "MediatorInterface.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:33 -msgid "Mediator.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:39 -msgid "Colleague.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:45 -msgid "Subsystem/Client.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:51 -msgid "Subsystem/Database.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:57 -msgid "Subsystem/Server.php" -msgstr "" - #: ../../Behavioral/Mediator/README.rst:64 msgid "Test" msgstr "" - -#: ../../Behavioral/Mediator/README.rst:66 -msgid "Tests/MediatorTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/Memento/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/Memento/README.po index 13c073e..d09b54f 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/Memento/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/Memento/README.po @@ -102,26 +102,10 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Memento/README.rst:57 -msgid "Memento.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:63 -msgid "Originator.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:69 -msgid "Caretaker.php" -msgstr "" - #: ../../Behavioral/Memento/README.rst:76 msgid "Test" msgstr "" -#: ../../Behavioral/Memento/README.rst:78 -msgid "Tests/MementoTest.php" -msgstr "" - #. # diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/NullObject/README.po index a397fc5..4bdb431 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/NullObject/README.po @@ -78,26 +78,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/NullObject/README.rst:41 -msgid "Service.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:47 -msgid "LoggerInterface.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:53 -msgid "PrintLogger.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:59 -msgid "NullLogger.php" -msgstr "" - #: ../../Behavioral/NullObject/README.rst:66 msgid "Test" msgstr "" - -#: ../../Behavioral/NullObject/README.rst:68 -msgid "Tests/LoggerTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/Observer/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/Observer/README.po index 8a43616..a1b786a 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/Observer/README.po @@ -58,18 +58,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Observer/README.rst:36 -msgid "User.php" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:42 -msgid "UserObserver.php" -msgstr "" - #: ../../Behavioral/Observer/README.rst:49 msgid "Test" msgstr "" - -#: ../../Behavioral/Observer/README.rst:51 -msgid "Tests/ObserverTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/Specification/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/Specification/README.po index 7b1982b..64e14a8 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/Specification/README.po @@ -47,38 +47,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Specification/README.rst:29 -msgid "Item.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:35 -msgid "SpecificationInterface.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:41 -msgid "AbstractSpecification.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:47 -msgid "Either.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:53 -msgid "PriceSpecification.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:59 -msgid "Plus.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:65 -msgid "Not.php" -msgstr "" - #: ../../Behavioral/Specification/README.rst:72 msgid "Test" msgstr "" - -#: ../../Behavioral/Specification/README.rst:74 -msgid "Tests/SpecificationTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/State/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/State/README.po index 2ced881..8dfd381 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/State/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/State/README.po @@ -38,26 +38,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/State/README.rst:23 -msgid "OrderController.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:29 -msgid "OrderFactory.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:35 -msgid "OrderInterface.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:41 -msgid "ShippingOrder.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:47 -msgid "CreateOrder.php" -msgstr "" - #: ../../Behavioral/State/README.rst:54 msgid "Test" msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/Strategy/README.po index c3b9fea..0b60661 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/Strategy/README.po @@ -67,26 +67,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Strategy/README.rst:37 -msgid "ObjectCollection.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:43 -msgid "ComparatorInterface.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:49 -msgid "DateComparator.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:55 -msgid "IdComparator.php" -msgstr "" - #: ../../Behavioral/Strategy/README.rst:62 msgid "Test" msgstr "" - -#: ../../Behavioral/Strategy/README.rst:64 -msgid "Tests/StrategyTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/TemplateMethod/README.po index 331d234..66e4e9b 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/TemplateMethod/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -62,22 +62,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/TemplateMethod/README.rst:36 -msgid "Journey.php" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:42 -msgid "BeachJourney.php" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:48 -msgid "CityJourney.php" -msgstr "" - #: ../../Behavioral/TemplateMethod/README.rst:55 msgid "Test" msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:57 -msgid "Tests/JourneyTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/pt_BR/LC_MESSAGES/Behavioral/Visitor/README.po index 08784a3..62f65e1 100644 --- a/locale/pt_BR/LC_MESSAGES/Behavioral/Visitor/README.po +++ b/locale/pt_BR/LC_MESSAGES/Behavioral/Visitor/README.po @@ -46,30 +46,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Visitor/README.rst:28 -msgid "RoleVisitorInterface.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:34 -msgid "RolePrintVisitor.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:40 -msgid "Role.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:46 -msgid "User.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:52 -msgid "Group.php" -msgstr "" - #: ../../Behavioral/Visitor/README.rst:59 msgid "Test" msgstr "" - -#: ../../Behavioral/Visitor/README.rst:61 -msgid "Tests/VisitorTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/pt_BR/LC_MESSAGES/Creational/AbstractFactory/README.po index b005aac..4aed9f1 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -43,50 +43,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você pode encontrar o código no `Github`_" -#: ../../Creational/AbstractFactory/README.rst:24 -msgid "AbstractFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:30 -msgid "JsonFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:36 -msgid "HtmlFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:42 -msgid "MediaInterface.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:48 -msgid "Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:54 -msgid "Text.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:60 -msgid "Json/Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:66 -msgid "Json/Text.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:72 -msgid "Html/Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:78 -msgid "Html/Text.php" -msgstr "" - #: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:87 -msgid "Tests/AbstractFactoryTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/Builder/README.po b/locale/pt_BR/LC_MESSAGES/Creational/Builder/README.po index 78d55d6..1af2cb3 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/Builder/README.po @@ -66,50 +66,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você pode encontrar esse código no `Github`_" -#: ../../Creational/Builder/README.rst:35 -msgid "Director.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:41 -msgid "BuilderInterface.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:47 -msgid "BikeBuilder.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:53 -msgid "CarBuilder.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:59 -msgid "Parts/Vehicle.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:65 -msgid "Parts/Bike.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:71 -msgid "Parts/Car.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:77 -msgid "Parts/Engine.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:83 -msgid "Parts/Wheel.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:89 -msgid "Parts/Door.php" -msgstr "" - #: ../../Creational/Builder/README.rst:96 msgid "Test" msgstr "" - -#: ../../Creational/Builder/README.rst:98 -msgid "Tests/DirectorTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po index ed17024..5e18e72 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -35,10 +35,10 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" "Este padrão é um padrão de projetos de software \"real\" já que " -"trata o \"Princípio da inversão de dependências\" o \"D\" nos princípios S.O.L.I.D" +"trata o \"Princípio da inversão de dependências\" o \"D\" nos princípios SOLID" #: ../../Creational/FactoryMethod/README.rst:15 msgid "" @@ -60,38 +60,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você pode encontrar este código no `Github`_" -#: ../../Creational/FactoryMethod/README.rst:31 -msgid "FactoryMethod.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:37 -msgid "ItalianFactory.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:43 -msgid "GermanFactory.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:49 -msgid "VehicleInterface.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:55 -msgid "Porsche.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:61 -msgid "Bicycle.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:67 -msgid "Ferrari.php" -msgstr "" - #: ../../Creational/FactoryMethod/README.rst:74 msgid "Test" msgstr "Teste" - -#: ../../Creational/FactoryMethod/README.rst:76 -msgid "Tests/FactoryMethodTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/Multiton/README.po b/locale/pt_BR/LC_MESSAGES/Creational/Multiton/README.po index cef5d3c..6d1e011 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/Multiton/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/Multiton/README.po @@ -59,10 +59,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você também pode encontrar esse código no `GitHub`_" -#: ../../Creational/Multiton/README.rst:31 -msgid "Multiton.php" -msgstr "" - #: ../../Creational/Multiton/README.rst:38 msgid "Test" msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/Pool/README.po b/locale/pt_BR/LC_MESSAGES/Creational/Pool/README.po index 899f583..ec43dea 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/Pool/README.po @@ -56,26 +56,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/Pool/README.rst:36 -msgid "Pool.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:42 -msgid "Processor.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:48 -msgid "Worker.php" -msgstr "" - #: ../../Creational/Pool/README.rst:55 msgid "Test" msgstr "" - -#: ../../Creational/Pool/README.rst:57 -msgid "Tests/PoolTest.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:63 -msgid "Tests/TestWorker.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/Prototype/README.po b/locale/pt_BR/LC_MESSAGES/Creational/Prototype/README.po index 6ac1fe0..52e0db7 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/Prototype/README.po @@ -51,22 +51,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você também encontra este código no `GitHub`_" -#: ../../Creational/Prototype/README.rst:28 -msgid "index.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:34 -msgid "BookPrototype.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:40 -msgid "BarBookPrototype.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:46 -msgid "FooBookPrototype.php" -msgstr "" - #: ../../Creational/Prototype/README.rst:53 msgid "Test" msgstr "Teste" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/pt_BR/LC_MESSAGES/Creational/SimpleFactory/README.po index 836a31f..a34ef8e 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -51,26 +51,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você também pode encontrar esse código no `GitHub`_" -#: ../../Creational/SimpleFactory/README.rst:27 -msgid "SimpleFactory.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:33 -msgid "VehicleInterface.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:39 -msgid "Bicycle.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:45 -msgid "Scooter.php" -msgstr "" - #: ../../Creational/SimpleFactory/README.rst:52 msgid "Test" msgstr "Teste" - -#: ../../Creational/SimpleFactory/README.rst:54 -msgid "Tests/SimpleFactoryTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/Singleton/README.po b/locale/pt_BR/LC_MESSAGES/Creational/Singleton/README.po index d341bfd..4e10bbb 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/Singleton/README.po @@ -69,14 +69,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você também pode encontrar esse código no `GitHub`_" -#: ../../Creational/Singleton/README.rst:34 -msgid "Singleton.php" -msgstr "" - #: ../../Creational/Singleton/README.rst:41 msgid "Test" msgstr "Teste" - -#: ../../Creational/Singleton/README.rst:43 -msgid "Tests/SingletonTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/pt_BR/LC_MESSAGES/Creational/StaticFactory/README.po index 556ebe3..f5fe944 100644 --- a/locale/pt_BR/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/pt_BR/LC_MESSAGES/Creational/StaticFactory/README.po @@ -52,26 +52,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Creational/StaticFactory/README.rst:31 -msgid "StaticFactory.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:37 -msgid "FormatterInterface.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:43 -msgid "FormatString.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:49 -msgid "FormatNumber.php" -msgstr "" - #: ../../Creational/StaticFactory/README.rst:56 msgid "Test" msgstr "" - -#: ../../Creational/StaticFactory/README.rst:58 -msgid "Tests/StaticFactoryTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po b/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index 659a28f..0000000 --- a/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,85 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2015, Dominik Liebler and contributors -# This file is distributed under the same license as the DesignPatternsPHP -# package. -# FIRST AUTHOR , 2016. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-03 23:59+0200\n" -"PO-Revision-Date: 2017-08-21 23:09-0300\n" -"Last-Translator: Leonam Pereira Dias \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" - -#: ../../More/Delegation/README.rst:2 -msgid "`Delegation`__" -msgstr "`Delegação`__" - -#: ../../More/Delegation/README.rst:5 -msgid "Purpose" -msgstr "Objetivo" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing" -" one of its stated tasks, delegates that task to an associated helper " -"object. In this case TeamLead professes to writeCode and Usage uses this," -" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode " -"function. This inverts the responsibility so that Usage is unknowingly " -"executing writeBadCode." -msgstr "Demonstrar o padrão Delegação (Delegator) onde, um objeto, ao invés de executar" -" uma de suas tarefas definidas, delega essa tarefa a um objeto associado. " -" Neste caso TeamLead declara writeCode e Usage o usa," -" enquanto TeamLead delega writeCode ao método writeBadCode de JuniorDeveloper. " -" Esta implementação inverte a responsabilidade de modo que Usage não tem conhecimento da " -" execução do método writeBadCode." - -#: ../../More/Delegation/README.rst:10 -msgid "Examples" -msgstr "Exemplos" - -#: ../../More/Delegation/README.rst:12 -msgid "" -"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to " -"see it all tied together." -msgstr "Por favor, veja JuniorDeveloper.php, TeamLead.php e depois Usage.php para " -"ver tudo de maneira conjunta" - -#: ../../More/Delegation/README.rst:15 -msgid "UML Diagram" -msgstr "Diagrama UML" - -#: ../../More/Delegation/README.rst:22 -msgid "Code" -msgstr "Código" - -#: ../../More/Delegation/README.rst:24 -msgid "You can also find this code on `GitHub`_" -msgstr "Você também pode encontrar esse código no `Github`_" - -#: ../../More/Delegation/README.rst:26 -msgid "Usage.php" -msgstr "" - -#: ../../More/Delegation/README.rst:32 -msgid "TeamLead.php" -msgstr "" - -#: ../../More/Delegation/README.rst:38 -msgid "JuniorDeveloper.php" -msgstr "" - -#: ../../More/Delegation/README.rst:45 -msgid "Test" -msgstr "" - -#: ../../More/Delegation/README.rst:47 -msgid "Tests/DelegationTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/More/EAV/README.po b/locale/pt_BR/LC_MESSAGES/More/EAV/README.po index d0113c0..8067aa6 100644 --- a/locale/pt_BR/LC_MESSAGES/More/EAV/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/EAV/README.po @@ -1,78 +1,53 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2015, Dominik Liebler and contributors -# This file is distributed under the same license as the DesignPatternsPHP -# package. -# FIRST AUTHOR , 2016. -# -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-03 23:59+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" +"Project-Id-Version: DesignPatternsPHP " +"d4972f03fc93de3ef10bb31220de49931487d5e0\n" +"POT-Creation-Date: 2016-09-19 17:00-0500\n" +"Last-Translator: Marcelo Diniz \n" +"Content-Type: text/plain; " +"charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" -#: ../../More/EAV/README.rst:2 -msgid "`Entity-Attribute-Value (EAV)`__" -msgstr "" +#: ../../More/EAV/README.rst:1 +msgid "Entity-Attribute-Value (EAV)" +msgstr "Entidade–Atributo–Valor (EAV)" #: ../../More/EAV/README.rst:4 -msgid "" -"The Entity–attribute–value (EAV) pattern in order to implement EAV model " -"with PHP." -msgstr "" +msgid "The Entity–attribute–value (EAV) pattern in order to implement EAV model with PHP." +msgstr "O padrão Entidade–atributo–valor (EAV), a fim de implementar o modelo EAV com o PHP." -#: ../../More/EAV/README.rst:7 +#: ../../More/EAV/README.rst:6 msgid "Purpose" -msgstr "" +msgstr "Objetivo" #: ../../More/EAV/README.rst:9 msgid "" -"The Entity–attribute–value (EAV) model is a data model to describe " -"entities where the number of attributes (properties, parameters) that can" -" be used to describe them is potentially vast, but the number that will " -"actually apply to a given entity is relatively modest." +"The Entity–attribute–value (EAV) model is a data model to describe entities " +"where the number of attributes (properties, parameters) that can be used " +"to describe them is potentially vast, but the number that will actually apply " +"to a given entity is relatively modest." msgstr "" +"O modelo Entidade–atributo–valor (EAV) é um modelo de dados para descrever entidades " +"onde o número de atributos (propriedades, parâmetros) que podem ser usados " +"para descrevê-lo é potencialmente vasto, mas o número que realmente se aplicará " +"para uma dada entidade é relativamente modesta." -#: ../../More/EAV/README.rst:15 -msgid "Examples" -msgstr "" - -#: ../../More/EAV/README.rst:17 -msgid "Check full work example in `example.php`_ file." -msgstr "" - -#: ../../More/EAV/README.rst:90 +#: ../../More/EAV/README.rst:14 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" -#: ../../More/EAV/README.rst:97 +#: ../../More/EAV/README.rst:18 +msgid "EAV UML Diagram" +msgstr "Diagrama UML EAV" + +#: ../../More/EAV/README.rst:21 msgid "Code" -msgstr "" +msgstr "Código" -#: ../../More/EAV/README.rst:99 +#: ../../More/EAV/README.rst:24 msgid "You can also find this code on `GitHub`_" -msgstr "" +msgstr "Você pode encontrar o código no `Github`_" -#: ../../More/EAV/README.rst:102 +#: ../../More/EAV/README.rst:44 msgid "Test" -msgstr "" - -#: ../../More/EAV/README.rst:104 -msgid "Tests/EntityTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:110 -msgid "Tests/AttributeTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:116 -msgid "Tests/ValueTest.php" -msgstr "" - +msgstr "Teste" \ No newline at end of file diff --git a/locale/pt_BR/LC_MESSAGES/More/Repository/README.po b/locale/pt_BR/LC_MESSAGES/More/Repository/README.po index 0fe32e4..9864946 100644 --- a/locale/pt_BR/LC_MESSAGES/More/Repository/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/Repository/README.po @@ -63,22 +63,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você também pode encontrar esse código no `GitHub`_" -#: ../../More/Repository/README.rst:34 -msgid "Post.php" -msgstr "" - -#: ../../More/Repository/README.rst:40 -msgid "PostRepository.php" -msgstr "" - -#: ../../More/Repository/README.rst:46 -msgid "Storage.php" -msgstr "" - -#: ../../More/Repository/README.rst:52 -msgid "MemoryStorage.php" -msgstr "" - #: ../../More/Repository/README.rst:59 msgid "Test" msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/More/ServiceLocator/README.po b/locale/pt_BR/LC_MESSAGES/More/ServiceLocator/README.po index 26a99b4..031fbd4 100644 --- a/locale/pt_BR/LC_MESSAGES/More/ServiceLocator/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/ServiceLocator/README.po @@ -71,34 +71,6 @@ msgstr "Código" msgid "You can also find this code on `GitHub`_" msgstr "Você também pode encontrar este código no `Github`_" -#: ../../More/ServiceLocator/README.rst:38 -msgid "ServiceLocatorInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:44 -msgid "ServiceLocator.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:50 -msgid "LogServiceInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:56 -msgid "LogService.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:62 -msgid "DatabaseServiceInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:68 -msgid "DatabaseService.php" -msgstr "" - #: ../../More/ServiceLocator/README.rst:75 msgid "Test" msgstr "" - -#: ../../More/ServiceLocator/README.rst:77 -msgid "Tests/ServiceLocatorTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/README.po b/locale/pt_BR/LC_MESSAGES/README.po index ab971d8..96f56c8 100644 --- a/locale/pt_BR/LC_MESSAGES/README.po +++ b/locale/pt_BR/LC_MESSAGES/README.po @@ -25,7 +25,7 @@ msgstr "" "Esta é uma coleção de padrões de projetos conhecidos e alguns códigos de exemplo de como " "implementá-los em PHP. Todo padrão tem uma pequena lista de exemplos (muitos deles " "vindos do Zend Framework, Symfony2 ou Doctrine2 já que tenho mais familiaridade com " -"eles" +"eles)." #: ../../README.rst:16 msgid "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/Adapter/README.po b/locale/pt_BR/LC_MESSAGES/Structural/Adapter/README.po index d8a9383..9492c61 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/Adapter/README.po @@ -63,30 +63,6 @@ msgid "You can also find this code on `GitHub`_" msgstr "" >>>>>>> c1f0faccc8503a78a1b4cae192aaef127a2edb02 -#: ../../Structural/Adapter/README.rst:31 -msgid "PaperBookInterface.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:37 -msgid "Book.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:43 -msgid "EBookAdapter.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:49 -msgid "EBookInterface.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:55 -msgid "Kindle.php" -msgstr "" - #: ../../Structural/Adapter/README.rst:62 msgid "Test" msgstr "" - -#: ../../Structural/Adapter/README.rst:64 -msgid "Tests/AdapterTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/Bridge/README.po b/locale/pt_BR/LC_MESSAGES/Structural/Bridge/README.po index e2ee3f6..ac8200c 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/Bridge/README.po @@ -45,34 +45,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Bridge/README.rst:28 -msgid "Workshop.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:34 -msgid "Assemble.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:40 -msgid "Produce.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:46 -msgid "Vehicle.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:52 -msgid "Motorcycle.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:58 -msgid "Car.php" -msgstr "" - #: ../../Structural/Bridge/README.rst:65 msgid "Test" msgstr "" - -#: ../../Structural/Bridge/README.rst:67 -msgid "Tests/BridgeTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/Composite/README.po b/locale/pt_BR/LC_MESSAGES/Structural/Composite/README.po index a5b59d4..7908b74 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/Composite/README.po @@ -53,26 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Composite/README.rst:31 -msgid "FormElement.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:37 -msgid "Form.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:43 -msgid "InputElement.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:49 -msgid "TextElement.php" -msgstr "" - #: ../../Structural/Composite/README.rst:56 msgid "Test" msgstr "" - -#: ../../Structural/Composite/README.rst:58 -msgid "Tests/CompositeTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/DataMapper/README.po b/locale/pt_BR/LC_MESSAGES/Structural/DataMapper/README.po index 6093eea..164f7ed 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/DataMapper/README.po @@ -60,18 +60,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/DataMapper/README.rst:38 -msgid "User.php" -msgstr "" - -#: ../../Structural/DataMapper/README.rst:44 -msgid "UserMapper.php" -msgstr "" - #: ../../Structural/DataMapper/README.rst:51 msgid "Test" msgstr "" - -#: ../../Structural/DataMapper/README.rst:53 -msgid "Tests/DataMapperTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/Decorator/README.po b/locale/pt_BR/LC_MESSAGES/Structural/Decorator/README.po index 124019f..335d776 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/Decorator/README.po @@ -49,30 +49,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Decorator/README.rst:28 -msgid "RendererInterface.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:34 -msgid "Webservice.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:40 -msgid "Decorator.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:46 -msgid "RenderInXml.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:52 -msgid "RenderInJson.php" -msgstr "" - #: ../../Structural/Decorator/README.rst:59 msgid "Test" msgstr "" - -#: ../../Structural/Decorator/README.rst:61 -msgid "Tests/DecoratorTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/pt_BR/LC_MESSAGES/Structural/DependencyInjection/README.po index 7eeeb06..98f443f 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -4,30 +4,32 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2019-01-22 15:36+0300\n" +"Last-Translator: Pablo Juan Garcia \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" #: ../../Structural/DependencyInjection/README.rst:2 msgid "`Dependency Injection`__" -msgstr "" +msgstr "Injeção de dependência" #: ../../Structural/DependencyInjection/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "Objetivo" #: ../../Structural/DependencyInjection/README.rst:7 msgid "" "To implement a loosely coupled architecture in order to get better testable," " maintainable and extendable code." msgstr "" +"Para implementar uma arquitetura menos acoplada com o objetivo de obter um código " +"mais fácil de testar, de melhor manutenibilidade e mais extensível." #: ../../Structural/DependencyInjection/README.rst:11 msgid "Usage" -msgstr "" +msgstr "Uso" #: ../../Structural/DependencyInjection/README.rst:13 msgid "" @@ -36,6 +38,10 @@ msgid "" " ``Connection``, which is not very good for testing and extending " "``Connection``." msgstr "" +"Configuration é injetado e ``Connection`` irá receber tudo o que é necessário " +" de ``$config``. Sem a Injeção de Dependência, a configuração poderia ser criada " +" diretamente em ``Connection``, o que não é muito bom para testar e extender " +"``Connection``." #: ../../Structural/DependencyInjection/README.rst:18 msgid "" @@ -46,10 +52,16 @@ msgid "" " Read more about Inversion of control `here " "`__." msgstr "" +"Note que estamos seguindo o princípio da inversão de controle em ``Connection`` por " +" estar perguntando ``$config`` para implementar a interface ``Parameters``. Isto " +" desacopla nossos componentes. Nós não nos importamos de onde vem a fonte de informação, " +" nós apenas garantimos que ``$config`` tem certos métodos para recuperar a informação." +" Leia mais sobre Inversão de Controle `aqui " +"`__." #: ../../Structural/DependencyInjection/README.rst:26 msgid "Examples" -msgstr "" +msgstr "Exemplos" #: ../../Structural/DependencyInjection/README.rst:28 msgid "" @@ -58,6 +70,10 @@ msgid "" "create a mock object of the configuration and inject that into the " "``Connection`` object" msgstr "" +"O ORM Doctrine 2 usa injeção de dependência, por exemplo, para a configuração " +" que é injetada no objeto ``Connection``. Para propósitos de teste, algúem pode " +" facilmente criar um objeto simulado na configuração e injetá-lo no objeto " +"``Connection``." #: ../../Structural/DependencyInjection/README.rst:32 msgid "" @@ -65,43 +81,22 @@ msgid "" "objects via a configuration array and inject them where needed (i.e. in " "Controllers)" msgstr "" +"Symfony e Zend Framework 2 já tem recipientes para injeção de dependência " +" que criam objetos através de um array de configuração e injetam eles onde " +" for necessário (p.e. nos Controllers)" #: ../../Structural/DependencyInjection/README.rst:37 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" #: ../../Structural/DependencyInjection/README.rst:44 msgid "Code" -msgstr "" +msgstr "Código" #: ../../Structural/DependencyInjection/README.rst:46 msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:48 -msgid "AbstractConfig.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:54 -msgid "Parameters.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:60 -msgid "ArrayConfig.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:66 -msgid "Connection.php" -msgstr "" +msgstr "Você pode também ver este código no `GitHub`_" #: ../../Structural/DependencyInjection/README.rst:73 msgid "Test" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:75 -msgid "Tests/DependencyInjectionTest.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:81 -msgid "Tests/config.php" -msgstr "" +msgstr "Teste" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/Facade/README.po b/locale/pt_BR/LC_MESSAGES/Structural/Facade/README.po index 81358f4..6cca97b 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/Facade/README.po @@ -66,22 +66,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Facade/README.rst:38 -msgid "Facade.php" -msgstr "" - -#: ../../Structural/Facade/README.rst:44 -msgid "OsInterface.php" -msgstr "" - -#: ../../Structural/Facade/README.rst:50 -msgid "BiosInterface.php" -msgstr "" - #: ../../Structural/Facade/README.rst:57 msgid "Test" msgstr "" - -#: ../../Structural/Facade/README.rst:59 -msgid "Tests/FacadeTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/pt_BR/LC_MESSAGES/Structural/FluentInterface/README.po index 4331b7c..b330ab4 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/FluentInterface/README.po @@ -53,14 +53,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/FluentInterface/README.rst:30 -msgid "Sql.php" -msgstr "" - #: ../../Structural/FluentInterface/README.rst:37 msgid "Test" msgstr "" - -#: ../../Structural/FluentInterface/README.rst:39 -msgid "Tests/FluentInterfaceTest.php" -msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/Flyweight/README.po b/locale/pt_BR/LC_MESSAGES/Structural/Flyweight/README.po index cfa8492..2514886 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/Flyweight/README.po @@ -47,23 +47,7 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Flyweight/README.rst:23 -msgid "FlyweightInterface.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:29 -msgid "CharacterFlyweight.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:35 -msgid "FlyweightFactory.php" -msgstr "" - #: ../../Structural/Flyweight/README.rst:42 msgid "Test" msgstr "" -#: ../../Structural/Flyweight/README.rst:44 -msgid "Tests/FlyweightTest.php" -msgstr "" - diff --git a/locale/pt_BR/LC_MESSAGES/Structural/Proxy/README.po b/locale/pt_BR/LC_MESSAGES/Structural/Proxy/README.po index 1e52782..6a3e254 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/Proxy/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/Proxy/README.po @@ -46,14 +46,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Proxy/README.rst:28 -msgid "Record.php" -msgstr "" - -#: ../../Structural/Proxy/README.rst:34 -msgid "RecordProxy.php" -msgstr "" - #: ../../Structural/Proxy/README.rst:41 msgid "Test" msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/Structural/README.po b/locale/pt_BR/LC_MESSAGES/Structural/README.po index 7957330..aebab58 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/README.po @@ -4,16 +4,16 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2019-01-22 15:41+0300\n" +"Last-Translator: Pablo Juan Garcia \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" #: ../../Structural/README.rst:2 msgid "`Structural`__" -msgstr "" +msgstr "`Estrutural`__" #: ../../Structural/README.rst:4 msgid "" @@ -21,3 +21,6 @@ msgid "" " ease the design by identifying a simple way to realize relationships " "between entities." msgstr "" +"Em Engenharia de Software, padrões de projeto estruturais são padrões que" +" facilitam o desenvolvimento identificando uma forma simples para realizar " +" relacionamentos entre entidades." \ No newline at end of file diff --git a/locale/pt_BR/LC_MESSAGES/Structural/Registry/README.po b/locale/pt_BR/LC_MESSAGES/Structural/Registry/README.po index 104a57d..326d6c0 100644 --- a/locale/pt_BR/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/pt_BR/LC_MESSAGES/Structural/Registry/README.po @@ -54,14 +54,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Registry/README.rst:31 -msgid "Registry.php" -msgstr "" - #: ../../Structural/Registry/README.rst:38 msgid "Test" msgstr "" - -#: ../../Structural/Registry/README.rst:40 -msgid "Tests/RegistryTest.php" -msgstr "" diff --git a/locale/ru/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/ru/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index ba49fbe..761298c 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -76,26 +76,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:36 -msgid "Request.php" -msgstr "Request.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:42 -msgid "Handler.php" -msgstr "Handler.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:48 -msgid "Responsible/SlowStorage.php" -msgstr "Responsible/SlowStorage.php" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:54 -msgid "Responsible/FastStorage.php" -msgstr "Responsible/FastStorage.php" - #: ../../Behavioral/ChainOfResponsibilities/README.rst:61 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:63 -msgid "Tests/ChainTest.php" -msgstr "Tests/ChainTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/Command/README.po b/locale/ru/LC_MESSAGES/Behavioral/Command/README.po index e32ecdd..478e7d1 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/Command/README.po @@ -91,26 +91,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы также можете найти этот код на `GitHub`_" -#: ../../Behavioral/Command/README.rst:43 -msgid "CommandInterface.php" -msgstr "CommandInterface.php" - -#: ../../Behavioral/Command/README.rst:49 -msgid "HelloCommand.php" -msgstr "HelloCommand.php" - -#: ../../Behavioral/Command/README.rst:55 -msgid "Receiver.php" -msgstr "Receiver.php" - -#: ../../Behavioral/Command/README.rst:61 -msgid "Invoker.php" -msgstr "Invoker.php" - #: ../../Behavioral/Command/README.rst:68 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/Command/README.rst:70 -msgid "Tests/CommandTest.php" -msgstr "Tests/CommandTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/ru/LC_MESSAGES/Behavioral/Iterator/README.po index 2c86150..7881917 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/Iterator/README.po @@ -66,26 +66,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Также вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/Iterator/README.rst:36 -msgid "Book.php" -msgstr "Book.php" - -#: ../../Behavioral/Iterator/README.rst:42 -msgid "BookList.php" -msgstr "BookList.php" - -#: ../../Behavioral/Iterator/README.rst:48 -msgid "BookListIterator.php" -msgstr "BookListIterator.php" - -#: ../../Behavioral/Iterator/README.rst:54 -msgid "BookListReverseIterator.php" -msgstr "BookListReverseIterator.php" - #: ../../Behavioral/Iterator/README.rst:61 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/Iterator/README.rst:63 -msgid "Tests/IteratorTest.php" -msgstr "Tests/IteratorTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/ru/LC_MESSAGES/Behavioral/Mediator/README.po index f6d53a2..3ecc630 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/Mediator/README.po @@ -54,34 +54,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/Mediator/README.rst:27 -msgid "MediatorInterface.php" -msgstr "MediatorInterface.php" - -#: ../../Behavioral/Mediator/README.rst:33 -msgid "Mediator.php" -msgstr "Mediator.php" - -#: ../../Behavioral/Mediator/README.rst:39 -msgid "Colleague.php" -msgstr "Colleague.php" - -#: ../../Behavioral/Mediator/README.rst:45 -msgid "Subsystem/Client.php" -msgstr "Subsystem/Client.php" - -#: ../../Behavioral/Mediator/README.rst:51 -msgid "Subsystem/Database.php" -msgstr "Subsystem/Database.php" - -#: ../../Behavioral/Mediator/README.rst:57 -msgid "Subsystem/Server.php" -msgstr "Subsystem/Server.php" - #: ../../Behavioral/Mediator/README.rst:64 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/Mediator/README.rst:66 -msgid "Tests/MediatorTest.php" -msgstr "Tests/MediatorTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/Memento/README.po b/locale/ru/LC_MESSAGES/Behavioral/Memento/README.po index 0fd6dab..440d62f 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/Memento/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/Memento/README.po @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-03 23:59+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Eugene Glotov \n" +"Last-Translator: Roman Bylbas \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -28,10 +28,10 @@ msgstr "Назначение" #: ../../Behavioral/Memento/README.rst:7 msgid "" -"It provides the ability to restore an object to it's previous state (undo" -" via rollback) or to gain access to state of the object, without " -"revealing it's implementation (i.e., the object is not required to have a" -" functional for return the current state)." +"It provides the ability to restore an object to it's previous state (undo " +"via rollback) or to gain access to state of the object, without revealing " +"it's implementation (i.e., the object is not required to have a function " +"to return the current state)." msgstr "" "Шаблон предоставляет возможность восстановить объект в его предыдущем состоянии " "(отменить действие посредством отката к предыдущему состоянию) или получить " @@ -132,22 +132,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/Memento/README.rst:57 -msgid "Memento.php" -msgstr "Memento.php" - -#: ../../Behavioral/Memento/README.rst:63 -msgid "Originator.php" -msgstr "Originator.php" - -#: ../../Behavioral/Memento/README.rst:69 -msgid "Caretaker.php" -msgstr "Caretaker.php" - #: ../../Behavioral/Memento/README.rst:76 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/Memento/README.rst:78 -msgid "Tests/MementoTest.php" -msgstr "Tests/MementoTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/ru/LC_MESSAGES/Behavioral/NullObject/README.po index 8b5a9ab..69e2bf0 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/NullObject/README.po @@ -87,26 +87,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/NullObject/README.rst:41 -msgid "Service.php" -msgstr "Service.php" - -#: ../../Behavioral/NullObject/README.rst:47 -msgid "LoggerInterface.php" -msgstr "LoggerInterface.php" - -#: ../../Behavioral/NullObject/README.rst:53 -msgid "PrintLogger.php" -msgstr "PrintLogger.php" - -#: ../../Behavioral/NullObject/README.rst:59 -msgid "NullLogger.php" -msgstr "NullLogger.php" - #: ../../Behavioral/NullObject/README.rst:66 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/NullObject/README.rst:68 -msgid "Tests/LoggerTest.php" -msgstr "Tests/LoggerTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/Observer/README.po b/locale/ru/LC_MESSAGES/Behavioral/Observer/README.po index dc9403a..0eeae07 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/Observer/README.po @@ -67,18 +67,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/Observer/README.rst:36 -msgid "User.php" -msgstr "User.php" - -#: ../../Behavioral/Observer/README.rst:42 -msgid "UserObserver.php" -msgstr "UserObserver.php" - #: ../../Behavioral/Observer/README.rst:49 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/Observer/README.rst:51 -msgid "Tests/ObserverTest.php" -msgstr "Tests/ObserverTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/Specification/README.po b/locale/ru/LC_MESSAGES/Behavioral/Specification/README.po index 6ad7d8f..dfca6ec 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/Specification/README.po @@ -51,38 +51,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/Specification/README.rst:29 -msgid "Item.php" -msgstr "Item.php" - -#: ../../Behavioral/Specification/README.rst:35 -msgid "SpecificationInterface.php" -msgstr "SpecificationInterface.php" - -#: ../../Behavioral/Specification/README.rst:41 -msgid "AbstractSpecification.php" -msgstr "AbstractSpecification.php" - -#: ../../Behavioral/Specification/README.rst:47 -msgid "Either.php" -msgstr "Either.php" - -#: ../../Behavioral/Specification/README.rst:53 -msgid "PriceSpecification.php" -msgstr "PriceSpecification.php" - -#: ../../Behavioral/Specification/README.rst:59 -msgid "Plus.php" -msgstr "Plus.php" - -#: ../../Behavioral/Specification/README.rst:65 -msgid "Not.php" -msgstr "Not.php" - #: ../../Behavioral/Specification/README.rst:72 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/Specification/README.rst:74 -msgid "Tests/SpecificationTest.php" -msgstr "Tests/SpecificationTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/State/README.po b/locale/ru/LC_MESSAGES/Behavioral/State/README.po index 1aaffdb..c42f8a3 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/State/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/State/README.po @@ -42,26 +42,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/State/README.rst:23 -msgid "OrderController.php" -msgstr "OrderController.php" - -#: ../../Behavioral/State/README.rst:29 -msgid "OrderFactory.php" -msgstr "OrderFactory.php" - -#: ../../Behavioral/State/README.rst:35 -msgid "OrderInterface.php" -msgstr "OrderInterface.php" - -#: ../../Behavioral/State/README.rst:41 -msgid "ShippingOrder.php" -msgstr "ShippingOrder.php" - -#: ../../Behavioral/State/README.rst:47 -msgid "CreateOrder.php" -msgstr "CreateOrder.php" - #: ../../Behavioral/State/README.rst:54 msgid "Test" msgstr "Тест" diff --git a/locale/ru/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/ru/LC_MESSAGES/Behavioral/Strategy/README.po index 8b237b2..4628fb5 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/Strategy/README.po @@ -73,26 +73,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/Strategy/README.rst:37 -msgid "ObjectCollection.php" -msgstr "ObjectCollection.php" - -#: ../../Behavioral/Strategy/README.rst:43 -msgid "ComparatorInterface.php" -msgstr "ComparatorInterface.php" - -#: ../../Behavioral/Strategy/README.rst:49 -msgid "DateComparator.php" -msgstr "DateComparator.php" - -#: ../../Behavioral/Strategy/README.rst:55 -msgid "IdComparator.php" -msgstr "IdComparator.php" - #: ../../Behavioral/Strategy/README.rst:62 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/Strategy/README.rst:64 -msgid "Tests/StrategyTest.php" -msgstr "Tests/StrategyTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/ru/LC_MESSAGES/Behavioral/TemplateMethod/README.po index a68192c..8079132 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/TemplateMethod/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -75,22 +75,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/TemplateMethod/README.rst:36 -msgid "Journey.php" -msgstr "Journey.php" - -#: ../../Behavioral/TemplateMethod/README.rst:42 -msgid "BeachJourney.php" -msgstr "BeachJourney.php" - -#: ../../Behavioral/TemplateMethod/README.rst:48 -msgid "CityJourney.php" -msgstr "CityJourney.php" - #: ../../Behavioral/TemplateMethod/README.rst:55 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/TemplateMethod/README.rst:57 -msgid "Tests/JourneyTest.php" -msgstr "Tests/JourneyTest.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/ru/LC_MESSAGES/Behavioral/Visitor/README.po index 2c7b7f9..d829919 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/Visitor/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/Visitor/README.po @@ -54,30 +54,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Behavioral/Visitor/README.rst:28 -msgid "RoleVisitorInterface.php" -msgstr "RoleVisitorInterface.php" - -#: ../../Behavioral/Visitor/README.rst:34 -msgid "RolePrintVisitor.php" -msgstr "RolePrintVisitor.php" - -#: ../../Behavioral/Visitor/README.rst:40 -msgid "Role.php" -msgstr "Role.php" - -#: ../../Behavioral/Visitor/README.rst:46 -msgid "User.php" -msgstr "User.php" - -#: ../../Behavioral/Visitor/README.rst:52 -msgid "Group.php" -msgstr "Group.php" - #: ../../Behavioral/Visitor/README.rst:59 msgid "Test" msgstr "Тест" - -#: ../../Behavioral/Visitor/README.rst:61 -msgid "Tests/VisitorTest.php" -msgstr "Tests/VisitorTest.php" diff --git a/locale/ru/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/ru/LC_MESSAGES/Creational/AbstractFactory/README.po index 72eb188..1323776 100644 --- a/locale/ru/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/ru/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -46,50 +46,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/AbstractFactory/README.rst:24 -msgid "AbstractFactory.php" -msgstr "AbstractFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:30 -msgid "JsonFactory.php" -msgstr "JsonFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:36 -msgid "HtmlFactory.php" -msgstr "HtmlFactory.php" - -#: ../../Creational/AbstractFactory/README.rst:42 -msgid "MediaInterface.php" -msgstr "MediaInterface.php" - -#: ../../Creational/AbstractFactory/README.rst:48 -msgid "Picture.php" -msgstr "Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:54 -msgid "Text.php" -msgstr "Text.php" - -#: ../../Creational/AbstractFactory/README.rst:60 -msgid "Json/Picture.php" -msgstr "Json/Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:66 -msgid "Json/Text.php" -msgstr "Json/Text.php" - -#: ../../Creational/AbstractFactory/README.rst:72 -msgid "Html/Picture.php" -msgstr "Html/Picture.php" - -#: ../../Creational/AbstractFactory/README.rst:78 -msgid "Html/Text.php" -msgstr "Html/Text.php" - #: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "Тест" - -#: ../../Creational/AbstractFactory/README.rst:87 -msgid "Tests/AbstractFactoryTest.php" -msgstr "Tests/AbstractFactoryTest.php" diff --git a/locale/ru/LC_MESSAGES/Creational/Builder/README.po b/locale/ru/LC_MESSAGES/Creational/Builder/README.po index a195aee..d84b5f7 100644 --- a/locale/ru/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/ru/LC_MESSAGES/Creational/Builder/README.po @@ -69,50 +69,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/Builder/README.rst:35 -msgid "Director.php" -msgstr "Director.php" - -#: ../../Creational/Builder/README.rst:41 -msgid "BuilderInterface.php" -msgstr "BuilderInterface.php" - -#: ../../Creational/Builder/README.rst:47 -msgid "BikeBuilder.php" -msgstr "BikeBuilder.php" - -#: ../../Creational/Builder/README.rst:53 -msgid "CarBuilder.php" -msgstr "CarBuilder.php" - -#: ../../Creational/Builder/README.rst:59 -msgid "Parts/Vehicle.php" -msgstr "Parts/Vehicle.php" - -#: ../../Creational/Builder/README.rst:65 -msgid "Parts/Bike.php" -msgstr "Parts/Bike.php" - -#: ../../Creational/Builder/README.rst:71 -msgid "Parts/Car.php" -msgstr "Parts/Car.php" - -#: ../../Creational/Builder/README.rst:77 -msgid "Parts/Engine.php" -msgstr "Parts/Engine.php" - -#: ../../Creational/Builder/README.rst:83 -msgid "Parts/Wheel.php" -msgstr "Parts/Wheel.php" - -#: ../../Creational/Builder/README.rst:89 -msgid "Parts/Door.php" -msgstr "Parts/Door.php" - #: ../../Creational/Builder/README.rst:96 msgid "Test" msgstr "Тест" - -#: ../../Creational/Builder/README.rst:98 -msgid "Tests/DirectorTest.php" -msgstr "Tests/DirectorTest.php" diff --git a/locale/ru/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/ru/LC_MESSAGES/Creational/FactoryMethod/README.po index 81ae5b7..e2e8848 100644 --- a/locale/ru/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/ru/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -24,23 +24,23 @@ msgstr "Назначение" #: ../../Creational/FactoryMethod/README.rst:7 msgid "" "The good point over the SimpleFactory is you can subclass it to implement " -"different ways to create objects" +"different ways to create objects." msgstr "" "Выгодное отличие от SimpleFactory в том, что вы можете вынести реализацию " "создания объектов в подклассы." #: ../../Creational/FactoryMethod/README.rst:10 -msgid "For simple case, this abstract class could be just an interface" +msgid "For simple cases, this abstract class could be just an interface." msgstr "" "В простых случаях, этот абстрактный класс может быть только интерфейсом." #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" "Этот паттерн является «настоящим» Шаблоном Проектирования, потому что он " -"следует «Принципу инверсии зависимостей\" ака \"D\" в `S.O.L.I.D `_." #: ../../Creational/FactoryMethod/README.rst:15 @@ -64,38 +64,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/FactoryMethod/README.rst:31 -msgid "FactoryMethod.php" -msgstr "FactoryMethod.php" - -#: ../../Creational/FactoryMethod/README.rst:37 -msgid "ItalianFactory.php" -msgstr "ItalianFactory.php" - -#: ../../Creational/FactoryMethod/README.rst:43 -msgid "GermanFactory.php" -msgstr "GermanFactory.php" - -#: ../../Creational/FactoryMethod/README.rst:49 -msgid "VehicleInterface.php" -msgstr "VehicleInterface.php" - -#: ../../Creational/FactoryMethod/README.rst:55 -msgid "Porsche.php" -msgstr "Porsche.php" - -#: ../../Creational/FactoryMethod/README.rst:61 -msgid "Bicycle.php" -msgstr "Bicycle.php" - -#: ../../Creational/FactoryMethod/README.rst:67 -msgid "Ferrari.php" -msgstr "Ferrari.php" - #: ../../Creational/FactoryMethod/README.rst:74 msgid "Test" msgstr "Тест" - -#: ../../Creational/FactoryMethod/README.rst:76 -msgid "Tests/FactoryMethodTest.php" -msgstr "Tests/FactoryMethodTest.php" diff --git a/locale/ru/LC_MESSAGES/Creational/Multiton/README.po b/locale/ru/LC_MESSAGES/Creational/Multiton/README.po index 2b918e8..faf0327 100644 --- a/locale/ru/LC_MESSAGES/Creational/Multiton/README.po +++ b/locale/ru/LC_MESSAGES/Creational/Multiton/README.po @@ -63,10 +63,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/Multiton/README.rst:31 -msgid "Multiton.php" -msgstr "Multiton.php" - #: ../../Creational/Multiton/README.rst:38 msgid "Test" msgstr "Тест" diff --git a/locale/ru/LC_MESSAGES/Creational/Pool/README.po b/locale/ru/LC_MESSAGES/Creational/Pool/README.po index 18c38bb..3f0800e 100644 --- a/locale/ru/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/ru/LC_MESSAGES/Creational/Pool/README.po @@ -16,6 +16,10 @@ msgid "`Pool`__" msgstr "" "`Объектный пул `_ (`Pool`__)" +#: ../../Creational/Pool/README.rst:4 +msgid "Purpose" +msgstr "Назначение" + #: ../../Creational/Pool/README.rst:4 msgid "" "The **object pool pattern** is a software creational design pattern that " @@ -73,26 +77,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/Pool/README.rst:36 -msgid "Pool.php" -msgstr "Pool.php" - -#: ../../Creational/Pool/README.rst:42 -msgid "Processor.php" -msgstr "Processor.php" - -#: ../../Creational/Pool/README.rst:48 -msgid "Worker.php" -msgstr "Worker.php" - #: ../../Creational/Pool/README.rst:55 msgid "Test" msgstr "Тест" - -#: ../../Creational/Pool/README.rst:57 -msgid "Tests/PoolTest.php" -msgstr "Tests/PoolTest.php" - -#: ../../Creational/Pool/README.rst:63 -msgid "Tests/TestWorker.php" -msgstr "Tests/TestWorker.php" diff --git a/locale/ru/LC_MESSAGES/Creational/Prototype/README.po b/locale/ru/LC_MESSAGES/Creational/Prototype/README.po index 6413834..13c3e72 100644 --- a/locale/ru/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/ru/LC_MESSAGES/Creational/Prototype/README.po @@ -53,22 +53,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/Prototype/README.rst:28 -msgid "index.php" -msgstr "index.php" - -#: ../../Creational/Prototype/README.rst:34 -msgid "BookPrototype.php" -msgstr "BookPrototype.php" - -#: ../../Creational/Prototype/README.rst:40 -msgid "BarBookPrototype.php" -msgstr "BarBookPrototype.php" - -#: ../../Creational/Prototype/README.rst:46 -msgid "FooBookPrototype.php" -msgstr "FooBookPrototype.php" - #: ../../Creational/Prototype/README.rst:53 msgid "Test" msgstr "Тест" diff --git a/locale/ru/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/ru/LC_MESSAGES/Creational/SimpleFactory/README.po index fbdd8d4..0f5e707 100644 --- a/locale/ru/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/ru/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -25,10 +25,14 @@ msgstr "SimpleFactory в примере ниже, это паттерн «Про #: ../../Creational/SimpleFactory/README.rst:9 msgid "" -"It differs from the static factory because it is not static." +"It differs from the static factory because it is not static. " +"Therefore, you can have multiple factories, differently parameterized, " +"you can subclass it and you can mock it. It always should be preferred " +"over a static factory!" msgstr "" "Она отличается от Статической Фабрики тем, что собственно *не является " -"статической*. Потому как вы должны понимать: статическая => глобальная => зло!" +"статической*. Таким образом, вы можете иметь множество фабрик с разными параметрами. " +"Простая фабрика всегда должна быть предпочтительнее Статической фабрики!" #: ../../Creational/SimpleFactory/README.rst:10 msgid "" @@ -55,26 +59,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/SimpleFactory/README.rst:27 -msgid "SimpleFactory.php" -msgstr "SimpleFactory.php" - -#: ../../Creational/SimpleFactory/README.rst:33 -msgid "VehicleInterface.php" -msgstr "VehicleInterface.php" - -#: ../../Creational/SimpleFactory/README.rst:39 -msgid "Bicycle.php" -msgstr "Bicycle.php" - -#: ../../Creational/SimpleFactory/README.rst:45 -msgid "Scooter.php" -msgstr "Scooter.php" - #: ../../Creational/SimpleFactory/README.rst:52 msgid "Test" msgstr "Тест" - -#: ../../Creational/SimpleFactory/README.rst:54 -msgid "Tests/SimpleFactoryTest.php" -msgstr "Tests/SimpleFactoryTest.php" diff --git a/locale/ru/LC_MESSAGES/Creational/Singleton/README.po b/locale/ru/LC_MESSAGES/Creational/Singleton/README.po index 561c773..22c893c 100644 --- a/locale/ru/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/ru/LC_MESSAGES/Creational/Singleton/README.po @@ -74,14 +74,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/Singleton/README.rst:34 -msgid "Singleton.php" -msgstr "Singleton.php" - #: ../../Creational/Singleton/README.rst:41 msgid "Test" msgstr "Тест" - -#: ../../Creational/Singleton/README.rst:43 -msgid "Tests/SingletonTest.php" -msgstr "Tests/SingletonTest.php" diff --git a/locale/ru/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/ru/LC_MESSAGES/Creational/StaticFactory/README.po index 700c560..ae5dc75 100644 --- a/locale/ru/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/ru/LC_MESSAGES/Creational/StaticFactory/README.po @@ -57,26 +57,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Creational/StaticFactory/README.rst:31 -msgid "StaticFactory.php" -msgstr "StaticFactory.php" - -#: ../../Creational/StaticFactory/README.rst:37 -msgid "FormatterInterface.php" -msgstr "FormatterInterface.php" - -#: ../../Creational/StaticFactory/README.rst:43 -msgid "FormatString.php" -msgstr "FormatString.php" - -#: ../../Creational/StaticFactory/README.rst:49 -msgid "FormatNumber.php" -msgstr "FormatNumber.php" - #: ../../Creational/StaticFactory/README.rst:56 msgid "Test" msgstr "Тест" - -#: ../../Creational/StaticFactory/README.rst:58 -msgid "Tests/StaticFactoryTest.php" -msgstr "Tests/StaticFactoryTest.php" diff --git a/locale/ru/LC_MESSAGES/More/Delegation/README.po b/locale/ru/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index aac9b0c..0000000 --- a/locale/ru/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,88 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2015, Dominik Liebler and contributors -# This file is distributed under the same license as the DesignPatternsPHP -# package. -# FIRST AUTHOR , 2016. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-03 23:59+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Nikita Strelkov \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" - -#: ../../More/Delegation/README.rst:2 -msgid "`Delegation`__" -msgstr "`Делегирование `_ (`Delegation`__)" - -#: ../../More/Delegation/README.rst:5 -msgid "Purpose" -msgstr "Назначение" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing" -" one of its stated tasks, delegates that task to an associated helper " -"object. In this case TeamLead professes to writeCode and Usage uses this," -" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode " -"function. This inverts the responsibility so that Usage is unknowingly " -"executing writeBadCode." -msgstr "" -"В этом примере демонстрируется шаблон 'Делегирование', в котором объект, " -"вместо того чтобы выполнять одну из своих поставленных задач, поручает её " -"связанному вспомогательному объекту. В рассматриваемом ниже примере объект " -"TeamLead должен выполнять задачу writeCode, а объект Usage использовать " -"его, но при этом TeamLead перепоручает выполнение задачи writeCode функции " -"writeBadCode объекта JuniorDeveloper. Это инвертирует ответственность так, " -"что объект Usage не зная того выполняет writeBadCode." - -#: ../../More/Delegation/README.rst:10 -msgid "Examples" -msgstr "Примеры" - -#: ../../More/Delegation/README.rst:12 -msgid "" -"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to " -"see it all tied together." -msgstr "" -"Просмотрите, пожалуйста, сначала JuniorDeveloper.php, TeamLead.php " -"и затем Usage.php, чтобы увидеть, как они связаны." - -#: ../../More/Delegation/README.rst:15 -msgid "UML Diagram" -msgstr "UML Диаграмма" - -#: ../../More/Delegation/README.rst:22 -msgid "Code" -msgstr "Код" - -#: ../../More/Delegation/README.rst:24 -msgid "You can also find this code on `GitHub`_" -msgstr "Вы можете найти этот код на `GitHub`_" - -#: ../../More/Delegation/README.rst:26 -msgid "Usage.php" -msgstr "Usage.php" - -#: ../../More/Delegation/README.rst:32 -msgid "TeamLead.php" -msgstr "TeamLead.php" - -#: ../../More/Delegation/README.rst:38 -msgid "JuniorDeveloper.php" -msgstr "JuniorDeveloper.php" - -#: ../../More/Delegation/README.rst:45 -msgid "Test" -msgstr "Тест" - -#: ../../More/Delegation/README.rst:47 -msgid "Tests/DelegationTest.php" -msgstr "Tests/DelegationTest.php" diff --git a/locale/ru/LC_MESSAGES/More/EAV/README.po b/locale/ru/LC_MESSAGES/More/EAV/README.po index 430c993..da86264 100644 --- a/locale/ru/LC_MESSAGES/More/EAV/README.po +++ b/locale/ru/LC_MESSAGES/More/EAV/README.po @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-06-03 23:59+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Nikita Strelkov \n" +"Last-Translator: Kirill Baranov \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -20,7 +20,7 @@ msgstr "" #: ../../More/EAV/README.rst:2 msgid "`Entity-Attribute-Value (EAV)`__" -msgstr "`Сущность-Артибут-Значение`__" +msgstr "`Сущность-Атрибут-Значение`__" #: ../../More/EAV/README.rst:4 msgid "" @@ -45,7 +45,7 @@ msgstr "" "предназначенная для описания сущностей, в которых количество атрибутов " "(свойств, параметров), характеризующих их, потенциально огромно, " "но то количество, которое реально будет использоваться в конкретной " -"сущности относительно мало." +"сущности, относительно мало." #: ../../More/EAV/README.rst:15 msgid "Examples" @@ -61,7 +61,7 @@ msgstr "UML Диаграмма" #: ../../More/EAV/README.rst:97 msgid "Code" -msgstr "Code" +msgstr "Код" #: ../../More/EAV/README.rst:99 msgid "You can also find this code on `GitHub`_" @@ -71,15 +71,3 @@ msgstr "Вы можете найти этот код на `GitHub`_" msgid "Test" msgstr "Тест" -#: ../../More/EAV/README.rst:104 -msgid "Tests/EntityTest.php" -msgstr "Tests/EntityTest.php" - -#: ../../More/EAV/README.rst:110 -msgid "Tests/AttributeTest.php" -msgstr "Tests/AttributeTest.php" - -#: ../../More/EAV/README.rst:116 -msgid "Tests/ValueTest.php" -msgstr "Tests/ValueTest.php" - diff --git a/locale/ru/LC_MESSAGES/More/Repository/README.po b/locale/ru/LC_MESSAGES/More/Repository/README.po index 0a09340..3f493b0 100644 --- a/locale/ru/LC_MESSAGES/More/Repository/README.po +++ b/locale/ru/LC_MESSAGES/More/Repository/README.po @@ -64,22 +64,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../More/Repository/README.rst:34 -msgid "Post.php" -msgstr "Post.php" - -#: ../../More/Repository/README.rst:40 -msgid "PostRepository.php" -msgstr "PostRepository.php" - -#: ../../More/Repository/README.rst:46 -msgid "Storage.php" -msgstr "Storage.php" - -#: ../../More/Repository/README.rst:52 -msgid "MemoryStorage.php" -msgstr "MemoryStorage.php" - #: ../../More/Repository/README.rst:59 msgid "Test" msgstr "Тест" diff --git a/locale/ru/LC_MESSAGES/More/ServiceLocator/README.po b/locale/ru/LC_MESSAGES/More/ServiceLocator/README.po index 0eaa1e0..a5416f1 100644 --- a/locale/ru/LC_MESSAGES/More/ServiceLocator/README.po +++ b/locale/ru/LC_MESSAGES/More/ServiceLocator/README.po @@ -5,7 +5,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" "PO-Revision-Date: 2015-05-30 05:14+0300\n" -"Last-Translator: Eugene Glotov \n" +"Last-Translator: Roman Bylbas \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,11 +15,34 @@ msgstr "" msgid "`Service Locator`__" msgstr "Локатор Служб (`Service Locator`__)" -#: ../../More/ServiceLocator/README.rst:5 +#: ../../More/ServiceLocator/README.rst:4 +msgid "**THIS IS CONSIDERED TO BE AN ANTI-PATTERN!**" +msgstr "**Этот шаблон считается анти-паттерном!**" + +#: ../../More/ServiceLocator/README.rst:4 +msgid "" +"Service Locator is considered for some people an anti-pattern. " +"It violates the Dependency Inversion principle. Service Locator " +"hides class' dependencies instead of exposing them as you would " +"do using the Dependency Injection. In case of changes of those " +"dependencies you risk to break the functionality of classes which " +"are using them, making your system difficult to maintain." +msgstr "" +"Некоторые считают Локатор Служб анти-паттерном. Он нарушает " +"принцип инверсии зависимостей (`Dependency Inversion principle " +"`_) " +"из набора принципов `SOLID `_. " +"Локатор Служб скрывает зависимости данного класса вместо их совместного " +"использования, как в случае шаблона Внедрение Зависимости (`Dependency " +"Injection `_). " +"В случае изменения данных зависимостей мы рискуем сломать функционал классов, " +"которые их используют, вследствие чего затрудняется поддержка системы." + +#: ../../More/ServiceLocator/README.rst:9 msgid "Purpose" msgstr "Назначение" -#: ../../More/ServiceLocator/README.rst:7 +#: ../../More/ServiceLocator/README.rst:12 msgid "" "To implement a loosely coupled architecture in order to get better testable," " maintainable and extendable code. DI pattern and Service Locator pattern " @@ -30,11 +53,11 @@ msgstr "" "зависимостей (DI) и паттерн Локатор Служб — это реализация паттерна " "Инверсия управления (Inversion of Control, IoC)." -#: ../../More/ServiceLocator/README.rst:12 +#: ../../More/ServiceLocator/README.rst:16 msgid "Usage" msgstr "Использование" -#: ../../More/ServiceLocator/README.rst:14 +#: ../../More/ServiceLocator/README.rst:19 msgid "" "With ``ServiceLocator`` you can register a service for a given interface. By" " using the interface you can retrieve the service and use it in the classes " @@ -47,11 +70,11 @@ msgstr "" "можете настроить и внедрить объект Service Locator на начальном этапе " "сборки приложения." -#: ../../More/ServiceLocator/README.rst:20 +#: ../../More/ServiceLocator/README.rst:24 msgid "Examples" msgstr "Примеры" -#: ../../More/ServiceLocator/README.rst:22 +#: ../../More/ServiceLocator/README.rst:27 msgid "" "Zend Framework 2 uses Service Locator to create and share services used in " "the framework(i.e. EventManager, ModuleManager, all custom user services " @@ -62,46 +85,18 @@ msgstr "" "ModuleManager, все пользовательские сервисы, предоставляемые модулями, и т." "д ...)" -#: ../../More/ServiceLocator/README.rst:27 +#: ../../More/ServiceLocator/README.rst:31 msgid "UML Diagram" msgstr "UML Диаграмма" -#: ../../More/ServiceLocator/README.rst:34 +#: ../../More/ServiceLocator/README.rst:38 msgid "Code" msgstr "Код" -#: ../../More/ServiceLocator/README.rst:36 +#: ../../More/ServiceLocator/README.rst:41 msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../More/ServiceLocator/README.rst:38 -msgid "ServiceLocatorInterface.php" -msgstr "ServiceLocatorInterface.php" - -#: ../../More/ServiceLocator/README.rst:44 -msgid "ServiceLocator.php" -msgstr "ServiceLocator.php" - -#: ../../More/ServiceLocator/README.rst:50 -msgid "LogServiceInterface.php" -msgstr "LogServiceInterface.php" - -#: ../../More/ServiceLocator/README.rst:56 -msgid "LogService.php" -msgstr "LogService.php" - -#: ../../More/ServiceLocator/README.rst:62 -msgid "DatabaseServiceInterface.php" -msgstr "DatabaseServiceInterface.php" - -#: ../../More/ServiceLocator/README.rst:68 -msgid "DatabaseService.php" -msgstr "DatabaseService.php" - -#: ../../More/ServiceLocator/README.rst:75 +#: ../../More/ServiceLocator/README.rst:55 msgid "Test" msgstr "Тест" - -#: ../../More/ServiceLocator/README.rst:77 -msgid "Tests/ServiceLocatorTest.php" -msgstr "Tests/ServiceLocatorTest.php" diff --git a/locale/ru/LC_MESSAGES/README.po b/locale/ru/LC_MESSAGES/README.po index 5ef6690..466a61f 100644 --- a/locale/ru/LC_MESSAGES/README.po +++ b/locale/ru/LC_MESSAGES/README.po @@ -4,8 +4,8 @@ msgstr "" "Project-Id-Version: DesignPatternsPHP 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" -"PO-Revision-Date: 2015-05-29 19:46+0300\n" -"Last-Translator: Eugene Glotov \n" +"PO-Revision-Date: 2018-10-06 19:00+0300\n" +"Last-Translator: Kirill Baranov \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -55,17 +55,17 @@ msgstr "Участие в разработке" #: ../../README.rst:37 msgid "" -"Please feel free to fork and extend existing or add your own examples and " -"send a pull request with your changes! To establish a consistent code " -"quality, please check your code using `PHP CodeSniffer`_ against `PSR2 " -"standard`_ using ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor ." -"``." +"If you encounter any bugs or missing translations, please feel free " +"to fork and send a pull request with your changes. " +"To establish a consistent code quality, please check your code using " +"`PHP CodeSniffer`_ against `PSR2 standard`_ " +"using ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``." msgstr "" -"Мы приветствуем ответвления этого репозитория. Добавляйте свои примеры и " -"отправляйте запросы на изменение (pull requests)! Чтобы сохранять высокое " -"качество кода, пожалуйста, проверяйте ваш код на соответствие стандарту " -"`PSR2`. Для этого вы можете воспользоваться `PHP CodeSniffer`_ командой ``./" -"vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``." +"Если вы обнаружили ошибки или отсутствие перевода, вы можете " +"прислать пулл реквест с вашими изменениями. " +"Чтобы сохранять высокое качество кода, пожалуйста, проверяйте ваш код с помощью " +"`PHP CodeSniffer`_ на соответствие стандарту `PSR2`_, " +"используя команду ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``." #: ../../README.rst:44 msgid "License" diff --git a/locale/ru/LC_MESSAGES/Structural/Adapter/README.po b/locale/ru/LC_MESSAGES/Structural/Adapter/README.po index cc079cd..e9ac14b 100644 --- a/locale/ru/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/ru/LC_MESSAGES/Structural/Adapter/README.po @@ -63,30 +63,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/Adapter/README.rst:31 -msgid "PaperBookInterface.php" -msgstr "PaperBookInterface.php" - -#: ../../Structural/Adapter/README.rst:37 -msgid "Book.php" -msgstr "Book.php" - -#: ../../Structural/Adapter/README.rst:43 -msgid "EBookAdapter.php" -msgstr "EBookAdapter.php" - -#: ../../Structural/Adapter/README.rst:49 -msgid "EBookInterface.php" -msgstr "EBookInterface.php" - -#: ../../Structural/Adapter/README.rst:55 -msgid "Kindle.php" -msgstr "Kindle.php" - #: ../../Structural/Adapter/README.rst:62 msgid "Test" msgstr "Тест" - -#: ../../Structural/Adapter/README.rst:64 -msgid "Tests/AdapterTest.php" -msgstr "Tests/AdapterTest.php" diff --git a/locale/ru/LC_MESSAGES/Structural/Bridge/README.po b/locale/ru/LC_MESSAGES/Structural/Bridge/README.po index 9f91bbf..be8ef95 100644 --- a/locale/ru/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/ru/LC_MESSAGES/Structural/Bridge/README.po @@ -50,34 +50,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/Bridge/README.rst:28 -msgid "Workshop.php" -msgstr "Workshop.php" - -#: ../../Structural/Bridge/README.rst:34 -msgid "Assemble.php" -msgstr "Assemble.php" - -#: ../../Structural/Bridge/README.rst:40 -msgid "Produce.php" -msgstr "Produce.php" - -#: ../../Structural/Bridge/README.rst:46 -msgid "Vehicle.php" -msgstr "Vehicle.php" - -#: ../../Structural/Bridge/README.rst:52 -msgid "Motorcycle.php" -msgstr "Motorcycle.php" - -#: ../../Structural/Bridge/README.rst:58 -msgid "Car.php" -msgstr "Car.php" - #: ../../Structural/Bridge/README.rst:65 msgid "Test" msgstr "Тест" - -#: ../../Structural/Bridge/README.rst:67 -msgid "Tests/BridgeTest.php" -msgstr "Tests/BridgeTest.php" diff --git a/locale/ru/LC_MESSAGES/Structural/Composite/README.po b/locale/ru/LC_MESSAGES/Structural/Composite/README.po index 5b79927..04974b1 100644 --- a/locale/ru/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/ru/LC_MESSAGES/Structural/Composite/README.po @@ -62,26 +62,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/Composite/README.rst:31 -msgid "FormElement.php" -msgstr "FormElement.php" - -#: ../../Structural/Composite/README.rst:37 -msgid "Form.php" -msgstr "Form.php" - -#: ../../Structural/Composite/README.rst:43 -msgid "InputElement.php" -msgstr "InputElement.php" - -#: ../../Structural/Composite/README.rst:49 -msgid "TextElement.php" -msgstr "TextElement.php" - #: ../../Structural/Composite/README.rst:56 msgid "Test" msgstr "Тест" - -#: ../../Structural/Composite/README.rst:58 -msgid "Tests/CompositeTest.php" -msgstr "Tests/CompositeTest.php" diff --git a/locale/ru/LC_MESSAGES/Structural/DataMapper/README.po b/locale/ru/LC_MESSAGES/Structural/DataMapper/README.po index 6376e95..da8615b 100644 --- a/locale/ru/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/ru/LC_MESSAGES/Structural/DataMapper/README.po @@ -77,18 +77,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/DataMapper/README.rst:38 -msgid "User.php" -msgstr "User.php" - -#: ../../Structural/DataMapper/README.rst:44 -msgid "UserMapper.php" -msgstr "UserMapper.php" - #: ../../Structural/DataMapper/README.rst:51 msgid "Test" msgstr "Тест" - -#: ../../Structural/DataMapper/README.rst:53 -msgid "Tests/DataMapperTest.php" -msgstr "Tests/DataMapperTest.php" diff --git a/locale/ru/LC_MESSAGES/Structural/Decorator/README.po b/locale/ru/LC_MESSAGES/Structural/Decorator/README.po index fe5d631..728d2f6 100644 --- a/locale/ru/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/ru/LC_MESSAGES/Structural/Decorator/README.po @@ -53,30 +53,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/Decorator/README.rst:28 -msgid "RendererInterface.php" -msgstr "RendererInterface.php" - -#: ../../Structural/Decorator/README.rst:34 -msgid "Webservice.php" -msgstr "Webservice.php" - -#: ../../Structural/Decorator/README.rst:40 -msgid "Decorator.php" -msgstr "Decorator.php" - -#: ../../Structural/Decorator/README.rst:46 -msgid "RenderInXml.php" -msgstr "RenderInXml.php" - -#: ../../Structural/Decorator/README.rst:52 -msgid "RenderInJson.php" -msgstr "RenderInJson.php" - #: ../../Structural/Decorator/README.rst:59 msgid "Test" msgstr "Тест" - -#: ../../Structural/Decorator/README.rst:61 -msgid "Tests/DecoratorTest.php" -msgstr "Tests/DecoratorTest.php" diff --git a/locale/ru/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/ru/LC_MESSAGES/Structural/DependencyInjection/README.po index b448699..92bd7a0 100644 --- a/locale/ru/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/ru/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -5,7 +5,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" "PO-Revision-Date: 2015-06-02 01:32+0300\n" -"Last-Translator: Eugene Glotov \n" +"Last-Translator: Roman Bylbas \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -35,12 +35,12 @@ msgstr "Использование" #: ../../Structural/DependencyInjection/README.rst:13 msgid "" -"Configuration gets injected and ``Connection`` will get all that it needs " -"from ``$config``. Without DI, the configuration would be created directly in" -" ``Connection``, which is not very good for testing and extending " -"``Connection``." +"``DatabaseConfiguration`` gets injected and ``DatabaseConnection`` will get all that it " +"needs from ``$config``. Without DI, the configuration would be created " +"directly in ``DatabaseConnection``, which is not very good for testing and " +"extending it." msgstr "" -"Объект Configuration внедряется в ``Connection`` и последний получает всё, " +"Объект ``DatabaseConfiguration`` внедряется в ``DatabaseConnection`` и последний получает всё, " "что ему необходимо из переменной ``$ config``. Без DI, конфигурация будет " "создана непосредственно в ``Connection``, что не очень хорошо для " "тестирования и расширения ``Connection``, так как связывает эти классы " @@ -101,30 +101,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/DependencyInjection/README.rst:48 -msgid "AbstractConfig.php" -msgstr "AbstractConfig.php" - -#: ../../Structural/DependencyInjection/README.rst:54 -msgid "Parameters.php" -msgstr "Parameters.php" - -#: ../../Structural/DependencyInjection/README.rst:60 -msgid "ArrayConfig.php" -msgstr "ArrayConfig.php" - -#: ../../Structural/DependencyInjection/README.rst:66 -msgid "Connection.php" -msgstr "Connection.php" - #: ../../Structural/DependencyInjection/README.rst:73 msgid "Test" msgstr "Тест" - -#: ../../Structural/DependencyInjection/README.rst:75 -msgid "Tests/DependencyInjectionTest.php" -msgstr "Tests/DependencyInjectionTest.php" - -#: ../../Structural/DependencyInjection/README.rst:81 -msgid "Tests/config.php" -msgstr "Tests/config.php" diff --git a/locale/ru/LC_MESSAGES/Structural/Facade/README.po b/locale/ru/LC_MESSAGES/Structural/Facade/README.po index 0b279d6..d230dd3 100644 --- a/locale/ru/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/ru/LC_MESSAGES/Structural/Facade/README.po @@ -5,7 +5,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" "PO-Revision-Date: 2015-06-02 01:48+0300\n" -"Last-Translator: Eugene Glotov \n" +"Last-Translator: Roman Bylbas \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -23,9 +23,9 @@ msgstr "Назначение" #: ../../Structural/Facade/README.rst:7 msgid "" -"The primary goal of a Facade Pattern is not to avoid you to read the manual " -"of a complex API. It's only a side-effect. The first goal is to reduce " -"coupling and follow the Law of Demeter." +"The primary goal of a Facade Pattern is not to avoid you having to read the " +"manual of a complex API. It's only a side-effect. The first goal is to " +"reduce coupling and follow the Law of Demeter." msgstr "" "Основная цель паттерна Фасад заключается не в том, чтобы помешать вам " "прочитать инструкцию комплексной API. Это только побочный эффект. Главная " @@ -85,22 +85,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/Facade/README.rst:38 -msgid "Facade.php" -msgstr "Facade.php" - -#: ../../Structural/Facade/README.rst:44 -msgid "OsInterface.php" -msgstr "OsInterface.php" - -#: ../../Structural/Facade/README.rst:50 -msgid "BiosInterface.php" -msgstr "BiosInterface.php" - #: ../../Structural/Facade/README.rst:57 msgid "Test" msgstr "Тест" - -#: ../../Structural/Facade/README.rst:59 -msgid "Tests/FacadeTest.php" -msgstr "Tests/FacadeTest.php" diff --git a/locale/ru/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/ru/LC_MESSAGES/Structural/FluentInterface/README.po index 32f55f9..fbeb565 100644 --- a/locale/ru/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/ru/LC_MESSAGES/Structural/FluentInterface/README.po @@ -59,14 +59,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/FluentInterface/README.rst:30 -msgid "Sql.php" -msgstr "Sql.php" - #: ../../Structural/FluentInterface/README.rst:37 msgid "Test" msgstr "Тест" - -#: ../../Structural/FluentInterface/README.rst:39 -msgid "Tests/FluentInterfaceTest.php" -msgstr "Tests/FluentInterfaceTest.php" diff --git a/locale/ru/LC_MESSAGES/Structural/Flyweight/README.po b/locale/ru/LC_MESSAGES/Structural/Flyweight/README.po index 9631fd1..06777bf 100644 --- a/locale/ru/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/ru/LC_MESSAGES/Structural/Flyweight/README.po @@ -52,23 +52,7 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/Flyweight/README.rst:23 -msgid "FlyweightInterface.php" -msgstr "FlyweightInterface.php" - -#: ../../Structural/Flyweight/README.rst:29 -msgid "CharacterFlyweight.php" -msgstr "CharacterFlyweight.php" - -#: ../../Structural/Flyweight/README.rst:35 -msgid "FlyweightFactory.php" -msgstr "FlyweightFactory.php" - #: ../../Structural/Flyweight/README.rst:42 msgid "Test" msgstr "Тест" -#: ../../Structural/Flyweight/README.rst:44 -msgid "Tests/FlyweightTest.php" -msgstr "Tests/FlyweightTest.php" - diff --git a/locale/ru/LC_MESSAGES/Structural/Proxy/README.po b/locale/ru/LC_MESSAGES/Structural/Proxy/README.po index 573bf5d..c9956c0 100644 --- a/locale/ru/LC_MESSAGES/Structural/Proxy/README.po +++ b/locale/ru/LC_MESSAGES/Structural/Proxy/README.po @@ -53,14 +53,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/Proxy/README.rst:28 -msgid "Record.php" -msgstr "Record.php" - -#: ../../Structural/Proxy/README.rst:34 -msgid "RecordProxy.php" -msgstr "RecordProxy.php" - #: ../../Structural/Proxy/README.rst:41 msgid "Test" msgstr "Тест" diff --git a/locale/ru/LC_MESSAGES/Structural/Registry/README.po b/locale/ru/LC_MESSAGES/Structural/Registry/README.po index e716af4..33998c2 100644 --- a/locale/ru/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/ru/LC_MESSAGES/Structural/Registry/README.po @@ -5,7 +5,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-05-29 12:18+0200\n" "PO-Revision-Date: 2015-06-02 01:36+0300\n" -"Last-Translator: Eugene Glotov \n" +"Last-Translator: Roman Bylbas \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -23,11 +23,15 @@ msgstr "Назначение" msgid "" "To implement a central storage for objects often used throughout the " "application, is typically implemented using an abstract class with only " -"static methods (or using the Singleton pattern)" +"static methods (or using the Singleton pattern). Remember that this " +"introduces global state, which should be avoided at all times! Instead " +"implement it using Dependency Injection!" msgstr "" "Для реализации централизованного хранения объектов, часто используемых " "во всем приложении, как правило, реализуется с помощью абстрактного " -"класса с только статическими методами (или с помощью шаблона Singleton)." +"класса только c статическими методами (или с помощью шаблона Singleton). " +"Помнте что это вводит глобальное состояние, которого следует избегать. " +"Используйте Dependency Injection вместо Registry." #: ../../Structural/Registry/README.rst:12 msgid "Examples" @@ -61,14 +65,6 @@ msgstr "Код" msgid "You can also find this code on `GitHub`_" msgstr "Вы можете найти этот код на `GitHub`_" -#: ../../Structural/Registry/README.rst:31 -msgid "Registry.php" -msgstr "Registry.php" - #: ../../Structural/Registry/README.rst:38 msgid "Test" msgstr "Тест" - -#: ../../Structural/Registry/README.rst:40 -msgid "Tests/RegistryTest.php" -msgstr "Tests/RegistryTest.php" diff --git a/locale/template/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.pot b/locale/template/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.pot deleted file mode 100644 index 9b42bd5..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.pot +++ /dev/null @@ -1,72 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:1 -msgid "Chain Of Responsibilities" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:7 -msgid "" -"To build a chain of objects to handle a call in sequential order. If one " -"object cannot handle a call, it delegates the call to the next in the " -"chain and so forth." -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:11 -msgid "Examples" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:14 -msgid "" -"Logging framework: where each chain element decides autonomously what " -"to do with a log message." -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:16 -msgid "A Spam filter." -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:17 -msgid "" -"Caching: first object is an instance of e.g. a Memcached Interface, " -"if that \"misses\" it delegates the call to the database interface." -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:19 -msgid "" -"Yii Framework: CFilterChain is a chain of controller action filters. " -"the executing point is passed from one filter to the next along the " -"chain, and only if all filters say \"yes\", the action can be invoked " -"at last." -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:24 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:28 -msgid "Alt ChainOfResponsibility UML Diagram" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:31 -msgid "Code" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:34 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:54 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/Command/README.pot b/locale/template/LC_MESSAGES/Behavioral/Command/README.pot deleted file mode 100644 index 33dd5b3..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/Command/README.pot +++ /dev/null @@ -1,81 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/Command/README.rst:1 -msgid "Command" -msgstr "" - -#: ../../Behavioral/Command/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/Command/README.rst:7 -msgid "To encapsulate invocation and decoupling." -msgstr "" - -#: ../../Behavioral/Command/README.rst:9 -msgid "" -"We have an Invoker and a Receiver. This pattern uses a \"Command\" to " -"delegate the method call against the Receiver and presents the same " -"method \"execute\". Therefore, the Invoker just knows to call \"execute\" to " -"process the Command of the client. The Receiver is decoupled from the " -"Invoker." -msgstr "" - -#: ../../Behavioral/Command/README.rst:15 -msgid "" -"The second aspect of this pattern is the undo(), which undoes the method " -"execute(). Command can also be aggregated to combine more complex " -"commands with minimum copy-paste and relying on composition over " -"inheritance." -msgstr "" - -#: ../../Behavioral/Command/README.rst:20 -msgid "Examples" -msgstr "" - -#: ../../Behavioral/Command/README.rst:23 -msgid "" -"A text editor : all events are Command which can be undone, stacked " -"and saved." -msgstr "" - -#: ../../Behavioral/Command/README.rst:25 -msgid "" -"Symfony2: SF2 Commands that can be run from the CLI are built with " -"just the Command pattern in mind." -msgstr "" - -#: ../../Behavioral/Command/README.rst:27 -msgid "" -"Big CLI tools use subcommands to distribute various tasks and pack " -"them in \"modules\", each of these can be implemented with the Command " -"pattern (e.g. vagrant)." -msgstr "" - -#: ../../Behavioral/Command/README.rst:31 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/Command/README.rst:35 -msgid "Alt Command UML Diagram" -msgstr "" - -#: ../../Behavioral/Command/README.rst:38 -msgid "Code" -msgstr "" - -#: ../../Behavioral/Command/README.rst:41 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/Command/README.rst:67 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/Iterator/README.pot b/locale/template/LC_MESSAGES/Behavioral/Iterator/README.pot deleted file mode 100644 index 47d8c0d..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/Iterator/README.pot +++ /dev/null @@ -1,63 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/Iterator/README.rst:1 -msgid "Iterator" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:7 -msgid "To make an object iterable and to make it appear like a collection of objects." -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:10 -msgid "Examples" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:13 -msgid "" -"To process a file line by line by just running over all lines (which " -"have an object representation) for a file (which of course is an " -"object, too)." -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:17 -msgid "Note" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:20 -msgid "" -"Standard PHP Library (SPL) defines an interface Iterator which is best " -"suited for this! Often you would want to implement the Countable " -"interface too, to allow ``count($object)`` on your iterable object." -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:24 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:28 -msgid "Alt Iterator UML Diagram" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:31 -msgid "Code" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:34 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:60 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/Mediator/README.pot b/locale/template/LC_MESSAGES/Behavioral/Mediator/README.pot deleted file mode 100644 index a796de5..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/Mediator/README.pot +++ /dev/null @@ -1,51 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/Mediator/README.rst:1 -msgid "Mediator" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:7 -msgid "" -"This pattern provides an easy way to decouple many components working " -"together. It is a good alternative to Observer IF you have a \"central " -"intelligence\", like a controller (but not in the sense of the MVC)." -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:11 -msgid "" -"All components (called Colleague) are only coupled to the " -"MediatorInterface and it is a good thing because in OOP, one good friend " -"is better than many. This is the key-feature of this pattern." -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:15 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:19 -msgid "Alt Mediator UML Diagram" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:22 -msgid "Code" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:25 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:63 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/Memento/README.pot b/locale/template/LC_MESSAGES/Behavioral/Memento/README.pot deleted file mode 100644 index acff1b7..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/Memento/README.pot +++ /dev/null @@ -1,99 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/Memento/README.rst:1 -msgid "Memento" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:7 -msgid "" -"It provides the ability to restore an object to it's previous state (undo " -"via rollback) or to gain access to state of the object, without revealing " -"it's implementation (i.e., the object is not required to have a function " -"to return the current state)." -msgstr "" - -#: ../../Behavioral/Memento/README.rst:12 -msgid "" -"The memento pattern is implemented with three objects: the Originator, a " -"Caretaker and a Memento." -msgstr "" - -#: ../../Behavioral/Memento/README.rst:15 -msgid "" -"Memento – an object that *contains a concrete unique snapshot of state* of " -"any object or resource: string, number, array, an instance of class and so on. " -"The uniqueness in this case does not imply the prohibition existence of similar " -"states in different snapshots. That means the state can be extracted as " -"the independent clone. Any object stored in the Memento should be " -"*a full copy of the original object rather than a reference* to the original " -"object. The Memento object is a \"opaque object\" (the object that no one can " -"or should change)." -msgstr "" - -#: ../../Behavioral/Memento/README.rst:24 -msgid "" -"Originator – it is an object that contains the *actual state of an external " -"object is strictly specified type*. Originator is able to create a unique " -"copy of this state and return it wrapped in a Memento. The Originator does " -"not know the history of changes. You can set a concrete state to Originator " -"from the outside, which will be considered as actual. The Originator must " -"make sure that given state corresponds the allowed type of object. Originator " -"may (but not should) have any methods, but they *they can't make changes to " -"the saved object state*." -msgstr "" - -#: ../../Behavioral/Memento/README.rst:33 -msgid "" -"Caretaker *controls the states history*. He may make changes to an object; " -"take a decision to save the state of an external object in the Originator; " -"ask from the Originator snapshot of the current state; or set the Originator " -"state to equivalence with some snapshot from history." -msgstr "" - -#: ../../Behavioral/Memento/README.rst:38 -msgid "Examples" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:41 -msgid "The seed of a pseudorandom number generator." -msgstr "" - -#: ../../Behavioral/Memento/README.rst:42 -msgid "The state in a finite state machine." -msgstr "" - -#: ../../Behavioral/Memento/README.rst:43 -msgid "Control for intermediate states of `ORM Model `_ before saving." -msgstr "" - -#: ../../Behavioral/Memento/README.rst:45 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:49 -msgid "Alt Memento UML Diagram" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:52 -msgid "Code" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:55 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:75 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/NullObject/README.pot b/locale/template/LC_MESSAGES/Behavioral/NullObject/README.pot deleted file mode 100644 index 4f00a60..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/NullObject/README.pot +++ /dev/null @@ -1,85 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/NullObject/README.rst:1 -msgid "Null Object" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:7 -msgid "" -"NullObject is not a GoF design pattern but a schema which appears " -"frequently enough to be considered a pattern. It has the following " -"benefits:" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:11 -msgid "Client code is simplified." -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:12 -msgid "Reduces the chance of null pointer exceptions." -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:13 -msgid "Fewer conditionals require less test cases." -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:15 -msgid "" -"Methods that return an object or null should instead return an object or " -"``NullObject``. ``NullObject``\ s simplify boilerplate code such as " -"``if (!is_null($obj)) { $obj->callSomething(); }`` to just " -"``$obj->callSomething();`` by eliminating the conditional check in " -"client code." -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:21 -msgid "Examples" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:24 -msgid "Symfony2: null logger of profiler." -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:25 -msgid "Symfony2: null output in Symfony/Console." -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:26 -msgid "null handler in a Chain of Responsibilities pattern." -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:27 -msgid "null command in a Command pattern." -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:29 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:33 -msgid "Alt NullObject UML Diagram" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:36 -msgid "Code" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:39 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:65 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/Observer/README.pot b/locale/template/LC_MESSAGES/Behavioral/Observer/README.pot deleted file mode 100644 index db2937f..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/Observer/README.pot +++ /dev/null @@ -1,63 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/Observer/README.rst:1 -msgid "Observer" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:7 -msgid "" -"To implement a publish/subscribe behaviour to an object, whenever a " -"\"Subject\" object changes its state, the attached \"Observers\" will be " -"notified. It is used to shorten the amount of coupled objects and uses " -"loose coupling instead." -msgstr "" - -#: ../../Behavioral/Observer/README.rst:12 -msgid "Examples" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:15 -msgid "A message queue system is observed to show the progress of a job in a GUI." -msgstr "" - -#: ../../Behavioral/Observer/README.rst:17 -msgid "Note" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:20 -msgid "" -"PHP already defines two interfaces that can help to implement this " -"pattern: SplObserver and SplSubject." -msgstr "" - -#: ../../Behavioral/Observer/README.rst:23 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:27 -msgid "Alt Observer UML Diagram" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:30 -msgid "Code" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:33 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:47 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/README.pot b/locale/template/LC_MESSAGES/Behavioral/README.pot deleted file mode 100644 index 9c7bfda..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/README.pot +++ /dev/null @@ -1,21 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/README.rst:1 -msgid "Behavioral" -msgstr "" - -#: ../../Behavioral/README.rst:4 -msgid "" -"In software engineering, behavioral design patterns are design patterns " -"that identify common communication patterns between objects and realize " -"these patterns. By doing so, these patterns increase flexibility in " -"carrying out this communication." -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/Specification/README.pot b/locale/template/LC_MESSAGES/Behavioral/Specification/README.pot deleted file mode 100644 index 36f7299..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/Specification/README.pot +++ /dev/null @@ -1,49 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/Specification/README.rst:1 -msgid "Specification" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:7 -msgid "" -"Builds a clear specification of business rules, where objects can be " -"checked against. The composite specification class has one method called " -"``isSatisfiedBy`` that returns either true or false depending on whether " -"the given object satisfies the specification." -msgstr "" - -#: ../../Behavioral/Specification/README.rst:12 -msgid "Examples" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:17 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:21 -msgid "Alt Specification UML Diagram" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:24 -msgid "Code" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:27 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:65 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/State/README.pot b/locale/template/LC_MESSAGES/Behavioral/State/README.pot deleted file mode 100644 index 389d11f..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/State/README.pot +++ /dev/null @@ -1,44 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/State/README.rst:1 -msgid "State" -msgstr "" - -#: ../../Behavioral/State/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/State/README.rst:7 -msgid "" -"Encapsulate varying behavior for the same routine based on an object's " -"state. This can be a cleaner way for an object to change its behavior at " -"runtime without resorting to large monolithic conditional statements." -msgstr "" - -#: ../../Behavioral/State/README.rst:11 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/State/README.rst:15 -msgid "Alt State UML Diagram" -msgstr "" - -#: ../../Behavioral/State/README.rst:18 -msgid "Code" -msgstr "" - -#: ../../Behavioral/State/README.rst:21 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/State/README.rst:53 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/Strategy/README.pot b/locale/template/LC_MESSAGES/Behavioral/Strategy/README.pot deleted file mode 100644 index 95d7f0b..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/Strategy/README.pot +++ /dev/null @@ -1,70 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/Strategy/README.rst:1 ../../Behavioral/Strategy/README.rst:8 -msgid "Strategy" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:4 -msgid "Terminology" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:7 -msgid "Context" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:9 -msgid "Concrete Strategy" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:11 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:14 -msgid "" -"To separate strategies and to enable fast switching between them. Also " -"this pattern is a good alternative to inheritance (instead of having an " -"abstract class that is extended)." -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:18 -msgid "Examples" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:21 -msgid "Sorting a list of objects, one strategy by date, the other by id." -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:22 -msgid "" -"Simplify unit testing: e.g. switching between file and in-memory " -"storage." -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:25 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:29 -msgid "Alt Strategy UML Diagram" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:32 -msgid "Code" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:35 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:61 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/TemplateMethod/README.pot b/locale/template/LC_MESSAGES/Behavioral/TemplateMethod/README.pot deleted file mode 100644 index 3ab5c5f..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/TemplateMethod/README.pot +++ /dev/null @@ -1,68 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/TemplateMethod/README.rst:1 -msgid "Template Method" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:7 -msgid "Template Method is a behavioral design pattern." -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:9 -msgid "" -"Perhaps you have encountered it many times already. The idea is to let " -"subclasses of this abstract template \"finish\" the behavior of an " -"algorithm." -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:13 -msgid "" -"A.k.a the \"Hollywood Principle\": \"Don't call us, we call you.\" This " -"class is not called by subclasses but the inverse. How? With abstraction " -"of course." -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:17 -msgid "" -"In other words, this is a skeleton of algorithm, well-suited for " -"framework libraries. The user has just to implement one method and the " -"superclass does the job." -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:21 -msgid "" -"It is an easy way to decouple concrete classes and reduce copy-paste, " -"that's why you'll find it everywhere." -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:24 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:28 -msgid "Alt TemplateMethod UML Diagram" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:31 -msgid "Code" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:34 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:54 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Behavioral/Visitor/README.pot b/locale/template/LC_MESSAGES/Behavioral/Visitor/README.pot deleted file mode 100644 index 056651d..0000000 --- a/locale/template/LC_MESSAGES/Behavioral/Visitor/README.pot +++ /dev/null @@ -1,52 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Behavioral/Visitor/README.rst:1 -msgid "Visitor" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:7 -msgid "" -"The Visitor Pattern lets you outsource operations on objects to other " -"objects. The main reason to do this is to keep a separation of concerns. " -"But classes have to define a contract to allow visitors (the " -"``Role::accept`` method in the example)." -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:12 -msgid "" -"The contract is an abstract class but you can have also a clean " -"interface. In that case, each Visitor has to choose itself which method " -"to invoke on the visitor." -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:16 -msgid "UML Diagram" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:20 -msgid "Alt Visitor UML Diagram" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:23 -msgid "Code" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:26 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:58 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/AbstractFactory/README.pot b/locale/template/LC_MESSAGES/Creational/AbstractFactory/README.pot deleted file mode 100644 index 5610f7d..0000000 --- a/locale/template/LC_MESSAGES/Creational/AbstractFactory/README.pot +++ /dev/null @@ -1,45 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/AbstractFactory/README.rst:1 -msgid "Abstract Factory" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:7 -msgid "" -"To create series of related or dependent objects without specifying " -"their concrete classes. Usually the created classes all implement the " -"same interface. The client of the abstract factory does not care about " -"how these objects are created, he just knows how they go together." -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:12 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:16 -msgid "Alt AbstractFactory UML Diagram" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:19 -msgid "Code" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:22 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:60 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/Builder/README.pot b/locale/template/LC_MESSAGES/Creational/Builder/README.pot deleted file mode 100644 index 784edf6..0000000 --- a/locale/template/LC_MESSAGES/Creational/Builder/README.pot +++ /dev/null @@ -1,67 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/Builder/README.rst:1 -msgid "Builder" -msgstr "" - -#: ../../Creational/Builder/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Creational/Builder/README.rst:7 -msgid "Builder is an interface that build parts of a complex object." -msgstr "" - -#: ../../Creational/Builder/README.rst:9 -msgid "" -"Sometimes, if the builder has a better knowledge of what it builds, this " -"interface could be an abstract class with default methods (aka adapter)." -msgstr "" - -#: ../../Creational/Builder/README.rst:12 -msgid "" -"If you have a complex inheritance tree for objects, it is logical to " -"have a complex inheritance tree for builders too." -msgstr "" - -#: ../../Creational/Builder/README.rst:15 -msgid "" -"Note: Builders have often a fluent interface, see the mock builder of " -"PHPUnit for example." -msgstr "" - -#: ../../Creational/Builder/README.rst:18 -msgid "Examples" -msgstr "" - -#: ../../Creational/Builder/README.rst:21 -msgid "PHPUnit: Mock Builder" -msgstr "" - -#: ../../Creational/Builder/README.rst:23 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/Builder/README.rst:27 -msgid "Alt Builder UML Diagram" -msgstr "" - -#: ../../Creational/Builder/README.rst:30 -msgid "Code" -msgstr "" - -#: ../../Creational/Builder/README.rst:33 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/Builder/README.rst:95 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/FactoryMethod/README.pot b/locale/template/LC_MESSAGES/Creational/FactoryMethod/README.pot deleted file mode 100644 index 2cf0eb8..0000000 --- a/locale/template/LC_MESSAGES/Creational/FactoryMethod/README.pot +++ /dev/null @@ -1,60 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/FactoryMethod/README.rst:1 -msgid "Factory Method" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:7 -msgid "" -"The good point over the SimpleFactory is you can subclass it to " -"implement different ways to create objects." -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:10 -msgid "For simple case, this abstract class could be just an interface." -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:12 -msgid "" -"This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:15 -msgid "" -"It means the FactoryMethod class depends on abstractions, not concrete " -"classes. This is the real trick compared to SimpleFactory or " -"StaticFactory." -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:19 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:23 -msgid "Alt FactoryMethod UML Diagram" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:26 -msgid "Code" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:29 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:73 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/Multiton/README.pot b/locale/template/LC_MESSAGES/Creational/Multiton/README.pot deleted file mode 100644 index c9b8176..0000000 --- a/locale/template/LC_MESSAGES/Creational/Multiton/README.pot +++ /dev/null @@ -1,61 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/Multiton/README.rst:1 -msgid "Multiton" -msgstr "" - -#: ../../Creational/Multiton/README.rst:4 -msgid "" -"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND " -"MAINTAINABILITY USE DEPENDENCY INJECTION!**" -msgstr "" - -#: ../../Creational/Multiton/README.rst:7 -msgid "Purpose" -msgstr "" - -#: ../../Creational/Multiton/README.rst:10 -msgid "" -"To have only a list of named instances that are used, like a singleton " -"but with n instances." -msgstr "" - -#: ../../Creational/Multiton/README.rst:13 -msgid "Examples" -msgstr "" - -#: ../../Creational/Multiton/README.rst:16 -msgid "2 DB Connectors, e.g. one for MySQL, the other for SQLite" -msgstr "" - -#: ../../Creational/Multiton/README.rst:17 -msgid "multiple Loggers (one for debug messages, one for errors)" -msgstr "" - -#: ../../Creational/Multiton/README.rst:19 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/Multiton/README.rst:23 -msgid "Alt Multiton UML Diagram" -msgstr "" - -#: ../../Creational/Multiton/README.rst:26 -msgid "Code" -msgstr "" - -#: ../../Creational/Multiton/README.rst:29 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/Multiton/README.rst:37 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/Pool/README.pot b/locale/template/LC_MESSAGES/Creational/Pool/README.pot deleted file mode 100644 index b8f06f2..0000000 --- a/locale/template/LC_MESSAGES/Creational/Pool/README.pot +++ /dev/null @@ -1,66 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/Pool/README.rst:1 -msgid "Pool" -msgstr "" - -#: ../../Creational/Pool/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Creational/Pool/README.rst:7 -msgid "" -"The **object pool pattern** is a software creational design pattern that " -"uses a set of initialized objects kept ready to use – a \"pool\" – rather " -"than allocating and destroying them on demand. A client of the pool will " -"request an object from the pool and perform operations on the returned " -"object. When the client has finished, it returns the object, which is a " -"specific type of factory object, to the pool rather than destroying it." -msgstr "" - -#: ../../Creational/Pool/README.rst:14 -msgid "" -"Object pooling can offer a significant performance boost in situations " -"where the cost of initializing a class instance is high, the rate of " -"instantiation of a class is high, and the number of instances in use at " -"any one time is low. The pooled object is obtained in predictable time " -"when creation of the new objects (especially over network) may take " -"variable time." -msgstr "" - -#: ../../Creational/Pool/README.rst:21 -msgid "" -"However these benefits are mostly true for objects that are expensive " -"with respect to time, such as database connections, socket connections, " -"threads and large graphic objects like fonts or bitmaps. In certain " -"situations, simple object pooling (that hold no external resources, but " -"only occupy memory) may not be efficient and could decrease performance." -msgstr "" - -#: ../../Creational/Pool/README.rst:27 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/Pool/README.rst:31 -msgid "Alt Pool UML Diagram" -msgstr "" - -#: ../../Creational/Pool/README.rst:34 -msgid "Code" -msgstr "" - -#: ../../Creational/Pool/README.rst:37 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/Pool/README.rst:51 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/Prototype/README.pot b/locale/template/LC_MESSAGES/Creational/Prototype/README.pot deleted file mode 100644 index 2cfa74b..0000000 --- a/locale/template/LC_MESSAGES/Creational/Prototype/README.pot +++ /dev/null @@ -1,53 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/Prototype/README.rst:1 -msgid "Prototype" -msgstr "" - -#: ../../Creational/Prototype/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Creational/Prototype/README.rst:7 -msgid "" -"To avoid the cost of creating objects the standard way (new Foo()) and " -"instead create a prototype and clone it." -msgstr "" - -#: ../../Creational/Prototype/README.rst:10 -msgid "Examples" -msgstr "" - -#: ../../Creational/Prototype/README.rst:13 -msgid "" -"Large amounts of data (e.g. create 1,000,000 rows in a database at " -"once via a ORM)." -msgstr "" - -#: ../../Creational/Prototype/README.rst:16 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/Prototype/README.rst:20 -msgid "Alt Prototype UML Diagram" -msgstr "" - -#: ../../Creational/Prototype/README.rst:23 -msgid "Code" -msgstr "" - -#: ../../Creational/Prototype/README.rst:26 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/Prototype/README.rst:46 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/README.pot b/locale/template/LC_MESSAGES/Creational/README.pot deleted file mode 100644 index d3d8b7d..0000000 --- a/locale/template/LC_MESSAGES/Creational/README.pot +++ /dev/null @@ -1,23 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/README.rst:1 -msgid "Creational" -msgstr "" - -#: ../../Creational/README.rst:4 -msgid "" -"In software engineering, creational design patterns are design patterns " -"that deal with object creation mechanisms, trying to create objects in a " -"manner suitable to the situation. The basic form of object creation " -"could result in design problems or added complexity to the design. " -"Creational design patterns solve this problem by somehow controlling " -"this object creation." -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/SimpleFactory/README.pot b/locale/template/LC_MESSAGES/Creational/SimpleFactory/README.pot deleted file mode 100644 index 8c59113..0000000 --- a/locale/template/LC_MESSAGES/Creational/SimpleFactory/README.pot +++ /dev/null @@ -1,55 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/SimpleFactory/README.rst:1 -msgid "Simple Factory" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:7 -msgid "SimpleFactory is a simple factory pattern." -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:9 -msgid "" -"It differs from the static factory because it is not static. " -"Therefore, you can have multiple factories, differently parameterized, you can subclass it and you can mock it." -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:11 -msgid "It always should be preferred over a static factory!" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:13 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:17 -msgid "Alt SimpleFactory UML Diagram" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:20 -msgid "Code" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:23 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:43 -msgid "Usage" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:52 -msgid "Test" -msgstr "" diff --git a/locale/template/LC_MESSAGES/Creational/Singleton/README.pot b/locale/template/LC_MESSAGES/Creational/Singleton/README.pot deleted file mode 100644 index ef33719..0000000 --- a/locale/template/LC_MESSAGES/Creational/Singleton/README.pot +++ /dev/null @@ -1,69 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/Singleton/README.rst:1 -msgid "Singleton" -msgstr "" - -#: ../../Creational/Singleton/README.rst:4 -msgid "" -"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND " -"MAINTAINABILITY USE DEPENDENCY INJECTION!**" -msgstr "" - -#: ../../Creational/Singleton/README.rst:7 -msgid "Purpose" -msgstr "" - -#: ../../Creational/Singleton/README.rst:10 -msgid "" -"To have only one instance of this object in the application that will " -"handle all calls." -msgstr "" - -#: ../../Creational/Singleton/README.rst:13 -msgid "Examples" -msgstr "" - -#: ../../Creational/Singleton/README.rst:16 -msgid "DB Connector" -msgstr "" - -#: ../../Creational/Singleton/README.rst:17 -msgid "" -"Logger (may also be a Multiton if there are many log files for " -"several purposes)" -msgstr "" - -#: ../../Creational/Singleton/README.rst:19 -msgid "" -"Lock file for the application (there is only one in the filesystem " -"...)" -msgstr "" - -#: ../../Creational/Singleton/README.rst:22 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/Singleton/README.rst:26 -msgid "Alt Singleton UML Diagram" -msgstr "" - -#: ../../Creational/Singleton/README.rst:29 -msgid "Code" -msgstr "" - -#: ../../Creational/Singleton/README.rst:32 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/Singleton/README.rst:40 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Creational/StaticFactory/README.pot b/locale/template/LC_MESSAGES/Creational/StaticFactory/README.pot deleted file mode 100644 index 20a9d4e..0000000 --- a/locale/template/LC_MESSAGES/Creational/StaticFactory/README.pot +++ /dev/null @@ -1,56 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Creational/StaticFactory/README.rst:1 -msgid "Static Factory" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:7 -msgid "" -"Similar to the AbstractFactory, this pattern is used to create series of " -"related or dependent objects. The difference between this and the " -"abstract factory pattern is that the static factory pattern uses just " -"one static method to create all types of objects it can create. It is " -"usually named ``factory`` or ``build``." -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:13 -msgid "Examples" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:16 -msgid "" -"Zend Framework: ``Zend_Cache_Backend`` or ``_Frontend`` use a factory " -"method create cache backends or frontends" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:19 -msgid "UML Diagram" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:23 -msgid "Alt StaticFactory UML Diagram" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:26 -msgid "Code" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:29 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:55 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/More/Delegation/README.pot b/locale/template/LC_MESSAGES/More/Delegation/README.pot deleted file mode 100644 index a8b3182..0000000 --- a/locale/template/LC_MESSAGES/More/Delegation/README.pot +++ /dev/null @@ -1,54 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../More/Delegation/README.rst:1 -msgid "Delegation" -msgstr "" - -#: ../../More/Delegation/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing one " -"of its stated tasks, delegates that task to an associated helper object. In " -"this case TeamLead professes to writeCode and Usage uses this, while TeamLead " -"delegates writeCode to JuniorDeveloper's writeBadCode function. This inverts " -"the responsibility so that Usage is unknowingly executing writeBadCode." -msgstr "" - -#: ../../More/Delegation/README.rst:13 -msgid "Examples" -msgstr "" - -#: ../../More/Delegation/README.rst:16 -msgid "Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to see it all tied together." -msgstr "" - -#: ../../More/Delegation/README.rst:18 -msgid "UML Diagram" -msgstr "" - -#: ../../More/Delegation/README.rst:22 -msgid "Alt Delegation UML Diagram" -msgstr "" - -#: ../../More/Delegation/README.rst:25 -msgid "Code" -msgstr "" - -#: ../../More/Delegation/README.rst:28 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../More/Delegation/README.rst:42 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/More/EAV/README.pot b/locale/template/LC_MESSAGES/More/EAV/README.pot deleted file mode 100644 index 585e1aa..0000000 --- a/locale/template/LC_MESSAGES/More/EAV/README.pot +++ /dev/null @@ -1,49 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../More/EAV/README.rst:1 -msgid "Entity-Attribute-Value (EAV)" -msgstr "" - -#: ../../More/EAV/README.rst:4 -msgid "The Entity–attribute–value (EAV) pattern in order to implement EAV model with PHP." -msgstr "" - -#: ../../More/EAV/README.rst:6 -msgid "Purpose" -msgstr "" - -#: ../../More/EAV/README.rst:9 -msgid "" -"The Entity–attribute–value (EAV) model is a data model to describe entities " -"where the number of attributes (properties, parameters) that can be used " -"to describe them is potentially vast, but the number that will actually apply " -"to a given entity is relatively modest." -msgstr "" - -#: ../../More/EAV/README.rst:14 -msgid "UML Diagram" -msgstr "" - -#: ../../More/EAV/README.rst:18 -msgid "EAV UML Diagram" -msgstr "" - -#: ../../More/EAV/README.rst:21 -msgid "Code" -msgstr "" - -#: ../../More/EAV/README.rst:24 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../More/EAV/README.rst:44 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/More/README.pot b/locale/template/LC_MESSAGES/More/README.pot deleted file mode 100644 index 78dfff1..0000000 --- a/locale/template/LC_MESSAGES/More/README.pot +++ /dev/null @@ -1,13 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../More/README.rst:1 -msgid "More" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/More/Repository/README.pot b/locale/template/LC_MESSAGES/More/Repository/README.pot deleted file mode 100644 index df5f973..0000000 --- a/locale/template/LC_MESSAGES/More/Repository/README.pot +++ /dev/null @@ -1,62 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../More/Repository/README.rst:1 -msgid "Repository" -msgstr "" - -#: ../../More/Repository/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../More/Repository/README.rst:7 -msgid "" -"Mediates between the domain and data mapping layers using a " -"collection-like interface for accessing domain objects. Repository " -"encapsulates the set of objects persisted in a data store and the " -"operations performed over them, providing a more object-oriented view of " -"the persistence layer. Repository also supports the objective of " -"achieving a clean separation and one-way dependency between the domain " -"and data mapping layers." -msgstr "" - -#: ../../More/Repository/README.rst:15 -msgid "Examples" -msgstr "" - -#: ../../More/Repository/README.rst:18 -msgid "" -"Doctrine 2 ORM: there is Repository that mediates between Entity and " -"DBAL and contains methods to retrieve objects" -msgstr "" - -#: ../../More/Repository/README.rst:20 -msgid "Laravel Framework" -msgstr "" - -#: ../../More/Repository/README.rst:22 -msgid "UML Diagram" -msgstr "" - -#: ../../More/Repository/README.rst:26 -msgid "Alt Repository UML Diagram" -msgstr "" - -#: ../../More/Repository/README.rst:29 -msgid "Code" -msgstr "" - -#: ../../More/Repository/README.rst:32 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../More/Repository/README.rst:52 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/More/ServiceLocator/README.pot b/locale/template/LC_MESSAGES/More/ServiceLocator/README.pot deleted file mode 100644 index 1ac7074..0000000 --- a/locale/template/LC_MESSAGES/More/ServiceLocator/README.pot +++ /dev/null @@ -1,67 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../More/ServiceLocator/README.rst:1 -msgid "Service Locator" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:7 -msgid "" -"To implement a loosely coupled architecture in order to get better " -"testable, maintainable and extendable code. DI pattern and Service " -"Locator pattern are an implementation of the Inverse of Control pattern." -msgstr "" - -#: ../../More/ServiceLocator/README.rst:11 -msgid "Usage" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:14 -msgid "" -"With ``ServiceLocator`` you can register a service for a given " -"interface. By using the interface you can retrieve the service and use " -"it in the classes of the application without knowing its implementation. " -"You can configure and inject the Service Locator object on bootstrap." -msgstr "" - -#: ../../More/ServiceLocator/README.rst:19 -msgid "Examples" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:22 -msgid "" -"Zend Framework 2 uses Service Locator to create and share services " -"used in the framework(i.e. EventManager, ModuleManager, all custom " -"user services provided by modules, etc...)" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:26 -msgid "UML Diagram" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:30 -msgid "Alt ServiceLocator UML Diagram" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:33 -msgid "Code" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:36 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:50 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/README.pot b/locale/template/LC_MESSAGES/README.pot deleted file mode 100644 index 92b1114..0000000 --- a/locale/template/LC_MESSAGES/README.pot +++ /dev/null @@ -1,71 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../README.rst:4 -msgid "DesignPatternsPHP" -msgstr "" - -#: ../../README.rst:9 -msgid "Documentation Status" -msgstr "" - -#: ../../README.rst:11 -msgid "" -"This is a collection of known `design patterns`_ and some sample code how " -"to implement them in PHP. Every pattern has a small list of examples " -"(most of them from Zend Framework, Symfony2 or Doctrine2 as I'm most " -"familiar with this software)." -msgstr "" - -#: ../../README.rst:16 -msgid "" -"I think the problem with patterns is that often people do know them but " -"don't know when to apply which." -msgstr "" - -#: ../../README.rst:19 -msgid "Patterns" -msgstr "" - -#: ../../README.rst:22 -msgid "" -"The patterns can be structured in roughly three different categories. " -"Please click on **the title of every pattern's page** for a full explanation " -"of the pattern on Wikipedia." -msgstr "" - -#: ../../README.rst:34 -msgid "Contribute" -msgstr "" - -#: ../../README.rst:37 -msgid "" -"If you encounter any bugs or missing translations, please feel free " -"to fork and send a pull request with your changes. " -"To establish a consistent code quality, please check your code using " -"`PHP CodeSniffer`_ against `PSR2 standard`_ " -"using ``./vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor .``." -msgstr "" - -#: ../../README.rst:69 -msgid "`design patterns`" -msgstr "" - -#: ../../README.rst:70 -msgid "`PHP CodeSniffer`" -msgstr "" - -#: ../../README.rst:71 -msgid "`PSR2 standard`" -msgstr "" - -#: ../../README.rst:73 -msgid "`contributors`" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/Adapter/README.pot b/locale/template/LC_MESSAGES/Structural/Adapter/README.pot deleted file mode 100644 index ffaf97c..0000000 --- a/locale/template/LC_MESSAGES/Structural/Adapter/README.pot +++ /dev/null @@ -1,59 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/Adapter/README.rst:1 -msgid "Adapter" -msgstr "" - -#: ../../Structural/Adapter/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/Adapter/README.rst:7 -msgid "" -"To translate one interface for a class into a compatible interface. An " -"adapter allows classes to work together that normally could not because " -"of incompatible interfaces by providing its interface to clients while " -"using the original interface." -msgstr "" - -#: ../../Structural/Adapter/README.rst:12 -msgid "Examples" -msgstr "" - -#: ../../Structural/Adapter/README.rst:15 -msgid "DB Client libraries adapter" -msgstr "" - -#: ../../Structural/Adapter/README.rst:16 -msgid "" -"using multiple different webservices and adapters normalize data so " -"that the outcome is the same for all" -msgstr "" - -#: ../../Structural/Adapter/README.rst:19 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Adapter/README.rst:23 -msgid "Alt Adapter UML Diagram" -msgstr "" - -#: ../../Structural/Adapter/README.rst:26 -msgid "Code" -msgstr "" - -#: ../../Structural/Adapter/README.rst:29 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/Adapter/README.rst:61 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/Bridge/README.pot b/locale/template/LC_MESSAGES/Structural/Bridge/README.pot deleted file mode 100644 index d9787fc..0000000 --- a/locale/template/LC_MESSAGES/Structural/Bridge/README.pot +++ /dev/null @@ -1,53 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/Bridge/README.rst:1 -msgid "Bridge" -msgstr "" - -#: ../../Structural/Bridge/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/Bridge/README.rst:7 -msgid "" -"Decouple an abstraction from its implementation so that the two can vary " -"independently." -msgstr "" - -#: ../../Structural/Bridge/README.rst:10 -msgid "Examples" -msgstr "" - -#: ../../Structural/Bridge/README.rst:13 -msgid "" -"`Symfony " -"DoctrineBridge `__" -msgstr "" - -#: ../../Structural/Bridge/README.rst:16 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Bridge/README.rst:20 -msgid "Alt Bridge UML Diagram" -msgstr "" - -#: ../../Structural/Bridge/README.rst:23 -msgid "Code" -msgstr "" - -#: ../../Structural/Bridge/README.rst:26 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/Bridge/README.rst:58 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/Composite/README.pot b/locale/template/LC_MESSAGES/Structural/Composite/README.pot deleted file mode 100644 index 9419f7d..0000000 --- a/locale/template/LC_MESSAGES/Structural/Composite/README.pot +++ /dev/null @@ -1,60 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/Composite/README.rst:1 -msgid "Composite" -msgstr "" - -#: ../../Structural/Composite/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/Composite/README.rst:7 -msgid "" -"To treat a group of objects the same way as a single instance of the " -"object." -msgstr "" - -#: ../../Structural/Composite/README.rst:10 -msgid "Examples" -msgstr "" - -#: ../../Structural/Composite/README.rst:13 -msgid "" -"a form class instance handles all its form elements like a single " -"instance of the form, when ``render()`` is called, it subsequently " -"runs through all its child elements and calls ``render()`` on them" -msgstr "" - -#: ../../Structural/Composite/README.rst:16 -msgid "" -"``Zend_Config``: a tree of configuration options, each one is a " -"``Zend_Config`` object itself" -msgstr "" - -#: ../../Structural/Composite/README.rst:19 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Composite/README.rst:23 -msgid "Alt Composite UML Diagram" -msgstr "" - -#: ../../Structural/Composite/README.rst:26 -msgid "Code" -msgstr "" - -#: ../../Structural/Composite/README.rst:29 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/Composite/README.rst:55 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/DataMapper/README.pot b/locale/template/LC_MESSAGES/Structural/DataMapper/README.pot deleted file mode 100644 index 8de3978..0000000 --- a/locale/template/LC_MESSAGES/Structural/DataMapper/README.pot +++ /dev/null @@ -1,66 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/DataMapper/README.rst:1 -msgid "Data Mapper" -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:7 -msgid "" -"A Data Mapper, is a Data Access Layer that performs bidirectional " -"transfer of data between a persistent data store (often a relational " -"database) and an in memory data representation (the domain layer). The " -"goal of the pattern is to keep the in memory representation and the " -"persistent data store independent of each other and the data mapper " -"itself. The layer is composed of one or more mappers (or Data Access " -"Objects), performing the data transfer. Mapper implementations vary in " -"scope. Generic mappers will handle many different domain entity types, " -"dedicated mappers will handle one or a few." -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:17 -msgid "" -"The key point of this pattern is, unlike Active Record pattern, the data " -"model follows Single Responsibility Principle." -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:20 -msgid "Examples" -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:23 -msgid "" -"DB Object Relational Mapper (ORM) : Doctrine2 uses DAO named as " -"\"EntityRepository\"" -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:26 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:30 -msgid "Alt DataMapper UML Diagram" -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:33 -msgid "Code" -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:36 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/DataMapperREADME.rst:56 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/Decorator/README.pot b/locale/template/LC_MESSAGES/Structural/Decorator/README.pot deleted file mode 100644 index cf1d44f..0000000 --- a/locale/template/LC_MESSAGES/Structural/Decorator/README.pot +++ /dev/null @@ -1,99 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/Decorator/README.rst:1 -msgid "Decorator" -msgstr "" - -#: ../../Structural/Decorator/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/Decorator/README.rst:7 -msgid "To dynamically add new functionality to class instances." -msgstr "" - -#: ../../Structural/Decorator/README.rst:9 -msgid "Examples" -msgstr "" - -#: ../../Structural/Decorator/README.rst:12 -msgid "Zend Framework: decorators for ``Zend_Form_Element`` instances" -msgstr "" - -#: ../../Structural/Decorator/README.rst:13 -msgid "" -"Web Service Layer: Decorators JSON and XML for a REST service (in " -"this case, only one of these should be allowed of course)" -msgstr "" - -#: ../../Structural/Decorator/README.rst:16 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Decorator/README.rst:20 -msgid "Alt Decorator UML Diagram" -msgstr "" - -#: ../../Structural/Decorator/README.rst:23 -msgid "Code" -msgstr "" - -#: ../../Structural/Decorator/README.rst:26 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/Decorator/README.rst:58 -msgid "Test" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" - -#: ../../Structural/Decorator/README.rst: -msgid "" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/DependencyInjection/README.pot b/locale/template/LC_MESSAGES/Structural/DependencyInjection/README.pot deleted file mode 100644 index 87996d9..0000000 --- a/locale/template/LC_MESSAGES/Structural/DependencyInjection/README.pot +++ /dev/null @@ -1,74 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/DependencyInjection/README.rst:1 -msgid "Dependency Injection" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:7 -msgid "" -"To implement a loosely coupled architecture in order to get better " -"testable, maintainable and extendable code." -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:10 -msgid "Usage" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:13 -msgid "" -"``DatabaseConfiguration`` gets injected and ``DatabaseConnection`` will get all that it " -"needs from ``$config``. Without DI, the configuration would be created " -"directly in ``DatabaseConnection``, which is not very good for testing and " -"extending it." -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:18 -msgid "Examples" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:21 -msgid "" -"The Doctrine2 ORM uses dependency injection e.g. for configuration " -"that is injected into a ``Connection`` object. For testing purposes, " -"one can easily create a mock object of the configuration and inject " -"that into the ``Connection`` object" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:25 -msgid "" -"Symfony and Zend Framework 2 already have containers for DI that " -"create objects via a configuration array and inject them where needed " -"(i.e. in Controllers)" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:29 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:33 -msgid "Alt DependencyInjection UML Diagram" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:36 -msgid "Code" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:39 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:53 -msgid "Test" -msgstr "" diff --git a/locale/template/LC_MESSAGES/Structural/Facade/README.pot b/locale/template/LC_MESSAGES/Structural/Facade/README.pot deleted file mode 100644 index c519aee..0000000 --- a/locale/template/LC_MESSAGES/Structural/Facade/README.pot +++ /dev/null @@ -1,73 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/Facade/README.rst:1 -msgid "Facade" -msgstr "" - -#: ../../Structural/Facade/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/Facade/README.rst:7 -msgid "" -"The primary goal of a Facade Pattern is not to avoid you to read the " -"manual of a complex API. It's only a side-effect. The first goal is to " -"reduce coupling and follow the Law of Demeter." -msgstr "" - -#: ../../Structural/Facade/README.rst:11 -msgid "" -"A Facade is meant to decouple a client and a sub-system by embedding " -"many (but sometimes just one) interface, and of course to reduce " -"complexity." -msgstr "" - -#: ../../Structural/Facade/README.rst:15 -msgid "A facade does not forbid you the access to the sub-system" -msgstr "" - -#: ../../Structural/Facade/README.rst:16 -msgid "You can (you should) have multiple facades for one sub-system" -msgstr "" - -#: ../../Structural/Facade/README.rst:18 -msgid "" -"That's why a good facade has no ``new`` in it. If there are multiple " -"creations for each method, it is not a Facade, it's a Builder or a " -"[Abstract\|Static\|Simple] Factory [Method]." -msgstr "" - -#: ../../Structural/Facade/README.rst:22 -msgid "" -"The best facade has no ``new`` and a constructor with " -"interface-type-hinted parameters. If you need creation of new instances, " -"use a Factory as argument." -msgstr "" - -#: ../../Structural/Facade/README.rst:26 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Facade/README.rst:30 -msgid "Alt Facade UML Diagram" -msgstr "" - -#: ../../Structural/Facade/README.rst:33 -msgid "Code" -msgstr "" - -#: ../../Structural/Facade/README.rst:36 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/Facade/README.rst:56 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/FluentInterface/README.pot b/locale/template/LC_MESSAGES/Structural/FluentInterface/README.pot deleted file mode 100644 index b74af4b..0000000 --- a/locale/template/LC_MESSAGES/Structural/FluentInterface/README.pot +++ /dev/null @@ -1,57 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/FluentInterface/README.rst:1 -msgid "Fluent Interface" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:7 -msgid "" -"To write code that is easy readable just like sentences in a natural " -"language (like English)." -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:13 -msgid "" -"Doctrine2's QueryBuilder works something like that example class " -"below" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:15 -msgid "PHPUnit uses fluent interfaces to build mock objects" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:16 -msgid "Yii Framework: CDbCommand and CActiveRecord use this pattern, too" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:18 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:22 -msgid "Alt FluentInterface UML Diagram" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:25 -msgid "Code" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:28 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/FluentInterface/README.rst:36 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/Flyweight/README.pot b/locale/template/LC_MESSAGES/Structural/Flyweight/README.pot deleted file mode 100644 index b5c6bde..0000000 --- a/locale/template/LC_MESSAGES/Structural/Flyweight/README.pot +++ /dev/null @@ -1,44 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/Flyweight/README.rst:1 -msgid "Flyweight" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:7 -msgid "" -"To minimise memory usage, a Flyweight shares as much as possible memory with similar objects. It " -"is needed when a large amount of objects is used that don't differ much in state. A common practice is " -"to hold state in external data structures and pass them to the flyweight object when needed." -msgstr "" - -#: ../../Structural/Flyweight/README.rst:11 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:15 -msgid "Alt Flyweight UML Diagram" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:18 -msgid "Code" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:21 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:41 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/Proxy/README.pot b/locale/template/LC_MESSAGES/Structural/Proxy/README.pot deleted file mode 100644 index 836599c..0000000 --- a/locale/template/LC_MESSAGES/Structural/Proxy/README.pot +++ /dev/null @@ -1,52 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/Proxy/README.rst:1 -msgid "Proxy" -msgstr "" - -#: ../../Structural/Proxy/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/Proxy/README.rst:7 -msgid "To interface to anything that is expensive or impossible to duplicate." -msgstr "" - -#: ../../Structural/Proxy/README.rst:9 -msgid "Examples" -msgstr "" - -#: ../../Structural/Proxy/README.rst:12 -msgid "" -"Doctrine2 uses proxies to implement framework magic (e.g. lazy " -"initialization) in them, while the user still works with his own " -"entity classes and will never use nor touch the proxies" -msgstr "" - -#: ../../Structural/Proxy/README.rst:16 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Proxy/README.rst:20 -msgid "Alt Proxy UML Diagram" -msgstr "" - -#: ../../Structural/Proxy/README.rst:23 -msgid "Code" -msgstr "" - -#: ../../Structural/Proxy/README.rst:26 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/Proxy/README.rst:40 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/README.pot b/locale/template/LC_MESSAGES/Structural/README.pot deleted file mode 100644 index 7761812..0000000 --- a/locale/template/LC_MESSAGES/Structural/README.pot +++ /dev/null @@ -1,20 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/README.rst:1 -msgid "Structural" -msgstr "" - -#: ../../Structural/README.rst:4 -msgid "" -"In Software Engineering, Structural Design Patterns are Design Patterns " -"that ease the design by identifying a simple way to realize " -"relationships between entities." -msgstr "" \ No newline at end of file diff --git a/locale/template/LC_MESSAGES/Structural/Registry/README.pot b/locale/template/LC_MESSAGES/Structural/Registry/README.pot deleted file mode 100644 index c580001..0000000 --- a/locale/template/LC_MESSAGES/Structural/Registry/README.pot +++ /dev/null @@ -1,61 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP " -"d4972f03fc93de3ef10bb31220de49931487d5e0\n" -"POT-Creation-Date: 2016-09-19 17:00-0500\n" -"Last-Translator: Axel Pardemann \n" -"Content-Type: text/plain; " -"charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../../Structural/Registry/README.rst:1 -msgid "Registry" -msgstr "" - -#: ../../Structural/Registry/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../Structural/Registry/README.rst:7 -msgid "" -"To implement a central storage for objects often used throughout the " -"application, is typically implemented using an abstract class with only " -"static methods (or using the Singleton pattern). Remember that this introduces " -"global state, which should be avoided at all times! Instead implement it using Dependency Injection!" -msgstr "" - -#: ../../Structural/Registry/README.rst:12 -msgid "Examples" -msgstr "" - -#: ../../Structural/Registry/README.rst:15 -msgid "" -"Zend Framework 1: ``Zend_Registry`` holds the application's logger " -"object, front controller etc." -msgstr "" - -#: ../../Structural/Registry/README.rst:17 -msgid "" -"Yii Framework: ``CWebApplication`` holds all the application " -"components, such as ``CWebUser``, ``CUrlManager``, etc." -msgstr "" - -#: ../../Structural/Registry/README.rst:20 -msgid "UML Diagram" -msgstr "" - -#: ../../Structural/Registry/README.rst:24 -msgid "Alt Registry UML Diagram" -msgstr "" - -#: ../../Structural/Registry/README.rst:27 -msgid "Code" -msgstr "" - -#: ../../Structural/Registry/README.rst:30 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../Structural/Registry/README.rst:38 -msgid "Test" -msgstr "" \ No newline at end of file diff --git a/locale/tr/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/tr/LC_MESSAGES/Creational/FactoryMethod/README.po index 328aafa..7966bfb 100644 --- a/locale/tr/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/tr/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -35,7 +35,7 @@ msgstr "Basit bir durum için ise, bu soyut sınıf (abstract class) yanlızca b #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" "Bu desen \"gerçek\" bir Tasarım Deseni'dir, çünkü S.O.L.I.D ilkelerinden biri olan " "\"D\" yani \"Dependency Inversion Principle (Bağımlılık Tersinme İlkesi)\" bölümünün " diff --git a/locale/tr/LC_MESSAGES/More/Delegation/README.po b/locale/tr/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index c4a3b76..0000000 --- a/locale/tr/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,63 +0,0 @@ -# -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"POT-Creation-Date: 2017-12-16 05:32+0300\n" -"PO-Revision-Date: 2017-12-16 05:32+0300\n" -"Last-Translator: Faruk Zeren\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: tr\n" -"Language-Team: Mütercimler\n" - -#: ../../More/Delegation/README.rst:1 -msgid "Delegation" -msgstr "Delegation (Görevlendirme)" - -#: ../../More/Delegation/README.rst:4 -msgid "Purpose" -msgstr "" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing one " -"of its stated tasks, delegates that task to an associated helper object. In " -"this case TeamLead professes to writeCode and Usage uses this, while TeamLead " -"delegates writeCode to JuniorDeveloper's writeBadCode function. This inverts " -"the responsibility so that Usage is unknowingly executing writeBadCode." -msgstr "" -"Örnekte gösterilen kodda, bir nesne kendisine belirlenen (defined) görevlerden bir tanesini " -"kendisi yapmaz ve görevi ilişkili bir yardımcı nesneye atar. Bu durumda ``TeamLead``, " -"``writeCode`` yöntemi ile görevi kabul eder ve ``Usage`` de bunu kullanır. Ancak " -"``TeamLead`` uyanıklık yapar :) ve görevi ``JuniorDeveloper`` içerisinden ``writeBadCode`` " -"yöntemine atar. Aslında bu, sorumluluğu tersine çevirir ve böylece ``Usage`` farkında olmadan " -"``writeBadCode`` yöntemini çalıştırmış olur." - -#: ../../More/Delegation/README.rst:13 -msgid "Examples" -msgstr "Örnekler" - -#: ../../More/Delegation/README.rst:16 -msgid "Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to see it all tied together." -msgstr "Tüm bağlantıları bir arada görebilmek için, önce JuniorDeveloper.php ve TeamLead.php dosyalarını, sonra da Usage (Test) kısmını lütfen dikkatlice inceleyiniz." - -#: ../../More/Delegation/README.rst:18 -msgid "UML Diagram" -msgstr "UML Diyagramı" - -#: ../../More/Delegation/README.rst:22 -msgid "Alt Delegation UML Diagram" -msgstr "Alt Delegation UML Diyagramı" - -#: ../../More/Delegation/README.rst:25 -msgid "Code" -msgstr "Kod" - -#: ../../More/Delegation/README.rst:28 -msgid "You can also find this code on `GitHub`_" -msgstr "Bu kodu `Github`_ üzerinde de bulabilirsiniz." - -#: ../../More/Delegation/README.rst:42 -msgid "Test" -msgstr "Test" \ No newline at end of file diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po index 19f8d8d..74da4e5 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -65,26 +65,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/ChainOfResponsibilities/README.rst:36 -msgid "Request.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:42 -msgid "Handler.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:48 -msgid "Responsible/SlowStorage.php" -msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:54 -msgid "Responsible/FastStorage.php" -msgstr "" - #: ../../Behavioral/ChainOfResponsibilities/README.rst:61 msgid "Test" msgstr "" - -#: ../../Behavioral/ChainOfResponsibilities/README.rst:63 -msgid "Tests/ChainTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/Command/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/Command/README.po index 158d346..e289808 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/Command/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/Command/README.po @@ -74,26 +74,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Command/README.rst:43 -msgid "CommandInterface.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:49 -msgid "HelloCommand.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:55 -msgid "Receiver.php" -msgstr "" - -#: ../../Behavioral/Command/README.rst:61 -msgid "Invoker.php" -msgstr "" - #: ../../Behavioral/Command/README.rst:68 msgid "Test" msgstr "" - -#: ../../Behavioral/Command/README.rst:70 -msgid "Tests/CommandTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/Iterator/README.po index 25ccf3a..043f4f3 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/Iterator/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/Iterator/README.po @@ -56,26 +56,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Iterator/README.rst:36 -msgid "Book.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:42 -msgid "BookList.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:48 -msgid "BookListIterator.php" -msgstr "" - -#: ../../Behavioral/Iterator/README.rst:54 -msgid "BookListReverseIterator.php" -msgstr "" - #: ../../Behavioral/Iterator/README.rst:61 msgid "Test" msgstr "" - -#: ../../Behavioral/Iterator/README.rst:63 -msgid "Tests/IteratorTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/Mediator/README.po index e9a44dd..58fdb1e 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/Mediator/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/Mediator/README.po @@ -45,34 +45,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Mediator/README.rst:27 -msgid "MediatorInterface.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:33 -msgid "Mediator.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:39 -msgid "Colleague.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:45 -msgid "Subsystem/Client.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:51 -msgid "Subsystem/Database.php" -msgstr "" - -#: ../../Behavioral/Mediator/README.rst:57 -msgid "Subsystem/Server.php" -msgstr "" - #: ../../Behavioral/Mediator/README.rst:64 msgid "Test" msgstr "" - -#: ../../Behavioral/Mediator/README.rst:66 -msgid "Tests/MediatorTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/Memento/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/Memento/README.po index 2d4b2e1..361a5f9 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/Memento/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/Memento/README.po @@ -102,23 +102,7 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Memento/README.rst:57 -msgid "Memento.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:63 -msgid "Originator.php" -msgstr "" - -#: ../../Behavioral/Memento/README.rst:69 -msgid "Caretaker.php" -msgstr "" - #: ../../Behavioral/Memento/README.rst:76 msgid "Test" msgstr "" -#: ../../Behavioral/Memento/README.rst:78 -msgid "Tests/MementoTest.php" -msgstr "" - diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/NullObject/README.po index a397fc5..4bdb431 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/NullObject/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/NullObject/README.po @@ -78,26 +78,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/NullObject/README.rst:41 -msgid "Service.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:47 -msgid "LoggerInterface.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:53 -msgid "PrintLogger.php" -msgstr "" - -#: ../../Behavioral/NullObject/README.rst:59 -msgid "NullLogger.php" -msgstr "" - #: ../../Behavioral/NullObject/README.rst:66 msgid "Test" msgstr "" - -#: ../../Behavioral/NullObject/README.rst:68 -msgid "Tests/LoggerTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/Observer/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/Observer/README.po index 8a43616..a1b786a 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/Observer/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/Observer/README.po @@ -58,18 +58,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Observer/README.rst:36 -msgid "User.php" -msgstr "" - -#: ../../Behavioral/Observer/README.rst:42 -msgid "UserObserver.php" -msgstr "" - #: ../../Behavioral/Observer/README.rst:49 msgid "Test" msgstr "" - -#: ../../Behavioral/Observer/README.rst:51 -msgid "Tests/ObserverTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/Specification/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/Specification/README.po index 7b1982b..64e14a8 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/Specification/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/Specification/README.po @@ -47,38 +47,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Specification/README.rst:29 -msgid "Item.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:35 -msgid "SpecificationInterface.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:41 -msgid "AbstractSpecification.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:47 -msgid "Either.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:53 -msgid "PriceSpecification.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:59 -msgid "Plus.php" -msgstr "" - -#: ../../Behavioral/Specification/README.rst:65 -msgid "Not.php" -msgstr "" - #: ../../Behavioral/Specification/README.rst:72 msgid "Test" msgstr "" - -#: ../../Behavioral/Specification/README.rst:74 -msgid "Tests/SpecificationTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/State/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/State/README.po index 2ced881..8dfd381 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/State/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/State/README.po @@ -38,26 +38,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/State/README.rst:23 -msgid "OrderController.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:29 -msgid "OrderFactory.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:35 -msgid "OrderInterface.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:41 -msgid "ShippingOrder.php" -msgstr "" - -#: ../../Behavioral/State/README.rst:47 -msgid "CreateOrder.php" -msgstr "" - #: ../../Behavioral/State/README.rst:54 msgid "Test" msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/Strategy/README.po index c3b9fea..0b60661 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/Strategy/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/Strategy/README.po @@ -67,26 +67,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Strategy/README.rst:37 -msgid "ObjectCollection.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:43 -msgid "ComparatorInterface.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:49 -msgid "DateComparator.php" -msgstr "" - -#: ../../Behavioral/Strategy/README.rst:55 -msgid "IdComparator.php" -msgstr "" - #: ../../Behavioral/Strategy/README.rst:62 msgid "Test" msgstr "" - -#: ../../Behavioral/Strategy/README.rst:64 -msgid "Tests/StrategyTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/TemplateMethod/README.po index 331d234..66e4e9b 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/TemplateMethod/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -62,22 +62,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/TemplateMethod/README.rst:36 -msgid "Journey.php" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:42 -msgid "BeachJourney.php" -msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:48 -msgid "CityJourney.php" -msgstr "" - #: ../../Behavioral/TemplateMethod/README.rst:55 msgid "Test" msgstr "" - -#: ../../Behavioral/TemplateMethod/README.rst:57 -msgid "Tests/JourneyTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/zh_CN/LC_MESSAGES/Behavioral/Visitor/README.po index 08784a3..62f65e1 100644 --- a/locale/zh_CN/LC_MESSAGES/Behavioral/Visitor/README.po +++ b/locale/zh_CN/LC_MESSAGES/Behavioral/Visitor/README.po @@ -46,30 +46,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Behavioral/Visitor/README.rst:28 -msgid "RoleVisitorInterface.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:34 -msgid "RolePrintVisitor.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:40 -msgid "Role.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:46 -msgid "User.php" -msgstr "" - -#: ../../Behavioral/Visitor/README.rst:52 -msgid "Group.php" -msgstr "" - #: ../../Behavioral/Visitor/README.rst:59 msgid "Test" msgstr "" - -#: ../../Behavioral/Visitor/README.rst:61 -msgid "Tests/VisitorTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/zh_CN/LC_MESSAGES/Creational/AbstractFactory/README.po index d05610a..1675674 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -44,50 +44,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "在 `GitHub`_ 上查看代码" -#: ../../Creational/AbstractFactory/README.rst:24 -msgid "AbstractFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:30 -msgid "JsonFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:36 -msgid "HtmlFactory.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:42 -msgid "MediaInterface.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:48 -msgid "Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:54 -msgid "Text.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:60 -msgid "Json/Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:66 -msgid "Json/Text.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:72 -msgid "Html/Picture.php" -msgstr "" - -#: ../../Creational/AbstractFactory/README.rst:78 -msgid "Html/Text.php" -msgstr "" - #: ../../Creational/AbstractFactory/README.rst:85 msgid "Test" msgstr "测试" - -#: ../../Creational/AbstractFactory/README.rst:87 -msgid "Tests/AbstractFactoryTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/Builder/README.po b/locale/zh_CN/LC_MESSAGES/Creational/Builder/README.po index a86599a..593240b 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/Builder/README.po @@ -66,50 +66,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Creational/Builder/README.rst:35 -msgid "Director.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:41 -msgid "BuilderInterface.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:47 -msgid "BikeBuilder.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:53 -msgid "CarBuilder.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:59 -msgid "Parts/Vehicle.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:65 -msgid "Parts/Bike.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:71 -msgid "Parts/Car.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:77 -msgid "Parts/Engine.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:83 -msgid "Parts/Wheel.php" -msgstr "" - -#: ../../Creational/Builder/README.rst:89 -msgid "Parts/Door.php" -msgstr "" - #: ../../Creational/Builder/README.rst:96 msgid "Test" msgstr "测试" - -#: ../../Creational/Builder/README.rst:98 -msgid "Tests/DirectorTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/zh_CN/LC_MESSAGES/Creational/FactoryMethod/README.po index 5984bf2..1e1397a 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -34,7 +34,7 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " -"\"Dependency Inversion Principle\" a.k.a the \"D\" in S.O.L.I.D principles." +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" "这个模式是一个 \"真正\" 的设计模式,因为它遵循了依赖反转原则(Dependency Inversion Principle) 众所周知这个 \"D\" 代表了真正的面向对象程序设计。" @@ -57,38 +57,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Creational/FactoryMethod/README.rst:31 -msgid "FactoryMethod.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:37 -msgid "ItalianFactory.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:43 -msgid "GermanFactory.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:49 -msgid "VehicleInterface.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:55 -msgid "Porsche.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:61 -msgid "Bicycle.php" -msgstr "" - -#: ../../Creational/FactoryMethod/README.rst:67 -msgid "Ferrari.php" -msgstr "" - #: ../../Creational/FactoryMethod/README.rst:74 msgid "Test" msgstr "测试" - -#: ../../Creational/FactoryMethod/README.rst:76 -msgid "Tests/FactoryMethodTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/Multiton/README.po b/locale/zh_CN/LC_MESSAGES/Creational/Multiton/README.po index 62cec8c..724421d 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/Multiton/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/Multiton/README.po @@ -55,10 +55,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Creational/Multiton/README.rst:31 -msgid "Multiton.php" -msgstr "" - #: ../../Creational/Multiton/README.rst:38 msgid "Test" msgstr "测试" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/Pool/README.po b/locale/zh_CN/LC_MESSAGES/Creational/Pool/README.po index 6e80455..4ed59c4 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/Pool/README.po @@ -66,26 +66,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Creational/Pool/README.rst:36 -msgid "Pool.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:42 -msgid "Processor.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:48 -msgid "Worker.php" -msgstr "" - #: ../../Creational/Pool/README.rst:55 msgid "Test" msgstr "测试" - -#: ../../Creational/Pool/README.rst:57 -msgid "Tests/PoolTest.php" -msgstr "" - -#: ../../Creational/Pool/README.rst:63 -msgid "Tests/TestWorker.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/Prototype/README.po b/locale/zh_CN/LC_MESSAGES/Creational/Prototype/README.po index 851a9a6..3048109 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/Prototype/README.po @@ -49,22 +49,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Creational/Prototype/README.rst:28 -msgid "index.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:34 -msgid "BookPrototype.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:40 -msgid "BarBookPrototype.php" -msgstr "" - -#: ../../Creational/Prototype/README.rst:46 -msgid "FooBookPrototype.php" -msgstr "" - #: ../../Creational/Prototype/README.rst:53 msgid "Test" msgstr "测试" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/zh_CN/LC_MESSAGES/Creational/SimpleFactory/README.po index fe7222d..2a11dfe 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/SimpleFactory/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -51,26 +51,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Creational/SimpleFactory/README.rst:27 -msgid "SimpleFactory.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:33 -msgid "VehicleInterface.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:39 -msgid "Bicycle.php" -msgstr "" - -#: ../../Creational/SimpleFactory/README.rst:45 -msgid "Scooter.php" -msgstr "" - #: ../../Creational/SimpleFactory/README.rst:52 msgid "Test" msgstr "测试" - -#: ../../Creational/SimpleFactory/README.rst:54 -msgid "Tests/SimpleFactoryTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/Singleton/README.po b/locale/zh_CN/LC_MESSAGES/Creational/Singleton/README.po index ab2832f..33d3042 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/Singleton/README.po @@ -63,14 +63,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Creational/Singleton/README.rst:34 -msgid "Singleton.php" -msgstr "" - #: ../../Creational/Singleton/README.rst:41 msgid "Test" msgstr "测试" - -#: ../../Creational/Singleton/README.rst:43 -msgid "Tests/SingletonTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/zh_CN/LC_MESSAGES/Creational/StaticFactory/README.po index 4e3c664..95ddd28 100644 --- a/locale/zh_CN/LC_MESSAGES/Creational/StaticFactory/README.po +++ b/locale/zh_CN/LC_MESSAGES/Creational/StaticFactory/README.po @@ -54,26 +54,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Creational/StaticFactory/README.rst:31 -msgid "StaticFactory.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:37 -msgid "FormatterInterface.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:43 -msgid "FormatString.php" -msgstr "" - -#: ../../Creational/StaticFactory/README.rst:49 -msgid "FormatNumber.php" -msgstr "" - #: ../../Creational/StaticFactory/README.rst:56 msgid "Test" msgstr "测试" - -#: ../../Creational/StaticFactory/README.rst:58 -msgid "Tests/StaticFactoryTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/More/Delegation/README.po b/locale/zh_CN/LC_MESSAGES/More/Delegation/README.po deleted file mode 100644 index 907d828..0000000 --- a/locale/zh_CN/LC_MESSAGES/More/Delegation/README.po +++ /dev/null @@ -1,80 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2015, Dominik Liebler and contributors -# This file is distributed under the same license as the DesignPatternsPHP -# package. -# FIRST AUTHOR , 2016. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: DesignPatternsPHP 1.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-03 23:59+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" - -#: ../../More/Delegation/README.rst:2 -msgid "`Delegation`__" -msgstr "" - -#: ../../More/Delegation/README.rst:5 -msgid "Purpose" -msgstr "" - -#: ../../More/Delegation/README.rst:7 -msgid "" -"Demonstrate the Delegator pattern, where an object, instead of performing" -" one of its stated tasks, delegates that task to an associated helper " -"object. In this case TeamLead professes to writeCode and Usage uses this," -" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode " -"function. This inverts the responsibility so that Usage is unknowingly " -"executing writeBadCode." -msgstr "" - -#: ../../More/Delegation/README.rst:10 -msgid "Examples" -msgstr "" - -#: ../../More/Delegation/README.rst:12 -msgid "" -"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to " -"see it all tied together." -msgstr "" - -#: ../../More/Delegation/README.rst:15 -msgid "UML Diagram" -msgstr "" - -#: ../../More/Delegation/README.rst:22 -msgid "Code" -msgstr "" - -#: ../../More/Delegation/README.rst:24 -msgid "You can also find this code on `GitHub`_" -msgstr "" - -#: ../../More/Delegation/README.rst:26 -msgid "Usage.php" -msgstr "" - -#: ../../More/Delegation/README.rst:32 -msgid "TeamLead.php" -msgstr "" - -#: ../../More/Delegation/README.rst:38 -msgid "JuniorDeveloper.php" -msgstr "" - -#: ../../More/Delegation/README.rst:45 -msgid "Test" -msgstr "" - -#: ../../More/Delegation/README.rst:47 -msgid "Tests/DelegationTest.php" -msgstr "" - diff --git a/locale/zh_CN/LC_MESSAGES/More/EAV/README.po b/locale/zh_CN/LC_MESSAGES/More/EAV/README.po index d0113c0..8e72b00 100644 --- a/locale/zh_CN/LC_MESSAGES/More/EAV/README.po +++ b/locale/zh_CN/LC_MESSAGES/More/EAV/README.po @@ -64,15 +64,3 @@ msgstr "" msgid "Test" msgstr "" -#: ../../More/EAV/README.rst:104 -msgid "Tests/EntityTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:110 -msgid "Tests/AttributeTest.php" -msgstr "" - -#: ../../More/EAV/README.rst:116 -msgid "Tests/ValueTest.php" -msgstr "" - diff --git a/locale/zh_CN/LC_MESSAGES/More/Repository/README.po b/locale/zh_CN/LC_MESSAGES/More/Repository/README.po index 5a37043..b6e39ab 100644 --- a/locale/zh_CN/LC_MESSAGES/More/Repository/README.po +++ b/locale/zh_CN/LC_MESSAGES/More/Repository/README.po @@ -55,22 +55,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../More/Repository/README.rst:34 -msgid "Post.php" -msgstr "" - -#: ../../More/Repository/README.rst:40 -msgid "PostRepository.php" -msgstr "" - -#: ../../More/Repository/README.rst:46 -msgid "Storage.php" -msgstr "" - -#: ../../More/Repository/README.rst:52 -msgid "MemoryStorage.php" -msgstr "" - #: ../../More/Repository/README.rst:59 msgid "Test" msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/More/ServiceLocator/README.po b/locale/zh_CN/LC_MESSAGES/More/ServiceLocator/README.po index 8efac15..a41751d 100644 --- a/locale/zh_CN/LC_MESSAGES/More/ServiceLocator/README.po +++ b/locale/zh_CN/LC_MESSAGES/More/ServiceLocator/README.po @@ -61,34 +61,6 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../More/ServiceLocator/README.rst:38 -msgid "ServiceLocatorInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:44 -msgid "ServiceLocator.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:50 -msgid "LogServiceInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:56 -msgid "LogService.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:62 -msgid "DatabaseServiceInterface.php" -msgstr "" - -#: ../../More/ServiceLocator/README.rst:68 -msgid "DatabaseService.php" -msgstr "" - #: ../../More/ServiceLocator/README.rst:75 msgid "Test" msgstr "" - -#: ../../More/ServiceLocator/README.rst:77 -msgid "Tests/ServiceLocatorTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/Adapter/README.po b/locale/zh_CN/LC_MESSAGES/Structural/Adapter/README.po index 1f3bf23..dd6f51e 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/Adapter/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/Adapter/README.po @@ -57,30 +57,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/Adapter/README.rst:31 -msgid "PaperBookInterface.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:37 -msgid "Book.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:43 -msgid "EBookAdapter.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:49 -msgid "EBookInterface.php" -msgstr "" - -#: ../../Structural/Adapter/README.rst:55 -msgid "Kindle.php" -msgstr "" - #: ../../Structural/Adapter/README.rst:62 msgid "Test" msgstr "测试" - -#: ../../Structural/Adapter/README.rst:64 -msgid "Tests/AdapterTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/Bridge/README.po b/locale/zh_CN/LC_MESSAGES/Structural/Bridge/README.po index c7b4ff4..bea1335 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/Bridge/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/Bridge/README.po @@ -46,34 +46,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/Bridge/README.rst:28 -msgid "Workshop.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:34 -msgid "Assemble.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:40 -msgid "Produce.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:46 -msgid "Vehicle.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:52 -msgid "Motorcycle.php" -msgstr "" - -#: ../../Structural/Bridge/README.rst:58 -msgid "Car.php" -msgstr "" - #: ../../Structural/Bridge/README.rst:65 msgid "Test" msgstr "测试" - -#: ../../Structural/Bridge/README.rst:67 -msgid "Tests/BridgeTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/Composite/README.po b/locale/zh_CN/LC_MESSAGES/Structural/Composite/README.po index 836f23c..cbc2626 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/Composite/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/Composite/README.po @@ -57,26 +57,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/Composite/README.rst:31 -msgid "FormElement.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:37 -msgid "Form.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:43 -msgid "InputElement.php" -msgstr "" - -#: ../../Structural/Composite/README.rst:49 -msgid "TextElement.php" -msgstr "" - #: ../../Structural/Composite/README.rst:56 msgid "Test" msgstr "测试" - -#: ../../Structural/Composite/README.rst:58 -msgid "Tests/CompositeTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/DataMapper/README.po b/locale/zh_CN/LC_MESSAGES/Structural/DataMapper/README.po index 3f564a8..c86b763 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/DataMapper/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/DataMapper/README.po @@ -68,18 +68,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/DataMapper/README.rst:38 -msgid "User.php" -msgstr "" - -#: ../../Structural/DataMapper/README.rst:44 -msgid "UserMapper.php" -msgstr "" - #: ../../Structural/DataMapper/README.rst:51 msgid "Test" msgstr "测试" - -#: ../../Structural/DataMapper/README.rst:53 -msgid "Tests/DataMapperTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/Decorator/README.po b/locale/zh_CN/LC_MESSAGES/Structural/Decorator/README.po index a55d5d5..c0ede92 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/Decorator/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/Decorator/README.po @@ -50,30 +50,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/Decorator/README.rst:28 -msgid "RendererInterface.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:34 -msgid "Webservice.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:40 -msgid "Decorator.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:46 -msgid "RenderInXml.php" -msgstr "" - -#: ../../Structural/Decorator/README.rst:52 -msgid "RenderInJson.php" -msgstr "" - #: ../../Structural/Decorator/README.rst:59 msgid "Test" msgstr "测试" - -#: ../../Structural/Decorator/README.rst:61 -msgid "Tests/DecoratorTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/zh_CN/LC_MESSAGES/Structural/DependencyInjection/README.po index c015732..b5093c5 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/DependencyInjection/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -88,30 +88,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/DependencyInjection/README.rst:48 -msgid "AbstractConfig.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:54 -msgid "Parameters.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:60 -msgid "ArrayConfig.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:66 -msgid "Connection.php" -msgstr "" - #: ../../Structural/DependencyInjection/README.rst:73 msgid "Test" msgstr "测试" - -#: ../../Structural/DependencyInjection/README.rst:75 -msgid "Tests/DependencyInjectionTest.php" -msgstr "" - -#: ../../Structural/DependencyInjection/README.rst:81 -msgid "Tests/config.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/Facade/README.po b/locale/zh_CN/LC_MESSAGES/Structural/Facade/README.po index 46cb2a3..848260b 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/Facade/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/Facade/README.po @@ -73,22 +73,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/Facade/README.rst:38 -msgid "Facade.php" -msgstr "" - -#: ../../Structural/Facade/README.rst:44 -msgid "OsInterface.php" -msgstr "" - -#: ../../Structural/Facade/README.rst:50 -msgid "BiosInterface.php" -msgstr "" - #: ../../Structural/Facade/README.rst:57 msgid "Test" msgstr "测试" - -#: ../../Structural/Facade/README.rst:59 -msgid "Tests/FacadeTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/zh_CN/LC_MESSAGES/Structural/FluentInterface/README.po index d5b7cfa..a7ad352 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/FluentInterface/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/FluentInterface/README.po @@ -54,14 +54,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/FluentInterface/README.rst:30 -msgid "Sql.php" -msgstr "" - #: ../../Structural/FluentInterface/README.rst:37 msgid "Test" msgstr "测试" - -#: ../../Structural/FluentInterface/README.rst:39 -msgid "Tests/FluentInterfaceTest.php" -msgstr "" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/Flyweight/README.po b/locale/zh_CN/LC_MESSAGES/Structural/Flyweight/README.po index cfa8492..2514886 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/Flyweight/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/Flyweight/README.po @@ -47,23 +47,7 @@ msgstr "" msgid "You can also find this code on `GitHub`_" msgstr "" -#: ../../Structural/Flyweight/README.rst:23 -msgid "FlyweightInterface.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:29 -msgid "CharacterFlyweight.php" -msgstr "" - -#: ../../Structural/Flyweight/README.rst:35 -msgid "FlyweightFactory.php" -msgstr "" - #: ../../Structural/Flyweight/README.rst:42 msgid "Test" msgstr "" -#: ../../Structural/Flyweight/README.rst:44 -msgid "Tests/FlyweightTest.php" -msgstr "" - diff --git a/locale/zh_CN/LC_MESSAGES/Structural/Proxy/README.po b/locale/zh_CN/LC_MESSAGES/Structural/Proxy/README.po index b20b852..f8003e7 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/Proxy/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/Proxy/README.po @@ -48,14 +48,6 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/Proxy/README.rst:28 -msgid "Record.php" -msgstr "" - -#: ../../Structural/Proxy/README.rst:34 -msgid "RecordProxy.php" -msgstr "" - #: ../../Structural/Proxy/README.rst:41 msgid "Test" msgstr "测试" diff --git a/locale/zh_CN/LC_MESSAGES/Structural/Registry/README.po b/locale/zh_CN/LC_MESSAGES/Structural/Registry/README.po index 243c463..c896313 100644 --- a/locale/zh_CN/LC_MESSAGES/Structural/Registry/README.po +++ b/locale/zh_CN/LC_MESSAGES/Structural/Registry/README.po @@ -52,18 +52,10 @@ msgstr "代码" msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" -#: ../../Structural/Registry/README.rst:31 -msgid "Registry.php" -msgstr "" - #: ../../Structural/Registry/README.rst:38 msgid "Test" msgstr "测试" -#: ../../Structural/Registry/README.rst:40 -msgid "Tests/RegistryTest.php" -msgstr "" - #: ../../Structural/Registry/README.rst:14 msgid "" "Zend Framework 1: ``Zend_Registry`` holds the application's logger "