-Fix [FS#5972]: [OSX] Implement more of the text editing API to prevent crashes and improve IME support.

git-svn-id: http://svn.openttd.org/trunk@26758 6aa0318a-3be1-0310-93fa-89fd2396df07
-Update from WebTranslator v3.0:
italian - 50 changes by lorenzodv
spanish - 138 changes by juanjo


git-svn-id: http://svn.openttd.org/trunk@26759 6aa0318a-3be1-0310-93fa-89fd2396df07