Footer verse: Arabic guillemets + Arabic-Indic reference digits (source)

rtl verses quoted « … » (Arabic convention, matches the UPG-100 packet);
ar reference in Arabic-Indic digits with RLM after the colon + en dash
(العدد ٦:٢٤–٢٦), FSI kept. Rebuild deferred — throttled, awaiting my turn.
This commit is contained in:
Doxa Maps 2026-10-03 05:14:37 +00:00
parent fa5721deb0
commit 9a435c9967
2 changed files with 6 additions and 4 deletions

View file

@ -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",

View file

@ -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) ────────────────────────────────