Support and General Use > Theming and Appearance Customization
wps/sbs issue with tags in rtl languages
JdGordon:
hopefully the attached image clears it up a bit....
JdGordon:
Can you post the full wps? I have a feeling %ax and %aR are messing with eachother...
biengo:
Jd, the first example is indeed correctly drawn, also your explanation probably says it more clearly than my two posts:)
fml2, the %aR tag does not handle this differently than the %ar, %ac etcetera, I tried this extensively. If the tag is not the expected direction, it flips the order around.
Is there any more clarification needed to file a bug? I mean, the most difficult part is to explain the problem in a concise manner.
ps. the code is from a .sbs, the full line is
--- Code: ---%?Sr<%ac%t(3)%s%?it<%it|%fn> :%Sx(Now Playing);%ac%t(3)%s%?It<%It|%Fn> %Sx(Next Track:)|%ac%t(3)%s%Sx(Now Playing): %?it<%it|%fn>;%ac%t(3)%s%Sx(Next Track:) %?It<%It|%Fn>>
--- End code ---
the full sbs: http://pastebin.com/320V0fZb
edit: the initial post might make the impression that this only makes problems with id3-tags in rtl. but if I switch the tags around it brakes with ltr tags just as well:
--- Code: ---%Sx(Next Track:) %It
--- End code ---
[Saint]:
biengo,
Try using the "normal" alignment tags (%ar, %al, %ac etc.) and use the %ax tag to flip the text orientation indirectly by flipping the horizontal orientation of the entire viewport.
Here's an example:
--- Code: ---%ax%V(0,0,-,-,-)%Vf(000000)%Vb(FFFFFF)
%s%al%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>
--- End code ---
Doing it this way works fine for me in My FM/SB/WPSes.
There's a "problem" (I'll explain why I have put "problem" in quotes) with the %aR and %AL tags when using the %ax tag...
The thing is that %ax flips the viewports horizontal orientation, so %aR whilst inside a vieport with %ax defined is the equivalent of %al and vice versa with %aL.
I used to believe this was a bug, but when I thought about it, it is actually perfectly sane...and expected behaviour.
I hope the example I gave helps you to work through this problem, I felt like beating my head against a wall several times whilst trying to get my theme fully language aware and translated correctly.
[St.]
JdGordon:
something is still wrong. He isnt using %ax so %aR should be working as expected.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version