added "rtl" text support to tooltips