Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4669 Lượt xem

Hi all,

I want to translate the strings of js file, translates them correctly if I'm logged in Odoo 8, when I close the session does not display strings translated, the code to perform the translation in the js file is:

var _t = openerp._t;

       var msg_1 = _t("Invalid email Please enter a valid email!")

 

$('.div_notificar_mensaje').show().text(msg_1);

 

and in the file .pot:

#. module: website_notificar_stock

#. openerp-web

#: code:addons/website_notificar_stock/static/src/js/notificar.js:14

#, python-format

msgid "Invalid email Please enter a valid email!"

msgstr "Correo electrónico incorrecto Por favor introduce un correo electrónico válido!"

Anyone see where you can be the problem, thanks and greetings

Carles Antolí

Ảnh đại diện
Huỷ bỏ