diff --git a/utils/pas2js/docs/translation.html b/utils/pas2js/docs/translation.html
index 0bf82a0456..f96e79d26e 100644
--- a/utils/pas2js/docs/translation.html
+++ b/utils/pas2js/docs/translation.html
@@ -1859,7 +1859,7 @@ function(){
Helpers cannot be forward defined (e.g. no THelper = helper;).
Helpers must not have fields.
Class Var, Const, Type
- Visibility: strict private .. published
+ Visibility : strict private .. published
Function, procedure:
In class and record helpers Self is the class/record instance. For other
types Self is a reference to the passed value.
@@ -1872,21 +1872,21 @@ function(){
AnObj.Create calls the constructor function as normal method. Note that
Delphi does not allow calling helper construcors as normal method.
no destructor
- Property: getters/setters can refer to members of the helper, its
+ Property : getters/setters can refer to members of the helper, its
ancestors and the helped class/record.
- Class property: getter can be static or non static. Delphi/FPC only allows static.
- Ancestors. Helpers can have an ancestor helper, but they
+ Class property : getter can be static or non static. Delphi/FPC only allows static.
+ Ancestors : Helpers can have an ancestor helper, but they
do not have a shared root class, especially not TObject.
no virtual, abstract, override. Delphi allows them, but 10.3 crashes when calling.
- inherited:
+ inherited :
inherited inside a method of a class/record calls helper of ancestor.
inherited inside a helper depends on the $mode:
- - $mode objfpc: inherited; and inherited Name(args);
+
- $mode objfpc : inherited; and inherited Name(args);
work the same and searches first in HelperForType, then in ancestor(s).
- - $mode delphi: inherited;: skip ancestors and HelperForType,
+
- $mode delphi: inherited; : skip ancestors and HelperForType,
searches first in helper(s) of ancestor of HelperForType.
- - $mode delphi: inherited name(args);:
+
- $mode delphi: inherited name(args); :
same as $mode objfpc first searches in HelperForType, then Ancestor(s)
In any case if inherited; has no ancestor to call, it is silently ignored,
@@ -1901,7 +1901,7 @@ function(){
property : uses only the getter, ignoring the setter.
This breaks OOP, as it allows to change fields without calling the setter.
This is FPC/Delphi compatible.
- with value do ; : uses some temporary variable. Delphi/FPC do not support it.
+ with value do ; : uses a temporary variable. Delphi/FPC do not support it.