Expose qsTr to the scripts, makes component error example work.

Change-Id: I73be2490182af8582b3e56b177e8ca26c950fa97
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>