ispras / lingvodoc-react

Apache License 2.0
7 stars 11 forks source link

Cognates alternative represent in xlsx #1106

Closed vmonakhov closed 4 months ago

vmonakhov commented 4 months ago

On dictionary saving into xlsx, transcription and translation are searched within related perspectives. These fields are searched by specific names. Big amount of perspectives has no typical named fields and cognates from such perspectives can't be represented in xlsx now.

vmonakhov commented 4 months ago

Fixed. Transcription and translation are searched first. If any of them was not found we get values of first two textual fields within related perspective. From there we get third textual field as well if it exists. Some cognates may not be represented if we did not find at least two fields for them.