Allowing translation of prev/next buttons

I was asked to allow title + translation of prev/next button. The simplest solution was to hack orbit.js. Here's the result (if it can help someone else).

Can be mixed with PHP translator tools passing translated string using data-options in HTML. 

IE for french :
<ul data-orbit data-options="prev_txt:<?php echo T_("Précédent"); ?>; next_txt:<?php echo T_("Suivant"); ?>; ">