erc-dharma / project-documentation

DHARMA Project Documentation
Creative Commons Attribution 4.0 International
3 stars 3 forks source link

display of <gap> in translation #326

Open arlogriffiths opened 2 months ago

arlogriffiths commented 2 months ago

at the moment it is not yet as presumed in EGD 9.2.12: "gaps encoded in this way will probably be displayed as [...] (regardless of the value of @reason)". Example:

Capture d’écran 2024-08-13 à 12 10 13

is there any reason that [...] is not yet implemeted?

michaelnmmeyer commented 2 months ago

The display is [...] only if @unit and @quantity are not given, as in:

<gap reason="illegible"/>

The source code of the passage you refer to has:

<gap reason="illegible" unit="character" quantity="4"/>
arlogriffiths commented 2 months ago

thanks. my impression is that we may have meant "(regardless of the values of @reason, @unit and @quantity)" when we wrote EGD, but I'll leave it to @danbalogh to comment.

danbalogh commented 2 months ago

@arlogriffiths as per the EGD, just above the bit that you quote, <gap> in the translation div should normally be used with @reason but "without any further attributes", and the display suggestion of [...] applies to "gaps encoded in this way". So to get the display of [...] you must change your encoding by removing quantity and unit.

On the other hand, @michaelnmmeyer , as per the next few points of the EGD, if quantity and unit are present, then the display should be text in square brackets, not symbols.

arlogriffiths commented 2 months ago

Thanks. Meanwhile, my xml file has changed so I no longer have gaps in translation.

Michaël can close this when he has implemented the display of the second scenario.