Output renderer: Reverse the order of table columns when in RTL locale
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 1 Dec 2015 13:30:09 +0000 (14:30 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 2 Dec 2015 13:22:17 +0000 (14:22 +0100)
commit9e0f57b4182864026818ae1c0aa2ab4868c47d16
tree55e31080fd8f4a29ad7f70345dd3a936d2661349
parent6648c65e4574357f2f3b8d97ccd92ef0e77ad657
Output renderer:  Reverse the order of table columns when in RTL locale

When operating in a RTL locale, the last column of a table should be rendered
"first" (ie. leftmost).  This change achieves that.  In order to determine if
the locale is a RTL locale, a new translatable string is introduced.  This
string must be localised by the translator of the .po file for RTL locales. LTR
locales can leave it untranslated.

Reported by: Mohammad Haghighat <hosseinhg@hotmail.com>
src/output/render.c
src/output/render.h