Skip to content

Commit 772adf2

Browse files
author
Jimmy Zhuo
committed
remove plural from chinese
1 parent aed13e3 commit 772adf2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/zh-cn/syn/S02-bits.pod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ B<P6opaque>. External access to opaque objects is always through method
607607
calls, even for attributes.
608608

609609
为了支持 OO 封装,这里有个基本数据类型:B<P6opaque>。外部通常通过方法调用处
610-
理 opaque 对象,即使是对 attributes 进行处理。
610+
理 opaque 对象,即使是对 attribute 进行处理。
611611

612612
=item *
613613

@@ -649,7 +649,7 @@ considered equivalent even if they have the same attributes because
649649
classes are not considered immutable.
650650

651651
参数类型的名称等价仅适用于被认为不可变的参数(或者它们之间只少有一个不可变快
652-
照)。即使两个不同的类有同样的 attributes,也从来不认为等价,因为它们不认为是可
652+
照)。即使两个不同的类有同样的 attribute,也从来不认为等价,因为它们不认为是可
653653
变类型。
654654

655655
=item *
@@ -658,15 +658,15 @@ Perl 6 supports the notion of B<properties> on various kinds of
658658
objects. Properties are like object attributes, except that they're
659659
managed by the individual object rather than by the object's class.
660660

661-
Perl 6 对各种对象支持 B<properties> 概念。Properties 与对象 attributes
661+
Perl 6 对各种对象支持 B<property> 概念。Property 与对象 attribute
662662
类似,除了它们被独立的对象管理,而不是被对象的类管理。
663663

664664
According to S12, properties are actually implemented by a
665665
kind of mixin mechanism, and such mixins are accomplished by the
666666
generation of an individual anonymous class for the object (unless
667667
an identical anonymous class already exists and can safely be shared).
668668

669-
根据 S12,properties 实际上是通 1 种混合机制实现,这样的混合体是为对象通过一个
669+
根据 S12,property 实际上是通 1 种混合机制实现,这样的混合体是为对象通过一个
670670
独特匿名类的衍生而实现的(除非一个完全相同的匿名类已经存在并可以被安全共享)。
671671

672672
=item *
@@ -676,8 +676,8 @@ variables and classes, are also called B<traits>. Traits cannot be
676676
changed at run-time. Changes to run-time properties are done via
677677
mixin instead, so that the compiler can optimize based on declared traits.
678678

679-
Properties 适用于对象在编译时构建,比如变量和类,也被称为 B<特性>。特性不能在运
680-
行时被改变。运行时 properties 的改变是经过混合体代替完成,所以编译器可以基于声
679+
Property 适用于对象在编译时构建,比如变量和类,也被称为 B<trait>。trait 不能在运
680+
行时被改变。运行时 property 的改变是经过混合体代替完成,所以编译器可以基于声
681681
明特性优化。
682682

683683
=item *

0 commit comments

Comments
 (0)