docs: add Chinese translation of Memento Pattern

This commit is contained in:
autoload
2021-11-08 21:39:58 -08:00
parent 0b165c04d5
commit 032b041c5b

View File

@@ -28,10 +28,10 @@ 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 ""
"它提供了将对象恢复到之前状态(通过回滚撤销)或访问对象状态的能力," "它提供了将对象恢复到之前状态(通过回滚撤销)或访问对象状态的能力,"
"而不需要揭示它的实现(对象不需要具有返回当前状态的函数)。" "而不需要揭示它的实现(对象不需要具有返回当前状态的函数)。"