QsTr in javascript file +translator.tr

  • hello i need translate this title: qsTr ("Alojamientos") +translator.tr in this javascript . but this broken when i put + translator.tr. Help for fix this!

    var mapCategoriesInfo = {
    "alojamiento" : {
    icon: "img/icono_alojamiento.png",
    bigicon: "img/iconoalojamiento.png",
    banner: "banners/_barraimagenalojimientos.png",
    sponsor: "video/touchbrc1044.mp4",
    auspicioseccion: "video/touchbrc1044.mp4",
    backcolor: "#C7E8FF",
    title: qsTr ("Alojamientos") + translator.tr

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.