diff --git a/plugin-designs/bless-india-posters/src/footer-verses.json b/plugin-designs/bless-india-posters/src/footer-verses.json index b967b20c7..4eb7ce01a 100644 --- a/plugin-designs/bless-india-posters/src/footer-verses.json +++ b/plugin-designs/bless-india-posters/src/footer-verses.json @@ -2,7 +2,7 @@ "_meta": { "reference": "Numbers 6:24-26", "source": "verbatim strict public-domain translations (ebible.org via bible.helloao.org)", - "display_normalizations": "display-only, no word or vowel change: ru sentence-initial capital; zh remove the ASCII space after the full stop between verses; pt drop mismatched outer quotes; ar alef-wasla to plain alef" + "display_normalizations": "display-only, no word or vowel change: ru sentence-initial capital; zh remove the ASCII space after the full stop between verses; pt drop mismatched outer quotes; ar alef-wasla to plain alef; ar ref uses Arabic-Indic digits + RLM after colon + en dash (matches the UPG-100 packet); ar verse quotes are « » guillemets" }, "es": { "text": "Jehová te bendiga, y te guarde: Haga resplandecer Jehová su rostro sobre ti, y haya de ti misericordia: Jehová alce á ti su rostro, y ponga en ti paz.", @@ -54,7 +54,7 @@ }, "ar": { "text": "يُبَارِكُكَ الرَّبُّ وَيَحْرُسُكَ. يُضِيءُ الرَّبُّ بِوَجْهِهِ عَلَيْكَ وَيَرْحَمُكَ. يَرْفَعُ الرَّبُّ وَجْهَهُ عَلَيْكَ وَيَمْنَحُكَ سَلَامًا.", - "ref": "العدد 6:24-26", + "ref": "العدد ٦:‏٢٤–٢٦", "dir": "rtl", "translation": "Arabic Van Dyck Bible", "licence": "public domain", diff --git a/plugin-designs/bless-india-posters/src/generators/poster-render.js b/plugin-designs/bless-india-posters/src/generators/poster-render.js index 6418623e4..5551f8f6e 100644 --- a/plugin-designs/bless-india-posters/src/generators/poster-render.js +++ b/plugin-designs/bless-india-posters/src/generators/poster-render.js @@ -2561,8 +2561,10 @@ async function renderPoster(zone, pins, zoneFC) { // so it is not double-quoted. const vRtl = !!(verse && verse.dir === 'rtl'); const vBracketed = /^[『「«“‘"']/.test(String((verse && verse.text) || '')); - const vqOpen = vBracketed ? '' : '“'; - const vqClose = vBracketed ? '' : '”'; + // Quote marks: Latin curly “ ” for LTR; Arabic guillemets « » for RTL verses (the Arabic convention, + // and it matches the UPG-100 packet). None when the text already opens with its own quote/bracket. + const vqOpen = vBracketed ? '' : (vRtl ? '«' : '“'); + const vqClose = vBracketed ? '' : (vRtl ? '»' : '”'); const vTextAttrs = vRtl ? ' direction="rtl" style="unicode-bidi:embed;"' : ''; const vRef = vRtl ? `⁨${esc(verse.ref)}⁩` : esc(verse.ref); // ── OSM STREET BASEMAP (city sheets only) ────────────────────────────────