From 8f590568c80aa6e48342ecee62e36affb34d0f7d Mon Sep 17 00:00:00 2001 From: "Max S. Haberman" Date: Tue, 28 Apr 2020 22:39:36 -0400 Subject: [PATCH 1/2] Added right-to-left support for labels and hints --- baseline-decimal.fieldplugin.zip | Bin 3324 -> 3329 bytes source/manifest.json | 2 +- source/template.html | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/baseline-decimal.fieldplugin.zip b/baseline-decimal.fieldplugin.zip index 98b916c64920f23271a8f0d9303fcf6e94ed99eb..39bdd78bd4b8412b348e41cf43a2697a7cf07cd2 100644 GIT binary patch delta 1157 zcmew(*(k*u;LXe;!oUH9LYwAH%es5b%R_^Q! zIPyQwe$K9W-yha|%2_JA^+MMAFO4kIWTzZ#j^4B?En@L?%G~2P zbnm6&o37lAGs8V&pF6i$_KHv6*Ua;1)&KLq%vQGXdR>{4WAk{b#eookh3afElSOrI zUbOCPym6HE%;xv}vH{-g9B=2T7&5kNDmEDoCo@3LT0H6tA5W~j6z{{Y(P?DNkkds)Fs+Uocn-dzs%fMa$^nVc$ zgXq!A+&_`wv6b4EEnPjU zR?X_Yue$kcnz76drNwdiFG78$|I_J>#{qUNe5DORo#!hy#2suszz}o zpIUJC1F=^*_3PKJii=a5{Ia6T^529UGuwjm6P{}uSoL~_md<5ivrF7Cy}%{#hNok#a?qC#R=b@GG* z%s!VRHu<`^`1%g-2dmFCS}6bT&8WU&ugKM<6Kh(Lb(qgzxjvuUNH2Fc%fI6pVz#pI!X#gL-^2f^mlsTb&v@H;-9evw zPQBkJ+O>ZcIko?oLZt|!9-K{^&pcF6RTfaGxiGcx> zOar_bnM9c3c{Bi=8zxWZ)<({%lh1O?fK&b(ZfV(9z_ePNT$EW*qL)<+PSi-51fjj8OZA0A9wvr6*Xi?1CTM~}64PW^XoTC#n+ zdDDjSDvsMp!Ec_023`Ltkm&dL=+gHJ%{yNG-@MOvRbsP{sjBq(3ROM>QI{8;jMr0G zz01D%B`K5@GJbyZTaG!vo1G(ML-mdc3=9lsff(UnZJ>j{%X23K9h(BgKzg$xqZ=D@ zv{}*QEOvQrzQ2WWqCgC!H&0=AWUL2D1OQC{12;AX23`gQhLY6Wf}F&XRK1Ln+?>!5 zUIum~ZE>X)+zgB?-xwJffPuuouyjgp{$&G!^*yvomwJ<3)S~L_*Erew z$%c?k9BwPQ7VJoAl2l_o@^OXvk~eZjep~z&3FI+*9QFOP+Uf0~q-K7#Yj4cm7Vlb@ z{Q&hEQ>>}JJRUh~Gje0fPU;KeCn#x)AsEU`())(CL<{P@Kh-qxizk z7-r)Ko98arRaZIFuYTF%mrs8<@4EZ#fSq&L8i&<7ov(Ji?n!tc#Kz94E)qKBtxGoSo2RC)PHK{wBJxBDe8t97<4Dbn4cVj}gkVE&@irA9UxN#!Z(udcBjoI5GI zmurO!uane;&`7V;J{m!uJeG4&{>s9!BVA;^i{PB|i+&xEzcV|t@bG+i;9iq5Uf%X0z>+K)rGcM~+TeODf&PnzJ_U4mXOW%0BeS0xGdax -
{{{LABEL}}}
+
{{{LABEL}}}
{{#MEDIAIMAGE}} @@ -22,7 +22,7 @@ {{/MEDIAVIDEO}} -
{{{HINT}}}
+
{{{HINT}}}
{{#READONLY}} From a48d651d6c2d35f66fd26ab5584baa421f8bcd81 Mon Sep 17 00:00:00 2001 From: "Max S. Haberman" Date: Tue, 28 Apr 2020 22:48:39 -0400 Subject: [PATCH 2/2] Updated readme with RTL info --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 309930b..da36ad2 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ A simple replacement for the default decimal field, plus a few improvements (see In addition to supporting the default SurveyCTO features listed above, this field plug-in offers the following expanded functionality: +1. Support for RTL languages + If your *label* or *hint* is in a language that uses a right-to-left alphabet (like Arabic), it will be right-justified. 1. Support for HTML in field references If you reference another field's value in either the field *label* or field *hint*, and that referenced value contains HTML, the HTML will be correctly rendered.