Translation not added if comma in translation

Issue #1 new
digitalheir NA
created an issue

I have noticed that some translations in the wced_translation table contain empty strings: it seems like the common condition in these entries is the comma within the <tr> element of the entry. Does this work as intended?

_id: 7526 entryid: 8479

<entry page="430" id="8479"><form id="kamara_baxha" lang="ceb">kamara báha</form>
<hom role="n"><pos>n</pos>
<sense n="0"><trans> <tr>House of Representatives,</tr> the lower house of the Congress of the Philippines.
</trans>
</sense></hom></entry>

_id: 7534 entryid: 8486

<entry page="430" id="8486"><form id="kamaxug" lang="ceb">kamáug<sub>1</sub></form>
<hom role="n"><pos>n</pos>
<sense n="0"><trans> a mild <tr>cuss word,</tr> euphemism for <ix>kamatay</ix>, expressing disgust or anger over s.t. or s.o. </trans>
<eg><i lang="ceb">Kamáug, nahibilin man diay ang yáwi,</i><trans> Darn! I forgot the key.
</trans></eg>
</sense></hom></entry>

_id: 7831 entryid: 8815

<entry page="447" id="8815"><form id="karitixla" lang="ceb">karitíla</form>
<hom role="n"><pos>n</pos>
<sense n="1"><number>1</number><trans> <tr>calesa</tr>, k.o. <tr>horse-drawn cab,</tr> holding two passengers facing frontwards. </trans>
</sense>
<sense n="2"><number>2</number><trans> <xr lang="ceb" target="#karitilya">= <sc>karitilya</sc>.</xr> </trans>
</sense></hom>
<hom role="v"><pos>v</pos>
<sense n="0"> <itype>[A1]</itype><trans> </trans>
</sense>
<sense n="1"><number>1</number><trans> ride such a carriage. </trans>
</sense>
<sense n="2"><number>2</number><trans> <xr lang="ceb" target="#karitilya">= <sc>karitilya</sc>.</xr>
</trans>
</sense></hom></entry>

_id: 7997 entryid: 9002

<entry page="456" id="9002"><form id="katul2" lang="ceb">katul<sub>2</sub></form>
<hom role="n"><pos>n</pos>
<sense n="0"><trans> <tr>mosquito repellent,</tr> in coil form, burnt to give off smoke (from the brand name <ix>Katul</ix>). </trans>
</sense></hom>
<hom role="v"><pos>v</pos>
<sense n="0"> <itype>[A13]</itype><trans> burn a mosquito coil.
</trans>
</sense></hom></entry>

Comments (3)

  1. Log in to comment