Skip to content

Commit 557ac01

Browse files
committed
update all .po files
1 parent 78fabf6 commit 557ac01

File tree

48 files changed

+1995
-413
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1995
-413
lines changed

More/README.rst

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ More
77
Delegation/README
88
ServiceLocator/README
99
Repository/README
10+
EAV/README

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ The patterns can be structured in roughly three different categories. Please cli
6565
* [DependencyInjection](Structural/DependencyInjection) [:notebook:](http://en.wikipedia.org/wiki/Dependency_injection)
6666
* [Facade](Structural/Facade) [:notebook:](http://en.wikipedia.org/wiki/Facade_pattern)
6767
* [FluentInterface](Structural/FluentInterface) [:notebook:](http://en.wikipedia.org/wiki/Fluent_interface)
68+
* [Flyweight](Structural/Flyweight) [:notebook:](https://en.wikipedia.org/wiki/Flyweight_pattern)
6869
* [Proxy](Structural/Proxy) [:notebook:](http://en.wikipedia.org/wiki/Proxy_pattern)
6970
* [Registry](Structural/Registry) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern)
7071

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ License
4545

4646
(The MIT License)
4747

48-
Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_
48+
Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_
4949

5050
Permission is hereby granted, free of charge, to any person obtaining a
5151
copy of this software and associated documentation files (the

Structural/Flyweight/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`Flyweight`__
2-
==========
2+
=============
33

44
Purpose
55
-------

Structural/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ entities.
1212
* [DependencyInjection](DependencyInjection) [:notebook:](http://en.wikipedia.org/wiki/Dependency_injection)
1313
* [Facade](Facade) [:notebook:](http://en.wikipedia.org/wiki/Facade_pattern)
1414
* [FluentInterface](FluentInterface) [:notebook:](http://en.wikipedia.org/wiki/Fluent_interface)
15+
* [Flyweight](Flyweight) [:notebook:](https://en.wikipedia.org/wiki/Flyweight_pattern)
1516
* [Proxy](Proxy) [:notebook:](http://en.wikipedia.org/wiki/Proxy_pattern)
1617
* [Registry](Registry) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern)

Structural/README.rst

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ relationships between entities.
1616
DependencyInjection/README
1717
Facade/README
1818
FluentInterface/README
19+
Flyweight/README
1920
Proxy/README
2021
Registry/README
2122

locale/ca/LC_MESSAGES/Behavioral/Mediator/README.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ msgstr ""
2121

2222
#: ../../Behavioral/Mediator/README.rst:7
2323
msgid ""
24-
"This pattern provides an easy to decouple many components working together. "
25-
"It is a good alternative over Observer IF you have a \"central "
24+
"This pattern provides an easy way to decouple many components working "
25+
"together. It is a good alternative to Observer IF you have a \"central "
2626
"intelligence\", like a controller (but not in the sense of the MVC)."
2727
msgstr ""
2828

Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1-
#
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2015, Dominik Liebler and contributors
3+
# This file is distributed under the same license as the DesignPatternsPHP
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
6+
#
7+
#, fuzzy
28
msgid ""
39
msgstr ""
410
"Project-Id-Version: DesignPatternsPHP 1.0\n"
511
"Report-Msgid-Bugs-To: \n"
6-
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
12+
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
713
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
814
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
915
"Language-Team: LANGUAGE <[email protected]>\n"
1016
"MIME-Version: 1.0\n"
11-
"Content-Type: text/plain; charset=UTF-8\n"
17+
"Content-Type: text/plain; charset=utf-8\n"
1218
"Content-Transfer-Encoding: 8bit\n"
19+
"Generated-By: Babel 2.3.4\n"
1320

1421
#: ../../Behavioral/Memento/README.rst:2
1522
msgid "`Memento`__"
@@ -21,65 +28,97 @@ msgstr ""
2128

2229
#: ../../Behavioral/Memento/README.rst:7
2330
msgid ""
24-
"Provide the ability to restore an object to its previous state (undo via "
25-
"rollback)."
31+
"It provides the ability to restore an object to it's previous state (undo"
32+
" via rollback) or to gain access to state of the object, without "
33+
"revealing it's implementation (i.e., the object is not required to have a"
34+
" functional for return the current state)."
2635
msgstr ""
2736

28-
#: ../../Behavioral/Memento/README.rst:10
37+
#: ../../Behavioral/Memento/README.rst:12
2938
msgid ""
30-
"The memento pattern is implemented with three objects: the originator, a "
31-
"caretaker and a memento. The originator is some object that has an internal "
32-
"state. The caretaker is going to do something to the originator, but wants "
33-
"to be able to undo the change. The caretaker first asks the originator for a"
34-
" memento object. Then it does whatever operation (or sequence of operations)"
35-
" it was going to do. To roll back to the state before the operations, it "
36-
"returns the memento object to the originator. The memento object itself is "
37-
"an opaque object (one which the caretaker cannot, or should not, change). "
38-
"When using this pattern, care should be taken if the originator may change "
39-
"other objects or resources - the memento pattern operates on a single "
40-
"object."
41-
msgstr ""
42-
43-
#: ../../Behavioral/Memento/README.rst:23
39+
"The memento pattern is implemented with three objects: the Originator, a "
40+
"Caretaker and a Memento."
41+
msgstr ""
42+
43+
#: ../../Behavioral/Memento/README.rst:15
44+
msgid ""
45+
"Memento – an object that *contains a concrete unique snapshot of state* "
46+
"of any object or resource: string, number, array, an instance of class "
47+
"and so on. The uniqueness in this case does not imply the prohibition "
48+
"existence of similar states in different snapshots. That means the state "
49+
"can be extracted as the independent clone. Any object stored in the "
50+
"Memento should be *a full copy of the original object rather than a "
51+
"reference* to the original object. The Memento object is a \"opaque "
52+
"object\" (the object that no one can or should change)."
53+
msgstr ""
54+
55+
#: ../../Behavioral/Memento/README.rst:24
56+
msgid ""
57+
"Originator – it is an object that contains the *actual state of an "
58+
"external object is strictly specified type*. Originator is able to create"
59+
" a unique copy of this state and return it wrapped in a Memento. The "
60+
"Originator does not know the history of changes. You can set a concrete "
61+
"state to Originator from the outside, which will be considered as actual."
62+
" The Originator must make sure that given state corresponds the allowed "
63+
"type of object. Originator may (but not should) have any methods, but "
64+
"they *they can't make changes to the saved object state*."
65+
msgstr ""
66+
67+
#: ../../Behavioral/Memento/README.rst:33
68+
msgid ""
69+
"Caretaker *controls the states history*. He may make changes to an "
70+
"object; take a decision to save the state of an external object in the "
71+
"Originator; ask from the Originator snapshot of the current state; or set"
72+
" the Originator state to equivalence with some snapshot from history."
73+
msgstr ""
74+
75+
#: ../../Behavioral/Memento/README.rst:39
4476
msgid "Examples"
4577
msgstr ""
4678

47-
#: ../../Behavioral/Memento/README.rst:25
79+
#: ../../Behavioral/Memento/README.rst:41
4880
msgid "The seed of a pseudorandom number generator"
4981
msgstr ""
5082

51-
#: ../../Behavioral/Memento/README.rst:26
83+
#: ../../Behavioral/Memento/README.rst:42
5284
msgid "The state in a finite state machine"
5385
msgstr ""
5486

55-
#: ../../Behavioral/Memento/README.rst:29
87+
#: ../../Behavioral/Memento/README.rst:43
88+
msgid ""
89+
"Control for intermediate states of `ORM Model "
90+
"<http://en.wikipedia.org/wiki/Object-relational_mapping>`_ before saving"
91+
msgstr ""
92+
93+
#: ../../Behavioral/Memento/README.rst:46
5694
msgid "UML Diagram"
5795
msgstr ""
5896

59-
#: ../../Behavioral/Memento/README.rst:36
97+
#: ../../Behavioral/Memento/README.rst:53
6098
msgid "Code"
6199
msgstr ""
62100

63-
#: ../../Behavioral/Memento/README.rst:38
101+
#: ../../Behavioral/Memento/README.rst:55
64102
msgid "You can also find these code on `GitHub`_"
65103
msgstr ""
66104

67-
#: ../../Behavioral/Memento/README.rst:40
105+
#: ../../Behavioral/Memento/README.rst:57
68106
msgid "Memento.php"
69107
msgstr ""
70108

71-
#: ../../Behavioral/Memento/README.rst:46
109+
#: ../../Behavioral/Memento/README.rst:63
72110
msgid "Originator.php"
73111
msgstr ""
74112

75-
#: ../../Behavioral/Memento/README.rst:52
113+
#: ../../Behavioral/Memento/README.rst:69
76114
msgid "Caretaker.php"
77115
msgstr ""
78116

79-
#: ../../Behavioral/Memento/README.rst:59
117+
#: ../../Behavioral/Memento/README.rst:76
80118
msgid "Test"
81119
msgstr ""
82120

83-
#: ../../Behavioral/Memento/README.rst:61
121+
#: ../../Behavioral/Memento/README.rst:78
84122
msgid "Tests/MementoTest.php"
85123
msgstr ""
124+

locale/ca/LC_MESSAGES/More/Delegation/README.po

+25-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1-
#
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2015, Dominik Liebler and contributors
3+
# This file is distributed under the same license as the DesignPatternsPHP
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
6+
#
7+
#, fuzzy
28
msgid ""
39
msgstr ""
410
"Project-Id-Version: DesignPatternsPHP 1.0\n"
511
"Report-Msgid-Bugs-To: \n"
6-
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
12+
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
713
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
814
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
915
"Language-Team: LANGUAGE <[email protected]>\n"
1016
"MIME-Version: 1.0\n"
11-
"Content-Type: text/plain; charset=UTF-8\n"
17+
"Content-Type: text/plain; charset=utf-8\n"
1218
"Content-Transfer-Encoding: 8bit\n"
19+
"Generated-By: Babel 2.3.4\n"
1320

1421
#: ../../More/Delegation/README.rst:2
1522
msgid "`Delegation`__"
@@ -19,14 +26,26 @@ msgstr ""
1926
msgid "Purpose"
2027
msgstr ""
2128

22-
#: ../../More/Delegation/README.rst:7 ../../More/Delegation/README.rst:12
23-
msgid "..."
29+
#: ../../More/Delegation/README.rst:7
30+
msgid ""
31+
"Demonstrate the Delegator pattern, where an object, instead of performing"
32+
" one of its stated tasks, delegates that task to an associated helper "
33+
"object. In this case TeamLead professes to writeCode and Usage uses this,"
34+
" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode "
35+
"function. This inverts the responsibility so that Usage is unknowingly "
36+
"executing writeBadCode."
2437
msgstr ""
2538

2639
#: ../../More/Delegation/README.rst:10
2740
msgid "Examples"
2841
msgstr ""
2942

43+
#: ../../More/Delegation/README.rst:12
44+
msgid ""
45+
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
46+
"see it all tied together."
47+
msgstr ""
48+
3049
#: ../../More/Delegation/README.rst:15
3150
msgid "UML Diagram"
3251
msgstr ""
@@ -58,3 +77,4 @@ msgstr ""
5877
#: ../../More/Delegation/README.rst:47
5978
msgid "Tests/DelegationTest.php"
6079
msgstr ""
80+
+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2015, Dominik Liebler and contributors
3+
# This file is distributed under the same license as the DesignPatternsPHP
4+
# package.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
6+
#
7+
#, fuzzy
8+
msgid ""
9+
msgstr ""
10+
"Project-Id-Version: DesignPatternsPHP 1.0\n"
11+
"Report-Msgid-Bugs-To: \n"
12+
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
13+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15+
"Language-Team: LANGUAGE <[email protected]>\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=utf-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
"Generated-By: Babel 2.3.4\n"
20+
21+
#: ../../More/EAV/README.rst:2
22+
msgid "`Entity-Attribute-Value (EAV)`__"
23+
msgstr ""
24+
25+
#: ../../More/EAV/README.rst:4
26+
msgid ""
27+
"The Entity–attribute–value (EAV) pattern in order to implement EAV model "
28+
"with PHP."
29+
msgstr ""
30+
31+
#: ../../More/EAV/README.rst:7
32+
msgid "Purpose"
33+
msgstr ""
34+
35+
#: ../../More/EAV/README.rst:9
36+
msgid ""
37+
"The Entity–attribute–value (EAV) model is a data model to describe "
38+
"entities where the number of attributes (properties, parameters) that can"
39+
" be used to describe them is potentially vast, but the number that will "
40+
"actually apply to a given entity is relatively modest."
41+
msgstr ""
42+
43+
#: ../../More/EAV/README.rst:15
44+
msgid "Examples"
45+
msgstr ""
46+
47+
#: ../../More/EAV/README.rst:17
48+
msgid "Check full work example in `example.php`_ file."
49+
msgstr ""
50+
51+
#: ../../More/EAV/README.rst:90
52+
msgid "UML Diagram"
53+
msgstr ""
54+
55+
#: ../../More/EAV/README.rst:97
56+
msgid "Code"
57+
msgstr ""
58+
59+
#: ../../More/EAV/README.rst:99
60+
msgid "You can also find these code on `GitHub`_"
61+
msgstr ""
62+
63+
#: ../../More/EAV/README.rst:102
64+
msgid "Test"
65+
msgstr ""
66+
67+
#: ../../More/EAV/README.rst:104
68+
msgid "Tests/EntityTest.php"
69+
msgstr ""
70+
71+
#: ../../More/EAV/README.rst:110
72+
msgid "Tests/AttributeTest.php"
73+
msgstr ""
74+
75+
#: ../../More/EAV/README.rst:116
76+
msgid "Tests/ValueTest.php"
77+
msgstr ""
78+

locale/ca/LC_MESSAGES/README.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ msgid "(The MIT License)"
6262
msgstr ""
6363

6464
#: ../../README.rst:48
65-
msgid "Copyright (c) 2014 `Dominik Liebler`_ and `contributors`_"
65+
msgid "Copyright (c) 2011 - 2016 `Dominik Liebler`_ and `contributors`_"
6666
msgstr ""
6767

6868
#: ../../README.rst:50

0 commit comments

Comments
 (0)