mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-02 13:07:27 +02:00
docs: add Chinese translation of Memento Pattern
This commit is contained in:
@@ -29,9 +29,9 @@ msgstr "目的"
|
|||||||
#: ../../Behavioral/Memento/README.rst:7
|
#: ../../Behavioral/Memento/README.rst:7
|
||||||
msgid ""
|
msgid ""
|
||||||
"It provides the ability to restore an object to it's previous state (undo "
|
"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 "
|
"via rollback) or to gain access to state of the object, without revealing "
|
||||||
"revealing it's implementation (i.e., the object is not required to have a"
|
"it's implementation (i.e., the object is not required to have a function "
|
||||||
" functional for return the current state)."
|
"to return the current state)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"它提供了将对象恢复到之前状态(通过回滚撤销)或访问对象状态的能力,"
|
"它提供了将对象恢复到之前状态(通过回滚撤销)或访问对象状态的能力,"
|
||||||
"而不需要揭示它的实现(对象不需要具有返回当前状态的函数)。"
|
"而不需要揭示它的实现(对象不需要具有返回当前状态的函数)。"
|
||||||
|
Reference in New Issue
Block a user